[Top][All Lists]

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

Re: [O] how do I search state change dates?

From: Eric S Fraga
Subject: Re: [O] how do I search state change dates?
Date: Wed, 02 Jan 2019 14:59:03 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

On Tuesday,  1 Jan 2019 at 14:16, Christopher W. Ryan wrote:
> I try to keep track of books I want to read, and when I eventually read
> them.  I use TODO keyword for books I intend to read, and I change the
> state to READING and then DONE, as appropriate. Each state change gets a
> date/time stamp.


> How can I retrieve all the entries for the books I've read in 2018? In
> other words, all those that changed state to DONE in 2018?

Well, a start would be to use the agenda view on that file and ask for a
full log view (v L in the default dispatcher).

Alternatively, remember that org files are simply text so you could use
"M-x occur RET" on your file with a suitable pattern.  This seems to
work for me:

- State "DONE".*\[2018

Of course, if your book entries are intermixed with other entries in the
same file, you may need to be a bit more creating (e.g. include
"READING" in your pattern).

Eric S Fraga via Emacs 27.0.50, Org release_9.1.14-1035-gfeb442

reply via email to

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