diff --git a/elisp/chronometrist.el b/elisp/chronometrist.el index 763cfce..717f946 100644 --- a/elisp/chronometrist.el +++ b/elisp/chronometrist.el @@ -889,7 +889,7 @@ Return path of new file if successfully created, and nil if it already exists.") ;; [[file:chronometrist.org::*latest-date-records][latest-date-records:1]] (cl-defgeneric chronometrist-latest-date-records (backend) - "Return intervals of latest day in BACKEND as a tagged list (\"DATE\" PLIST*). + "Return intervals of latest day in BACKEND as a tagged list (\"DATE\" [ ]* PLIST+). Return nil if BACKEND contains no records.") ;; latest-date-records:1 ends here diff --git a/elisp/chronometrist.org b/elisp/chronometrist.org index a3bc813..ca1e5a7 100644 --- a/elisp/chronometrist.org +++ b/elisp/chronometrist.org @@ -1561,7 +1561,7 @@ Return path of new file if successfully created, and nil if it already exists.") ***** latest-date-records :generic:function: #+BEGIN_SRC emacs-lisp (cl-defgeneric chronometrist-latest-date-records (backend) - "Return intervals of latest day in BACKEND as a tagged list (\"DATE\" PLIST*). + "Return intervals of latest day in BACKEND as a tagged list (\"DATE\" [ ]* PLIST+). Return nil if BACKEND contains no records.") #+END_SRC @@ -2544,11 +2544,11 @@ This is largely like the plist backend, but plists are grouped by date by wrappi #+BEGIN_SRC emacs-lisp :tangle no :load no ("" + [:keyword ]* ;; key-values for the date itself (:name "Task Name" - [:keyword ]* + [:keyword ]* ;; key-values for a plist :start "" - :stop "") - ...) + :stop "")+) #+END_SRC This makes it easy and computationally cheap to perform our most common query - getting the plists on a given day. [[#explanation-midnight-spanning-intervals][Midnight-spanning intervals]] are split in the file itself. The downside is that the user, if editing it by hand, must take care to split the intervals.