emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Michael Gilbert <mcg@gilbert.org>
Cc: org-mode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: two custom agenda view questions
Date: Wed, 23 Sep 2009 23:05:14 -0400	[thread overview]
Message-ID: <87hbutjb4l.fsf@fastmail.fm> (raw)
In-Reply-To: <21E13E24-1782-499E-99B5-E58BA38D237D@gilbert.org> (Michael Gilbert's message of "Wed, 23 Sep 2009 16:14:16 -0700")

Michael Gilbert <mcg@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

  reply	other threads:[~2009-09-24  3:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-23 23:14 two custom agenda view questions Michael Gilbert
2009-09-24  3:05 ` Matt Lundin [this message]
     [not found]   ` <45063E9A-B5D0-44BC-A9F3-799B5492AECB@gilbert.org>
2009-09-24 15:59     ` Matthew Lundin

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hbutjb4l.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=mcg@gilbert.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).