emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: "Łukasz Stelmach" <lukasz.stelmach@iem.pw.edu.pl>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-todo-keywords-for-agenda missing if org-agenda-multi is set
Date: Tue, 16 Feb 2010 05:53:20 +0100	[thread overview]
Message-ID: <7651CCF2-2E0B-4A76-851F-47ECD41F7857@gmail.com> (raw)
In-Reply-To: <87zl3atpex.fsf@dasa3.iem.pw.edu.pl>


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

      reply	other threads:[~2010-02-16  4:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [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=7651CCF2-2E0B-4A76-851F-47ECD41F7857@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=lukasz.stelmach@iem.pw.edu.pl \
    /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).