org-mode/testing/lisp
Ihor Radchenko 3bbbf77f36
org-babel-exp-process-buffer: Improve performance
* lisp/ob-exp.el (org-babel-exp-src-block): New optional argument
providing ELEMENT at point.
(org-babel-exp-code-template): Use lower-case #+begin/#+end lines to
avoid triggering source code block changes when the blocks are
exported with :exports code and also contain lower-case
 #+begin/#+end.  We prefer lower-case default because other parts of
 Org, like `org-insert-structure-template' default to lower-case as
 well.
(org-babel-exp-process-buffer): Do no disable cache as changes are not
expected to be as frequent anymore.  Pass pre-calculated element at
point to inner function calls to `org-in-commented-heading-p',
`org-in-archived-heading-p', `org-element-context', and
`org-babel-exp-src-block'.  Do not force-replace source block contents
when no change is required.
* testing/lisp/test-ob-exp.el (ob-export/export-with-results-before-block):
(ob-export/body-with-coderef):
(ob-exp/src-block-with-affiliated-keyword): Update tests according to
the new `org-babel-exp-code-template'.
2022-06-16 13:21:39 +08:00
..
test-ob-awk.el org-test: Fix ERC errors using latest Emacs master 2021-11-24 20:06:15 +08:00
test-ob-C.el org-test: Fix ERC errors using latest Emacs master 2021-11-24 20:06:15 +08:00
test-ob-clojure.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
test-ob-emacs-lisp.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
test-ob-eshell.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-ob-exp.el org-babel-exp-process-buffer: Improve performance 2022-06-16 13:21:39 +08:00
test-ob-fortran.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-ob-header-arg-defaults.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-ob-java.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
test-ob-julia.el Include support for evaluating julia code 2021-09-25 16:00:02 +02:00
test-ob-lilypond.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-ob-lob.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-ob-lua.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-ob-maxima.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-ob-octave.el test-ob-octave: Add missing `provide' 2022-04-27 16:56:31 +08:00
test-ob-perl.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-ob-plantuml.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
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 lisp/ob-R: Async evaluation in R 2021-09-28 18:22:12 +02:00
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 Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-ob-sed.el org-test: Fix ERC errors using latest Emacs master 2021-11-24 20:06:15 +08:00
test-ob-shell.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-ob-sql.el ob-sql.el: Add support for SAP HANA 2021-03-16 23:53:09 -04:00
test-ob-sqlite.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-ob-table.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-ob-tangle.el ob-tangle.el: Improve tangling 2021-05-01 22:30:42 +02:00
test-ob.el ob-core.el/babel: Special handling for attachment links in src block 2022-06-14 21:44:25 +08:00
test-oc.el oc: Allow declaring cite styles as a function 2021-12-12 15:42:29 +01:00
test-ol-bbdb.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-ol.el test-ol/org-toggle-link-display: Fix compatibility with old Emacs 2022-04-25 19:40:12 +08:00
test-org-agenda.el org-agenda: Fix regression when diary sexp timestamps are ignored 2022-03-26 15:17:45 +08:00
test-org-archive.el Re-implement org-element-cache and add headline support 2021-10-16 23:22:18 +08:00
test-org-attach-git.el test-org-attach-git: Fix recent failure to load tests 2021-11-27 16:16:51 -05:00
test-org-attach.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-org-capture.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-org-clock.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-org-colview.el Re-implement org-element-cache and add headline support 2021-10-16 23:22:18 +08:00
test-org-datetree.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-org-duration.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-org-element.el org-element--current-element: Fix #+BEGIN$ parsed as special block 2022-05-14 13:51:56 +08:00
test-org-feed.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-org-fold.el org-fold: Revert old behaviour when handling invisible edits 2022-05-08 17:26:42 +08:00
test-org-footnote.el footnote: Allow footnotes at footnote definition start 2021-10-06 14:34:14 +02:00
test-org-info.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-org-inlinetask.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-org-lint.el Merge branch 'bugfix' 2022-02-13 22:14:55 +01:00
test-org-list.el org-list: Do not move point and change space when promoting/demoting items 2022-06-11 20:17:29 +08:00
test-org-macro.el macro: Properly collect multiple authors 2021-10-23 14:32:00 +02:00
test-org-macs.el test-org-macs.el: Add test for template-expansion bug 2022-04-30 17:45:32 +08:00
test-org-num.el org-num: Add tests 2020-08-28 08:45:41 +02:00
test-org-pcomplete.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-org-protocol.el test-org-protocol.el: Decode "+" to " " tests 2021-09-27 17:52:03 +02:00
test-org-src.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-org-table.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-org-tempo.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-org-timer.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-org.el lisp/ol.el: Fix shadowed radio targets 2022-06-09 16:22:44 +08:00
test-ox-publish.el ox-publish.el: Add `org-html-publish-to-html' as the default publishing function 2021-09-29 09:14:43 +02:00
test-ox.el ox-latex: Replace `org-latex-listings' 2022-05-13 00:43:17 +08:00
test-property-inheritance.el org-test: Fix ERC errors using latest Emacs master 2021-11-24 20:06:15 +08:00