mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-18 16:09:57 +00:00
5da0eb6ea7
* lisp/org-agenda.el (org-agenda-get-timestamps): * lisp/org-element.el (org-element--timestamp-regexp): Adjust timestamp regexp. (org-element-timestamp-parser): Support the new syntax for diary sexp timestamps. The diary sexp is now stored in :diary-sexp property and the time/time range is stored as usual. (org-element-timestamp-interpreter): Interpret diary timestamp according to its building blocks rather than raw value. * testing/lisp/test-org-agenda.el (test-org-agenda/diary-timestamp): New test checking for agenda support of times in diary timestamps. * testing/lisp/test-org-element.el (test-org-element/timestamp-interpreter): Add parser tests. * doc/org-manual.org (Timestamps): Add an example of the new syntax to the manual. * etc/ORG-NEWS (Diary type timestamps now support optional time/timerange): Document the Org syntax addition. This syntax modification is fixing an omission in org-element.el. In the past, org-agenda had explicit support for diary timestamps with time/timerange, but that support was ad-hoc. Now, after org-agenda switched to use parser, we must modify Org syntax to fix the feature regression. |
||
---|---|---|
.. | ||
.aspell.org.conf | ||
.nosearch | ||
dir | ||
doc-setup.org | ||
Documentation_Standards.org | ||
fdl.org | ||
htmlxref.cnf | ||
Makefile | ||
org-guide.org | ||
org-manual.org | ||
orgcard.tex | ||
pdflayout.sty | ||
texinfo.tex |