From: Rainer Stengele <rainer.stengele@diplan.de>
To: Bastien <bastien.guerry@wikimedia.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: how to filter CATEGORY entries in org-agenda-custom command (agenda)?
Date: Tue, 22 Feb 2011 14:40:56 +0100 [thread overview]
Message-ID: <4D63BCE8.5080503@diplan.de> (raw)
In-Reply-To: <87oc6iyi8b.fsf@gnu.org>
Am 11.02.2011 11:32, schrieb Bastien:
> Hi Rainer,
>
> Rainer Stengele <rainer.stengele@diplan.de> writes:
>
>> how to filter CATEGORY entries in org-agenda-custom command (agenda)?
> You can do this by setting `org-agenda-skip-function' to a function
> that matches CATEGORY. You can find a subtree's category through
>
> (org-entry-get (point) "CATEGORY")
>
> HTH,
>
Hi Bastien,
I am in the middle of my org file, having a
#+CATEGORY: TEST
in line 1 of the file. Putting the code
(org-entry-get (point) "CATEGORY")
in the middle of my file under any headline and evaluating it gives me "nil".
Shouldn't the code give me "TEST"?
- Rainer
next prev parent reply other threads:[~2011-02-22 13:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-21 15:56 how to filter CATEGORY entries in org-agenda-custom command (agenda)? Rainer Stengele
2011-02-11 10:32 ` Bastien
2011-02-22 13:40 ` Rainer Stengele [this message]
2011-02-22 15:05 ` Sébastien Vauban
2011-02-26 9:27 ` Bastien
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=4D63BCE8.5080503@diplan.de \
--to=rainer.stengele@diplan.de \
--cc=bastien.guerry@wikimedia.fr \
--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).