From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-todo-keywords-for-agenda missing if org-agenda-multi is set Date: Tue, 16 Feb 2010 05:53:20 +0100 Message-ID: <7651CCF2-2E0B-4A76-851F-47ECD41F7857@gmail.com> References: <87zl3atpex.fsf@dasa3.iem.pw.edu.pl> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NhFR6-0001Mj-3G for emacs-orgmode@gnu.org; Mon, 15 Feb 2010 23:53:24 -0500 Received: from [140.186.70.92] (port=60167 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NhFR5-0001MZ-LO for emacs-orgmode@gnu.org; Mon, 15 Feb 2010 23:53:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NhFR4-0004b0-Tp for emacs-orgmode@gnu.org; Mon, 15 Feb 2010 23:53:23 -0500 Received: from ey-out-1920.google.com ([74.125.78.149]:1147) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhFR4-0004au-NN for emacs-orgmode@gnu.org; Mon, 15 Feb 2010 23:53:22 -0500 Received: by ey-out-1920.google.com with SMTP id 4so1795458eyg.34 for ; Mon, 15 Feb 2010 20:53:21 -0800 (PST) In-Reply-To: <87zl3atpex.fsf@dasa3.iem.pw.edu.pl> 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: =?UTF-8?Q?=C5=81ukasz_Stelmach?= Cc: emacs-orgmode@gnu.org On Feb 15, 2010, at 5:49 PM, =C5=81ukasz 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 =20 > 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 =20= > 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 =20 just use org-not-done-keywords and org-todo-keywords-1 in that function. - Carsten