emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* skip scheduled if deadline *on other days*
@ 2015-08-26 21:12 Ken Mankoff
  2015-08-30 12:26 ` Show timestamps but not SCHEDULED Ken Mankoff
  0 siblings, 1 reply; 7+ messages in thread
From: Ken Mankoff @ 2015-08-26 21:12 UTC (permalink / raw)
  To: Org Mode


I'd like to not show SCHEDULED items in an agenda view if those same items have DEADLINES. 

I know of =org-agenda-skip-scheduled-if-deadline-is-shown=, but that seems to only work for items on the same day, and only if the DEADLINE is shown. Even if the DEADLINE isn't shown (farther in the future than the current agenda view), items should be skipped if DEADLINE exists. 

My current agenda is:

  (setq org-agenda-custom-commands
        '(
          ("c" "My Custom Agenda"
           (
            (agenda "" (
                       (org-agenda-overriding-header "Events")
                       (org-agenda-show-all-dates nil)
                       (org-agenda-ndays 10)
                       (org-agenda-skip-function '(org-agenda-skip-entry-if 'nottodo '("EVENT")))
		       ))
              ))))

Can someone advise how to modify this to get the behavior described above?

Thanks,

  -k.

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

end of thread, other threads:[~2015-09-10 17:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-26 21:12 skip scheduled if deadline *on other days* Ken Mankoff
2015-08-30 12:26 ` Show timestamps but not SCHEDULED Ken Mankoff
2015-08-30 15:34   ` Ken Mankoff
2015-08-30 20:09   ` Ken Mankoff
2015-09-10 16:33   ` Michael Brand
2015-09-10 16:51     ` Ken Mankoff
2015-09-10 17:06       ` Michael Brand

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).