all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ken Mankoff <mankoff@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: skip scheduled if deadline *on other days*
Date: Wed, 26 Aug 2015 17:12:43 -0400	[thread overview]
Message-ID: <m2si75g3ec.fsf@gmail.com> (raw)


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.

             reply	other threads:[~2015-08-26 21:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-26 21:12 Ken Mankoff [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2si75g3ec.fsf@gmail.com \
    --to=mankoff@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.