From: Ken Mankoff <mankoff@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: Show timestamps but not SCHEDULED
Date: Sun, 30 Aug 2015 08:26:53 -0400 [thread overview]
Message-ID: <m2si71rmgi.fsf@gmail.com> (raw)
In-Reply-To: <m2si75g3ec.fsf@gmail.com>
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.
next prev parent reply other threads:[~2015-08-30 12:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-26 21:12 skip scheduled if deadline *on other days* Ken Mankoff
2015-08-30 12:26 ` Ken Mankoff [this message]
2015-08-30 15:34 ` Show timestamps but not SCHEDULED 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=m2si71rmgi.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.