emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-agenda-todo-ignore-scheduled setting not affecting custom agenda
@ 2010-04-28  9:38 Paul Mead
  2010-04-28 11:54 ` Matt Lundin
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Mead @ 2010-04-28  9:38 UTC (permalink / raw)
  To: emacs-orgmode

Hi

I've got some custom agendas set up, see the extract from my org config
file below.

If I use one of the built-in agenda comands, for instance C-c a t any
scheduled todos are omitted as expected. If I select any of my custom
agenda commands, they are not.

Any idea why this would be?

Thanks, Paul


;; Agenda settings

(setq org-agenda-start-with-log-mode t)
(setq org-agenda-include-diary t)
(setq org-agenda-ndays 1)
(setq org-agenda-start-on-weekday nil)
(setq org-agenda-tags-column 120)
(setq org-agenda-todo-ignore-scheduled 'all)
(setq org-agenda-todo-ignore-deadlines nil)
(setq org-enforce-todo-dependencies t)
(setq org-agenda-dim-blocked-tasks t)
(setq org-agenda-skip-deadline-if-done t)
(setq org-agenda-skip-scheduled-if-done t)
(setq org-agenda-skip-timestamp-if-done t)
(setq org-agenda-skip-unavailable-files t)
(setq org-agenda-window-setup 'current-window)
(setq org-archive-default-command 'org-archive-to-archive-sibling)
(setq org-agenda-prefix-format
     '((agenda . "  %-20:c%?-12t% s")
       (timeline . "  % s")
       (todo . "  %-20:c")
       (tags . "  %-20:c")
       (search . "  %-20:c")))
(setq org-agenda-todo-keyword-format "%-10s")

(setq org-agenda-custom-commands
           '(("a" "Custom block Agenda"
              ((agenda "")
               (todo "STARTED")
               (tags-todo "FOCUS/!-STARTED-WAITING"
                     ((org-agenda-todo-ignore-scheduled t)))))
             ("d" "DONE list" todo "DONE"
              ((org-agenda-todo-ignore-scheduled nil)
               (org-agenda-todo-ignore-with-date nil)
               (org-agenda-todo-ignore-deadlines nil)))
             ("p" "Project list" tags "project")
             ("c" "Call list" tags-todo "phone"
              ((ps-number-of-columns 1)
               (ps-landscape-mode t)
               (org-agenda-prefix-format " %-20:c [ ] " )
               (Orgae-agenda-with-colors nil)
               (org-agenda-remove-tags t))
              ("~/My Dropbox/calls.ps"))
             ("o" "In the office"
              ((tags-todo "@office")
               (tags-todo "online")
               (tags-todo "pc")
               (tags-todo "phone")
               (tags-todo "penpaper")
              ))
             ("h" "Working from home"
              ((tags-todo "wfh")
               (tags-todo "online")
               (tags-todo "pc")
               (tags-todo "phone")
               (tags-todo "penpaper")
               ))
             ("f" "FOCUS list" tags-todo "FOCUS"
              ((org-agenda-overriding-header "Focus actions:"))))
)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-agenda-todo-ignore-scheduled setting not affecting custom agenda
  2010-04-28  9:38 org-agenda-todo-ignore-scheduled setting not affecting custom agenda Paul Mead
@ 2010-04-28 11:54 ` Matt Lundin
  2010-04-28 13:50   ` Paul Mead
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Lundin @ 2010-04-28 11:54 UTC (permalink / raw)
  To: Paul Mead; +Cc: emacs-orgmode

Paul Mead <paul.d.mead@gmail.com> writes:

> If I use one of the built-in agenda comands, for instance C-c a t any
> scheduled todos are omitted as expected. If I select any of my custom
> agenda commands, they are not.

As far as I can see, there is only one custom command to which the
ignore option would apply: the todo "STARTED" search in "a" (the
custom block agenda). 

It looks as if most of your custom agenda commands are tags-todo
searches. Try the following setting:

(setq org-agenda-tags-todo-honor-ignore-options t)

Best,
Matt

>
> ;; Agenda settings
>
> (setq org-agenda-start-with-log-mode t)
> (setq org-agenda-include-diary t)
> (setq org-agenda-ndays 1)
> (setq org-agenda-start-on-weekday nil)
> (setq org-agenda-tags-column 120)
> (setq org-agenda-todo-ignore-scheduled 'all)
> (setq org-agenda-todo-ignore-deadlines nil)
> (setq org-enforce-todo-dependencies t)
> (setq org-agenda-dim-blocked-tasks t)
> (setq org-agenda-skip-deadline-if-done t)
> (setq org-agenda-skip-scheduled-if-done t)
> (setq org-agenda-skip-timestamp-if-done t)
> (setq org-agenda-skip-unavailable-files t)
> (setq org-agenda-window-setup 'current-window)
> (setq org-archive-default-command 'org-archive-to-archive-sibling)
> (setq org-agenda-prefix-format
>      '((agenda . "  %-20:c%?-12t% s")
>        (timeline . "  % s")
>        (todo . "  %-20:c")
>        (tags . "  %-20:c")
>        (search . "  %-20:c")))
> (setq org-agenda-todo-keyword-format "%-10s")
>
> (setq org-agenda-custom-commands
>            '(("a" "Custom block Agenda"
>               ((agenda "")
>                (todo "STARTED")
>                (tags-todo "FOCUS/!-STARTED-WAITING"
>                      ((org-agenda-todo-ignore-scheduled t)))))
>              ("d" "DONE list" todo "DONE"
>               ((org-agenda-todo-ignore-scheduled nil)
>                (org-agenda-todo-ignore-with-date nil)
>                (org-agenda-todo-ignore-deadlines nil)))
>              ("p" "Project list" tags "project")
>              ("c" "Call list" tags-todo "phone"
>               ((ps-number-of-columns 1)
>                (ps-landscape-mode t)
>                (org-agenda-prefix-format " %-20:c [ ] " )
>                (Orgae-agenda-with-colors nil)
>                (org-agenda-remove-tags t))
>               ("~/My Dropbox/calls.ps"))
>              ("o" "In the office"
>               ((tags-todo "@office")
>                (tags-todo "online")
>                (tags-todo "pc")
>                (tags-todo "phone")
>                (tags-todo "penpaper")
>               ))
>              ("h" "Working from home"
>               ((tags-todo "wfh")
>                (tags-todo "online")
>                (tags-todo "pc")
>                (tags-todo "phone")
>                (tags-todo "penpaper")
>                ))
>              ("f" "FOCUS list" tags-todo "FOCUS"
>               ((org-agenda-overriding-header "Focus actions:"))))
> )
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-agenda-todo-ignore-scheduled setting not affecting custom agenda
  2010-04-28 11:54 ` Matt Lundin
@ 2010-04-28 13:50   ` Paul Mead
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Mead @ 2010-04-28 13:50 UTC (permalink / raw)
  To: Matt Lundin; +Cc: emacs-orgmode

Thanks Matt, that did the trick. I didn't consider that tags-todo
might behave differently.

Cheers
Paul

On 28 April 2010 12:54, Matt Lundin <mdl@imapmail.org> wrote:
> Paul Mead <paul.d.mead@gmail.com> writes:
>
>> If I use one of the built-in agenda comands, for instance C-c a t any
>> scheduled todos are omitted as expected. If I select any of my custom
>> agenda commands, they are not.
>
> As far as I can see, there is only one custom command to which the
> ignore option would apply: the todo "STARTED" search in "a" (the
> custom block agenda).
>
> It looks as if most of your custom agenda commands are tags-todo
> searches. Try the following setting:
>
> (setq org-agenda-tags-todo-honor-ignore-options t)
>
> Best,
> Matt
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-28 13:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-28  9:38 org-agenda-todo-ignore-scheduled setting not affecting custom agenda Paul Mead
2010-04-28 11:54 ` Matt Lundin
2010-04-28 13:50   ` Paul Mead

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).