From: Joe Corneli <holtzermann17@gmail.com>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: processing lines before display to agenda
Date: Tue, 29 Jul 2014 18:19:44 +0100 [thread overview]
Message-ID: <m2d2cokrpr.fsf@gmail.com> (raw)
In-Reply-To: <877g2w9otd.fsf@bzg.ath.cx>
Bastien <bzg@gnu.org> writes:
> I would simply hack the agenda display through a function in
> `org-agenda-finalize-hook'.
>
> You'd rather hide 10 priority cookies from there instead of letting
> `org-agenda-format-item' process possibly thousands of entries.
Thanks for the tip! I already use that for something else similar, it's
funny that it didn't occur to me here. Will copy and modify my own
code:
~~
;; Right-justifying tags in the agenda buffer
(add-hook 'org-finalize-agenda-hook 'place-agenda-tags)
(defun place-agenda-tags ()
"Put the agenda tags by the right border of the agenda window."
(let ((org-agenda-tags-column (- 4 (window-width))))
(org-agenda-align-tags)))
~~
Cheers,
Joe
prev parent reply other threads:[~2014-07-29 17:20 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 ` processing lines before display to agenda Joe Corneli
2014-07-29 15:17 ` Bastien
2014-07-29 17:19 ` Joe Corneli [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=m2d2cokrpr.fsf@gmail.com \
--to=holtzermann17@gmail.com \
--cc=bzg@gnu.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).