emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-todo-keywords-for-agenda missing if org-agenda-multi is set
@ 2010-02-15 16:49 Łukasz Stelmach
  2010-02-16  4:53 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Łukasz Stelmach @ 2010-02-15 16:49 UTC (permalink / raw)
  To: emacs-orgmode

Hello.

I'am trying to add `todo' and `nottodo' options to org-agenda-skip-if.
Unfortunately I've found that org-todo-keywords-for-agenda (which seems
to be the best source) is nil if org-prepare-agenda gets called when
org-agenda-multi is set (which "fortunately" seems to be the case for
block agendas which I try to shape up). Is it possible (without too much
coding) to get a list of todo/done keywords when creating multipart
(block) agenda?

-- 
Miłego dnia,
Łukasz Stelmach

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: org-todo-keywords-for-agenda missing if org-agenda-multi is set
  2010-02-15 16:49 org-todo-keywords-for-agenda missing if org-agenda-multi is set Łukasz Stelmach
@ 2010-02-16  4:53 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2010-02-16  4:53 UTC (permalink / raw)
  To: Łukasz Stelmach; +Cc: emacs-orgmode


On Feb 15, 2010, at 5:49 PM, Łukasz Stelmach wrote:

> Hello.
>
> I'am trying to add `todo' and `nottodo' options to org-agenda-skip-if.
> Unfortunately I've found that org-todo-keywords-for-agenda (which  
> seems
> to be the best source) is nil if org-prepare-agenda gets called when
> org-agenda-multi is set (which "fortunately" seems to be the case for
> block agendas which I try to shape up). Is it possible (without too  
> much
> coding) to get a list of todo/done keywords when creating multipart
> (block) agenda?

Hi Lukasz,

org-agenda-skip-if is always used in the relevant buffer, so you can  
just use org-not-done-keywords and org-todo-keywords-1 in that function.

- Carsten

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-16  4:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-15 16:49 org-todo-keywords-for-agenda missing if org-agenda-multi is set Łukasz Stelmach
2010-02-16  4:53 ` Carsten Dominik

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).