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: Thu, 28 Nov 2013 17:27:56 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113392ec9c870604ec3f3456 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vm4SE-0006Db-C9 for emacs-orgmode@gnu.org; Thu, 28 Nov 2013 11:28:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vm4SD-0003az-Ds for emacs-orgmode@gnu.org; Thu, 28 Nov 2013 11:28:38 -0500 Received: from mail-vc0-x22d.google.com ([2607:f8b0:400c:c03::22d]:41782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vm4SD-0003Z9-AB for emacs-orgmode@gnu.org; Thu, 28 Nov 2013 11:28:37 -0500 Received: by mail-vc0-f173.google.com with SMTP id ia6so6095974vcb.32 for ; Thu, 28 Nov 2013 08:28:36 -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 --001a113392ec9c870604ec3f3456 Content-Type: text/plain; charset=UTF-8 Any ideas? On Wed, Nov 27, 2013 at 11:23 AM, Miro Bezjak wrote: > 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 >> > > --001a113392ec9c870604ec3f3456 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Any ideas?


On Wed, Nov 27, 2013 at 11:23 AM, Miro Bezjak <bezjak.miro@gmail.com> wrote:
Forgot to mention. I&#= 39;m using org-mode 8.2.2.

Regards,
Miro


On Wed, Nov 27, 2013 at 11:23 AM, Miro Bezjak <bezjak.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


--001a113392ec9c870604ec3f3456--