all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to treat events (headlines) without a title?
@ 2024-09-21  3:54 mbork
  2024-09-22 17:28 ` Ihor Radchenko
  2024-10-01 17:49 ` Nick Dokos
  0 siblings, 2 replies; 3+ messages in thread
From: mbork @ 2024-09-21  3:54 UTC (permalink / raw)
  To: Org-Mode mailing list

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,

-- 
Marcin Borkowski
https://mbork.pl
https://crimsonelevendelightpetrichor.net/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to treat events (headlines) without a title?
  2024-09-21  3:54 How to treat events (headlines) without a title? mbork
@ 2024-09-22 17:28 ` Ihor Radchenko
  2024-10-01 17:49 ` Nick Dokos
  1 sibling, 0 replies; 3+ messages in thread
From: Ihor Radchenko @ 2024-09-22 17:28 UTC (permalink / raw)
  To: mbork; +Cc: Org-Mode mailing list

mbork@mbork.pl writes:

> 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?

Check out breadcrumbs in `org-agenda-prefix-format'.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to treat events (headlines) without a title?
  2024-09-21  3:54 How to treat events (headlines) without a title? mbork
  2024-09-22 17:28 ` Ihor Radchenko
@ 2024-10-01 17:49 ` Nick Dokos
  1 sibling, 0 replies; 3+ messages in thread
From: Nick Dokos @ 2024-10-01 17:49 UTC (permalink / raw)
  To: emacs-orgmode

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-10-01 17:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-21  3:54 How to treat events (headlines) without a title? mbork
2024-09-22 17:28 ` Ihor Radchenko
2024-10-01 17:49 ` Nick Dokos

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.