From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: Customizing agenda line format Date: Mon, 13 Sep 2010 15:12:22 -0400 Message-ID: <878w35v4o9.fsf@archeee.localdomain> References: <20100913134826.GU4640@cs.dal.ca> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=36802 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvES1-0006t4-LU for emacs-orgmode@gnu.org; Mon, 13 Sep 2010 15:12:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OvES0-0005r4-JD for emacs-orgmode@gnu.org; Mon, 13 Sep 2010 15:12:25 -0400 Received: from out2.smtp.messagingengine.com ([66.111.4.26]:50335) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OvES0-0005qv-HM for emacs-orgmode@gnu.org; Mon, 13 Sep 2010 15:12:24 -0400 In-Reply-To: <20100913134826.GU4640@cs.dal.ca> (Norbert Zeh's message of "Mon, 13 Sep 2010 10:48:26 -0300") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Norbert Zeh Cc: Org Mode Mailing List Norbert Zeh writes: > Is there a way to freely customize the format of lines in the weekly > agenda or todo list. ... > I have a bunch of todo items that have a special todo state, say SPECIAL. > I don't want those included in my weekly agenda, but rather have a block > agenda where one of the blocks lists all todo items with todo state > SPECIAL. Clearly, since this block includes only items that are > SPECIAL, listing this tag at the beginning of each entry's line is > redundant information. So I'd like to remove the TODO state. For > example, the org file entry > > * SPECIAL Call mom > > should appear simply as > > Call mom > > in that block of my agenda. Can this be done? Check out the variable org-agenda-todo-keyword-format. E.g., --8<---------------cut here---------------start------------->8--- (setq org-agenda-custom-commands '(("x" "Special" todo "SPECIAL" ((org-agenda-todo-keyword-format ""))))) --8<---------------cut here---------------end--------------->8--- The variable org-agenda-prefix-format might also be of interest. Best, Matt