org-mode/testing/lisp
Ihor Radchenko e70a8aac59
Use org-element-cache in place of text property cache in agenda
* lisp/org-agenda.el (org-agenda-skip): Use
`org-in-archived-heading-p' and `org-in-commented-heading-p' in place
of text property cache.

(org-agenda-get-todos, org-agenda-get-timestamps,
org-agenda-get-sexps, org-agenda-get-progress,
org-agenda-get-deadlines, org-agenda-get-scheduled,
org-agenda-get-blocks): Do not use text property cache in favour of
Org API functions.  The API functions use cache now.

* lisp/org-clock.el (org-element--cache-active-p): Declare function to
suppress compiler warning.

(org-clock-in): Do not use text property cache when element cache is
active.

* lisp/org-duration.el (org-duration-to-minutes): Do not change match
data.  It is needed to not break agenda---agenda relies on match data
not being altered.

* lisp/org.el (org-run-like-in-org-mode): Use element cache.
(org-refresh-category-properties): Use element cache.
(org-make-tags-matcher, org-agenda-prepare-buffers): Do not rely on
text property cache.

* testing/lisp/test-org.el (test-org/refresh-category-properties): Do
not use text property cache.
2021-10-16 23:50:21 +08:00
..
test-ob-awk.el
test-ob-C.el
test-ob-clojure.el
test-ob-emacs-lisp.el
test-ob-eshell.el
test-ob-exp.el
test-ob-fortran.el
test-ob-header-arg-defaults.el
test-ob-java.el
test-ob-julia.el
test-ob-lilypond.el
test-ob-lob.el
test-ob-lua.el
test-ob-maxima.el
test-ob-octave.el
test-ob-perl.el
test-ob-plantuml.el
test-ob-python.el ob-comint.el, ob-python.el: Async session evaluation 2021-05-18 09:13:28 -07:00
test-ob-R.el
test-ob-ruby.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-ob-scheme.el
test-ob-sed.el
test-ob-shell.el
test-ob-sql.el
test-ob-sqlite.el
test-ob-table.el
test-ob-tangle.el
test-ob.el
test-oc.el
test-ol-bbdb.el
test-ol.el
test-org-agenda.el
test-org-archive.el
test-org-attach-git.el
test-org-attach.el
test-org-capture.el
test-org-clock.el
test-org-colview.el
test-org-datetree.el
test-org-duration.el
test-org-element.el
test-org-feed.el
test-org-footnote.el
test-org-info.el
test-org-inlinetask.el
test-org-lint.el
test-org-list.el
test-org-macro.el
test-org-macs.el Prune Emacs 25.1 compatibility kludges 2021-10-04 23:43:14 -04:00
test-org-num.el
test-org-pcomplete.el
test-org-protocol.el
test-org-src.el
test-org-table.el
test-org-tempo.el
test-org-timer.el
test-org.el
test-ox-publish.el
test-ox.el
test-property-inheritance.el