From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: skip scheduled if deadline *on other days* Date: Wed, 26 Aug 2015 17:12:43 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUi04-0007zW-PV for emacs-orgmode@gnu.org; Wed, 26 Aug 2015 17:12:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUi00-000623-PP for emacs-orgmode@gnu.org; Wed, 26 Aug 2015 17:12:52 -0400 Received: from mail-qk0-x230.google.com ([2607:f8b0:400d:c09::230]:34590) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUi00-0005zH-Kj for emacs-orgmode@gnu.org; Wed, 26 Aug 2015 17:12:48 -0400 Received: by qkfh127 with SMTP id h127so127915028qkf.1 for ; Wed, 26 Aug 2015 14:12:45 -0700 (PDT) Received: from parma ([71.58.91.37]) by smtp.gmail.com with ESMTPSA id f63sm17194719qga.47.2015.08.26.14.12.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Aug 2015 14:12:44 -0700 (PDT) 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: 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.