From: Joe Corneli <holtzermann17@gmail.com>
To: emacs-orgmode@gnu.org
Subject: processing lines before display to agenda
Date: Tue, 29 Jul 2014 16:13:08 +0100 [thread overview]
Message-ID: <m2fvhkkxkr.fsf@gmail.com> (raw)
In-Reply-To: 87k36we1cz.fsf@bzg.ath.cx
I would find it quite useful to have a variable similar to
`org-agenda-prefix-format' that would apply changes to the *contents*,
rather than to the *prefix* of agenda items.
The nice thing about `org-agenda-prefix-format' is that it allows
different formatting for different agenda buffers. Similarly, it would
be useful to be able to supply different functions to alter the agenda
items themselves, depending on the context.
I was thinking that in theory this could be done by advising
`org-agenda-format-item', but I'm not sure how to get the advice to
apply in a conditional way depending on the agenda.
There was a similar discussion related to the specific case of removing
TODO keywords from certain agendas,
https://lists.gnu.org/archive/html/emacs-orgmode/2010-09/msg00810.html
So, for example: to hide TODO keywords from the agenda:
(setq org-agenda-custom-commands
'(("a" agenda ""
((org-agenda-todo-keyword-format "")))))
But what if, for example, I would like to remove priorities cookies as
well?
next prev parent reply other threads:[~2014-07-29 15:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-26 14:56 [Mac OS X] - Capture items not clocking-out upon refile Hassan Dar
2014-07-27 11:29 ` Bastien
2014-07-28 18:09 ` Hassan Dar
2014-07-29 13:33 ` Bastien
2014-07-29 15:13 ` Joe Corneli [this message]
2014-07-29 15:17 ` processing lines before display to agenda Bastien
2014-07-29 17:19 ` Joe Corneli
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2fvhkkxkr.fsf@gmail.com \
--to=holtzermann17@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 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.