emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: emacs-orgmode@gnu.org
Subject: Re: higher level headline as category
Date: Fri, 08 May 2009 14:40:13 +0200	[thread overview]
Message-ID: <87r5yzzs2a.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: 938fae2d0905080406r2207f925q49a735e5b9f1a483@mail.gmail.com

Eraldo Helal <eraldo@eraldo.at> writes:

> In my custom agenda: Is there a way to get the higher(by1level)
> *headline as prefix*?

No, not that I know of.  But you can use the :CATEGORY: property.

> test1.org:
>
> * headline1
    :PROPERTIES:
    :CATEGORY: headline1
    :END:

> ** TODO headline2
> ** TODO headline3
>
> test2.org:

Well, here it's a bit inconvenient.

> * headline4
    :PROPERTIES:
    :CATEGORY: headline4
    :END:

> ** headline5
    :PROPERTIES:
    :CATEGORY: headline5
    :END:

> *** TODO headline 6
> ** TODO headline 7        :tag1:
>
> agenda:
>
> headline1    TODO headline2
> headline1    TODO headline3
> headline4    TODO headline7        :tag1:
> headline5    TODO headline6

I think that should give the desired results, but for deeper structures
always adding a property is really inconvenient.  Once I used properties
quite intensively, but after a while I switched to using tags and
categories only for distinguishing private from work related things (and
there the categories are the org file names).

Bye,
Tassilo

  reply	other threads:[~2009-05-08 12:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-08 11:06 higher level headline as category Eraldo Helal
2009-05-08 12:40 ` Tassilo Horn [this message]
2009-05-09 12:23   ` Eraldo Helal
2009-05-09 12:29     ` Tassilo Horn

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=87r5yzzs2a.fsf@thinkpad.tsdh.de \
    --to=tassilo@member.fsf.org \
    --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).