emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to treat events (headlines) without a title?


From: Nick Dokos
Subject: Re: How to treat events (headlines) without a title?
Date: Tue, 01 Oct 2024 13:49:20 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

mbork@mbork.pl writes:

> Hi fellow Orgers,
>
> I have a bunch of entries in my agenda that don't have /titles/.  I
> enrolled in a school which has classes on Saturdays, usually every two
> weeks, but this is not very rigid.  So I need a separate headline per
> Saturday:
>
> ** School on Super Important Stuff
> **** <2024-10-05 Sat 09:30>
> **** <2024-10-19 Sat 09:30>
> **** <2024-11-16 Sat 09:30>
>
> However, they show up like this in my agenda:
>
> Saturday    5 October 2024
>   personal:    9:30...... 
>
> As I said, there is no clear "subject" or "title" of every class day.
> Are there any ways (e.g., properties) I could put there so that my
> agenda looks better, for example contains "School on Super Important
> Stuff" as the title of the 2024-10-05 entry?
>
> TIA,

You can add a CATEGORY property and that will replace the `personal' but
it still won't provide a headline:

--8<---------------cut here---------------start------------->8---
** School on Super Important Stuff
:PROPERTIES:
:CATEGORY: School on Super Important Stuff
:END:
**** <2024-10-05 Sat 09:30>
**** <2024-10-19 Sat 09:30>
**** <2024-11-16 Sat 09:30>
--8<---------------cut here---------------end--------------->8---

The agenda would show something like this:

--8<---------------cut here---------------start------------->8---
Saturday    5 October 2024
  appts:       6:48 ┄┄┄┄┄ Sunrise 
  School on Super Important Stuff: 9:30 ┄┄┄┄┄ 
--8<---------------cut here---------------end--------------->8---

If you wanted it aligned, you'd have to change
`org-agenda-prefix-format' to give the category a bigger width
(or use a shorter CATEGORY value).

-- 
Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]