emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: How to treat events (headlines) without a title?
Date: Tue, 01 Oct 2024 13:49:20 -0400	[thread overview]
Message-ID: <87v7ybbtnj.fsf@pierrot.dokosmarshall.org> (raw)
In-Reply-To: 87y13lek5k.fsf@mbork.pl

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



      parent reply	other threads:[~2024-10-01 17:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v7ybbtnj.fsf@pierrot.dokosmarshall.org \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).