emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Christopher W. Ryan" <cryan@binghamton.edu>
To: Org-mode mailing list <emacs-orgmode@gnu.org>
Subject: how do I search state change dates?
Date: Tue, 1 Jan 2019 14:16:27 -0500	[thread overview]
Message-ID: <5a27130f-1c88-8fee-cd9b-0d46c138e0d1@binghamton.edu> (raw)

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.

My preamble is:

#+TODO: TODO(t!) READING(r!) POSTPONED(p!) RESTARTED(s!) | DONE(d!)
NA(n!) ABANDONED(a!)


An entry for a book not yet read might look like this:

** TODO America: the Farewell Tour
   :PROPERTIES:
   :AUTHORLNAME: Hedges
   :AUTHORFNAME: Chris
   :ISBN: 9781501152672
   :DATEADDED: <2018-10-10 Wed>
   :END:

An entry for a book I've read might look like this:

** DONE Northland
   - State "DONE"       from "READING"    [2018-10-21 Sun 22:45]
   - State "READING"    from "TODO"       [2018-10-08 Mon 22:09]
   :PROPERTIES:
   :AUTHORLNAME: Fox
   :AUTHORFNAME: Porter
   :ISBN: 9780393248852
   :DATEADDED: <2018-10-07 Sun>
   :END:


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?

Thanks.

--Chris Ryan

             reply	other threads:[~2019-01-01 19:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-01 19:16 Christopher W. Ryan [this message]
2019-01-02 14:59 ` how do I search state change dates? Eric S Fraga
2019-01-02 19:24 ` Michael Welle
2019-01-12 23:43   ` Christopher W. Ryan
2019-01-13  6:02     ` Michael Welle

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=5a27130f-1c88-8fee-cd9b-0d46c138e0d1@binghamton.edu \
    --to=cryan@binghamton.edu \
    --cc=emacs-orgmode@gnu.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).