Michael Gilbert <m...@gilbert.org> 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


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to