From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Show timestamps but not SCHEDULED Date: Sun, 30 Aug 2015 08:26:53 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZW1hU-0006tv-5C for emacs-orgmode@gnu.org; Sun, 30 Aug 2015 08:27:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZW1hQ-0000j8-4b for emacs-orgmode@gnu.org; Sun, 30 Aug 2015 08:27:08 -0400 Received: from mail-qk0-x22b.google.com ([2607:f8b0:400d:c09::22b]:33262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZW1hP-0000im-JT for emacs-orgmode@gnu.org; Sun, 30 Aug 2015 08:27:04 -0400 Received: by qkch123 with SMTP id h123so49864262qkc.0 for ; Sun, 30 Aug 2015 05:26:56 -0700 (PDT) Received: from parma.local ([71.58.91.37]) by smtp.gmail.com with ESMTPSA id r5sm6893166qkr.26.2015.08.30.05.26.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Aug 2015 05:26:55 -0700 (PDT) In-reply-to: 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 Hi List, I have a class of TODO items (I call them EVENTS). These all have timestamps. Sometimes they have SCHEDULED or DEADLINE timestamps too. I'd like a custom agenda view that shows these EVENTS based on their timestamp, but not the SCHEDULED or DEADLINE timestamps. Is this possible? Example item: * EVENT Foo SCHEDULED: <2015-09-03> <2015-09-04> My current setup is: (setq org-agenda-custom-commands '( ("e" "Event List" ( (agenda "" ( (org-agenda-overriding-header "Events") (org-agenda-show-all-dates t) (org-agenda-ndays 30) (org-agenda-skip-function '(org-agenda-skip-entry-if 'nottodo '("EVENT") 'done)) ;;(org-agenda-skip-function '(org-agenda-skip-entry-if 'scheduled 'nottodo '("EVENT") 'done)) )))))) As it is, I see SCHEDULED. If I swap the comment on the last two lines, then I don't see SCHEDULED, but I don't see the event at all either, which is more problematic. I think the solution here might be to add a function to org-agenda-finalize-hook that removes lines with SCHEDULED or DEADLINE? Does this sound like the correct approach to the better Org hackers on this list? I am basing this approach on the code that removes empty sections of the Agenda: https://lists.gnu.org/archive/html/emacs-orgmode/2015-06/msg00266.html Thanks, -k.