From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miro Bezjak Subject: multiple agenda custom commands causes tag-filter-preset not to work? Date: Wed, 27 Nov 2013 11:23:05 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e011770f1f952f004ec25fde9 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlcHe-0001FU-S5 for emacs-orgmode@gnu.org; Wed, 27 Nov 2013 05:23:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlcHa-0001xM-Ei for emacs-orgmode@gnu.org; Wed, 27 Nov 2013 05:23:50 -0500 Received: from mail-vb0-x230.google.com ([2607:f8b0:400c:c02::230]:57764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlcHa-0001x3-9x for emacs-orgmode@gnu.org; Wed, 27 Nov 2013 05:23:46 -0500 Received: by mail-vb0-f48.google.com with SMTP id x16so4658987vbf.7 for ; Wed, 27 Nov 2013 02:23:45 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --089e011770f1f952f004ec25fde9 Content-Type: text/plain; charset=UTF-8 Hi all, consider the following configuration: ---------------------------------------- (setq org-agenda-custom-commands '(("h" "home" ((agenda "" ((org-agenda-span 'day) (org-agenda-tag-filter-preset '("-work")))) (alltodo))))) ---------------------------------------- It appears that `org-agenda-tag-filter-preset' does not work when I define multiple commands under one. The agenda is rendered as if filter was never set. On the other hand, if I remove `(alltodo)', thus defining only the agenda, then the filter works without problems. Any ideas? Regards, Miro --089e011770f1f952f004ec25fde9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all,

consider the following configuration:
----------------------------------------
(setq org-agenda-custom-comma= nds
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 '(("h" "home"=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ((agenda "" = ((org-agenda-span 'day)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (org-agenda-tag-filter-= preset '("-work"))))
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (alltodo)))))
---------------------------------------= -

It appears that `org-agenda-tag-filter-preset' does not work w= hen I define
multiple commands under one. The agenda is rendered as if filter was never= set.

On the other hand, if I remove `(alltodo)', thus defining = only the agenda, then
the filter works without problems.

Any idea= s?

Regards,
Miro
--089e011770f1f952f004ec25fde9--