emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: two custom agenda view questions


From: Matt Lundin
Subject: [Orgmode] Re: two custom agenda view questions
Date: Wed, 23 Sep 2009 23:05:14 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Michael Gilbert <address@hidden> writes:

> Still too much of a newbie to figure this out on my own. I get lost in
> the Lisp still.
>
> (1) I want to define a custom agenda view that displays only those
> tasks that have today as a deadline or are past-due. Since many of my
> tasks also have scheduled timestamps, sometimes these end up being the
> same day. It looks to me as if they will be left out if I skip
> scheduled items, even if they also have a current deadline. How can I
> finesse this?

--8<---------------cut here---------------start------------->8---
(setq org-agenda-custom-commands
      '(("d" "Due today" agenda ""
         ((org-deadline-warning-days 1)
          (org-agenda-skip-scheduled-if-deadline-is-shown t)
          (org-agenda-skip-function '(org-agenda-skip-entry-if 
'notdeadline))))))
--8<---------------cut here---------------end--------------->8---

> (2) Eventually, I want to create a DONE log of copies of items as they
> get finished, with contextual data retained. But for right now, all I
> want is to be able to switch to an agenda view of tasks that were
> complete today. I've tried a few ideas that seemed like low-hanging
> fruit here, but no luck.

Type "l" in the agenda for log mode.

- Matt




reply via email to

[Prev in Thread] Current Thread [Next in Thread]