emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Get a list of tasks completed today


From: Sebastien Vauban
Subject: [O] Get a list of tasks completed today
Date: Thu, 13 Feb 2014 11:35:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt)

Hello,

To get a list of tasks which I've completed today, I guess we must have:

--8<---------------cut here---------------start------------->8---
  (setq org-log-done t) ; default
--8<---------------cut here---------------end--------------->8---

I mean: I guess it's more dangerous to try and play with the "state
changes" information stored in the LOGBOOK drawer as people can easily
modify them (see `org-log-note-headings').

Under the above assumption, the request becomes:

--8<---------------cut here---------------start------------->8---
(add-to-list 'org-agenda-custom-commands
             '("." "Completed today"
               ((todo "DONE|CANX"
                      ((org-agenda-skip-function '(org-agenda-skip-entry-if 
'notregexp "CLOSED: \\[2014-02-13"))
                       (org-agenda-sorting-strategy '(priority-down)))))) t)
--8<---------------cut here---------------end--------------->8---

... for today.

But how can I include today's date in a programmatic way (so that it
continues to work tomorrow ;-))?

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

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