Re: [O] multiple agenda custom commands causes tag-filter-preset not to work?

2014-01-04 Thread Bastien
Miro Bezjak bezjak.m...@gmail.com writes:

 I've implemented the solution to my problem by using
 `agenda-skip-entry-if' instead of `org-agenda-tag-filter-preset'.

Thanks for sharing your solution!

Best,

-- 
 Bastien



Re: [O] multiple agenda custom commands causes tag-filter-preset not to work?

2013-12-07 Thread Miro Bezjak
Hi Bastien,

thank you for the explanation.

I've implemented the solution to my problem by using `agenda-skip-entry-if'
instead of `org-agenda-tag-filter-preset'.

Example:

(setq org-agenda-custom-commands
  '((h home
 ((agenda  ((org-agenda-span 'day)
  (org-agenda-skip-function '(org-agenda-skip-entry-if
'regexp :work:
  (alltodo)


Kind Regards,
Miro



On Fri, Dec 6, 2013 at 3:30 PM, Bastien b...@gnu.org wrote:

 Hi Miro,

 Miro Bezjak bezjak.m...@gmail.com writes:

  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.

 Yes, that's by design -- or more precisely, by lack of a good way to
 filter agenda blocks.

 HTH,

 --
  Bastien



Re: [O] multiple agenda custom commands causes tag-filter-preset not to work?

2013-12-06 Thread Bastien
Hi Miro,

Miro Bezjak bezjak.m...@gmail.com writes:

 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.

Yes, that's by design -- or more precisely, by lack of a good way to
filter agenda blocks.

HTH,

-- 
 Bastien



Re: [O] multiple agenda custom commands causes tag-filter-preset not to work?

2013-11-28 Thread Miro Bezjak
Any ideas?


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

 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





Re: [O] multiple agenda custom commands causes tag-filter-preset not to work?

2013-11-28 Thread Bastien
Hi Miro,

Miro Bezjak bezjak.m...@gmail.com writes:

 Any ideas?

Please be patient -- your first post is 30 hours old, people are
not ignoring it, they seem just too busy right now.

-- 
 Bastien



[O] multiple agenda custom commands causes tag-filter-preset not to work?

2013-11-27 Thread Miro Bezjak
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


Re: [O] multiple agenda custom commands causes tag-filter-preset not to work?

2013-11-27 Thread Miro Bezjak
Forgot to mention. I'm using org-mode 8.2.2.

Regards,
Miro


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