emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Agenda view and timestamps


From: Bastien
Subject: Re: [Orgmode] Agenda view and timestamps
Date: Mon, 16 Aug 2010 20:23:38 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)

Hi Julien,

julien cubizolles <address@hidden> writes:

> Is there a way to make the agenda view display only the entries with a
> timestamp ? I would need that for a block agenda.

,----
| (setq org-agenda-custom-commands
|       '(("d" "With timestamps" agenda "List of tasks with a timestamp"
|          ((org-agenda-skip-function
|            (lambda ()
|              (let* ((ts (org-entry-get nil "TIMESTAMP")))
|                (if (or (not ts) (equal ts ""))
|                    (progn (outline-next-heading) (point))))))))))
`----

Not tested but it should work.

-- 
 Bastien



reply via email to

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