From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Corneli Subject: Re: processing lines before display to agenda Date: Tue, 29 Jul 2014 18:19:44 +0100 Message-ID: References: <1EF5BE263F0F4353B8F3941A8A349AC6@hassandar.com> <87k36we1cz.fsf@bzg.ath.cx> <877g2w9otd.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45080) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCB49-0008AP-8w for emacs-orgmode@gnu.org; Tue, 29 Jul 2014 13:20:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCB43-0001l3-RA for emacs-orgmode@gnu.org; Tue, 29 Jul 2014 13:19:57 -0400 In-reply-to: <877g2w9otd.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org Bastien 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