emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Customizing agenda line format


From: Norbert Zeh
Subject: [Orgmode] Re: Customizing agenda line format
Date: Mon, 13 Sep 2010 18:15:30 -0300
User-agent: Mutt/1.5.18 (2008-05-17)

Matt Lundin [2010.09.13 1512 -0400]:
> Norbert Zeh <address@hidden> 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.

Well, I tried setting org-agenda-todo-keyword-format to "%0s", which
didn't work, but I didn't think about the above.  So I tried this now.
It does remove the todo keyword, but it does only that.  In particular,
there is now a space at the beginning of each line, which I assume is
simply the space in the headline that succeeds the todo keyword.  Any
way of getting rid of that?  Thanks for the pointer so far.

- Norbert



reply via email to

[Prev in Thread] Current Thread [Next in Thread]