emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eraldo Helal <eraldo@eraldo.at>
To: Org-Mode <emacs-orgmode@gnu.org>
Subject: use todo-keyword to assign category
Date: Mon, 19 Oct 2009 02:40:19 +0200	[thread overview]
Message-ID: <938fae2d0910181740o1aa9b373x951c852a321c7fed@mail.gmail.com> (raw)

ISSUE:

I have a keyword "CATEGORY" which I use on headlines to make me aware
that they define a category for everything below them.

example:
file: school.org
* CATEGORY English
#+CATEGORY: English
** PROJECT presentation "org-mode"
*** TODO call Tom: beamer
*** TODO search pictures
** TODO homework p. 42
* CATEGORY Math
#+CATEGORY: Math
** TODO homework sheet Nr. 4
...

Is it possible to let emacs know that every headline with the
"CATEGORY" todo-keyword should be used as a category?
> If not... I think it would be a great feature to add!

ADVANTAGES:

this would bring the following advantages:
- I would not have to add "#+CATEGORY:" nor type the same words as the
headline after it
- I could define a category by using my todo-keyword menu. with
shortcuts and fast selection!
- I could use the agenda view to get a list of all categories defined
in that way... and be able to filter them!

WORKAROUND:

Until then I have to add "#+CATEGORY: <repeat headline words>" on
every such headline and be aware that changing the headline does not
change the category wording.

> PROBLEM: more work, redundant

or

use the "CATEGORY" todo-keyword without "#+CATEGORY"
> this however would result in the following Agenda buffer for our example:
school: TODO call Tom: beamer
school: TODO search pictures
school: TODO homework p. 42
school: TODO homework sheet Nr. 4

> PROBLEM: agenda buffer unclear (school is not precise enough)


Any ideas on how to get there or feedback on the idea?

Greetings from Austria,
Eraldo

             reply	other threads:[~2009-10-19  0:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-19  0:40 Eraldo Helal [this message]
2009-10-19  2:10 ` use todo-keyword to assign category James TD Smith
2009-10-19 23:55   ` Eraldo Helal
2009-10-20  1:09     ` James TD Smith
2009-10-20  1:49       ` Eraldo Helal

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=938fae2d0910181740o1aa9b373x951c852a321c7fed@mail.gmail.com \
    --to=eraldo@eraldo.at \
    --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).