From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miro Bezjak Subject: Re: multiple agenda custom commands causes tag-filter-preset not to work? Date: Wed, 27 Nov 2013 11:23:40 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11333c220845fc04ec260081 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlcIB-0001nt-Is for emacs-orgmode@gnu.org; Wed, 27 Nov 2013 05:24:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlcI8-00026N-Qw for emacs-orgmode@gnu.org; Wed, 27 Nov 2013 05:24:23 -0500 Received: from mail-ve0-x236.google.com ([2607:f8b0:400c:c01::236]:50188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlcI8-00026H-KT for emacs-orgmode@gnu.org; Wed, 27 Nov 2013 05:24:20 -0500 Received: by mail-ve0-f182.google.com with SMTP id jy13so5038727veb.13 for ; Wed, 27 Nov 2013 02:24:20 -0800 (PST) In-Reply-To: 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 --001a11333c220845fc04ec260081 Content-Type: text/plain; charset=UTF-8 Forgot to mention. I'm using org-mode 8.2.2. Regards, Miro On Wed, Nov 27, 2013 at 11:23 AM, Miro Bezjak wrote: > 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 > --001a11333c220845fc04ec260081 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Forgot to mention. I'm using org-mode 8.2.2.
<= br>Regards,
Miro


On Wed, Nov 27, 2013 at 11:23 AM, Miro Bezjak <b= ezjak.miro@gmail.com> wrote:
Hi all,

consider the= following configuration:

---------------------------------------- (setq org-agenda-custom-commands
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 '((&= quot;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

--001a11333c220845fc04ec260081--