org-mode/lisp
Ihor Radchenko 2ae8d6c1cf
org-babel-tangle-collect-blocks: Use cache
* lisp/ob-tangle.el (org-babel-tangle-collect-blocks): Use element
cache to find the containing headline instead of regexp search.
Direct regexp search sometimes causes quadratic scaling.

See https://lists.gnu.org/r/emacs-orgmode/2022-01/msg00484.html
2022-01-26 19:27:03 +08:00
..
Makefile Move link-related core functions out of "org.el" 2019-03-10 18:00:27 +01:00
ob-C.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
ob-R.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
ob-awk.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-calc.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-clojure.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-comint.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-core.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
ob-css.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-ditaa.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-dot.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
ob-emacs-lisp.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-eshell.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-eval.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-exp.el Fix signature for org-element-at-point 2022-01-12 22:26:10 +08:00
ob-forth.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-fortran.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-gnuplot.el ob-gnuplot: Fix wrong table conversion when first column has ?- 2022-01-14 22:03:38 +08:00
ob-groovy.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
ob-haskell.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-java.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-js.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-julia.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-latex.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-lilypond.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-lisp.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-lob.el Fix signature for org-element-at-point 2022-01-12 22:26:10 +08:00
ob-lua.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-makefile.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-matlab.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-maxima.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-ocaml.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-octave.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-org.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-perl.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
ob-plantuml.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
ob-processing.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-python.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-ref.el Fix signature for org-element-at-point 2022-01-12 22:26:10 +08:00
ob-ruby.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-sass.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-scheme.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-screen.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
ob-sed.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-shell.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-sql.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-sqlite.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
ob-table.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-tangle.el org-babel-tangle-collect-blocks: Use cache 2022-01-26 19:27:03 +08:00
ob.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
oc-basic.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
oc-biblatex.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
oc-bibtex.el Update main-only copyright years 2022-01-01 15:25:06 -05:00
oc-csl.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
oc-natbib.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
oc.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
ol-bbdb.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ol-bibtex.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
ol-docview.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ol-doi.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ol-eshell.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ol-eww.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
ol-gnus.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ol-info.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ol-irc.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ol-man.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ol-mhe.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ol-rmail.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ol-w3m.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ol.el org-mode: Initialise cache before initialising file-local regexps 2022-01-19 11:58:17 +08:00
org-agenda.el Merge branch 'bugfix' 2022-01-12 21:11:33 +08:00
org-archive.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
org-attach-git.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
org-attach.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
org-capture.el Fix signature for org-element-at-point 2022-01-12 22:26:10 +08:00
org-clock.el Merge branch 'bugfix' 2022-01-23 17:41:12 +08:00
org-colview.el org-colview: Do not remap faces repeatedly 2022-01-17 20:20:44 +08:00
org-compat.el Merge branch 'bugfix' 2022-01-22 15:51:43 +01:00
org-crypt.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
org-ctags.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
org-datetree.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
org-duration.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
org-element.el org-element-cache: Suggest to share warning text as well in the warnings 2022-01-23 12:06:56 +08:00
org-entities.el org-entities: Fix LaTeX macron accent 2022-01-10 00:38:32 +08:00
org-faces.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
org-feed.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
org-footnote.el Fix signature for org-element-at-point 2022-01-12 22:26:10 +08:00
org-goto.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
org-habit.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
org-id.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
org-indent.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
org-inlinetask.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
org-install.el Use lexical-binding cookie in some trivial files 2021-01-24 22:36:30 -05:00
org-keys.el Fix signature for org-element-at-point 2022-01-12 22:26:10 +08:00
org-lint.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
org-list.el Fix signature for org-element-at-point 2022-01-12 22:26:10 +08:00
org-macro.el Fix signature for org-element-at-point 2022-01-12 22:26:10 +08:00
org-macs.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
org-mobile.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
org-mouse.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
org-num.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
org-pcomplete.el Fix signature for org-element-at-point 2022-01-12 22:26:10 +08:00
org-persist.el Update main-only copyright years 2022-01-01 15:25:06 -05:00
org-plot.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
org-protocol.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
org-refile.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
org-src.el Fix signature for org-element-at-point 2022-01-12 22:26:10 +08:00
org-table.el Fix signature for org-element-at-point 2022-01-12 22:26:10 +08:00
org-tempo.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
org-timer.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
org.el org-before-first-heading-p: Use cache and clarify docstring 2022-01-25 22:53:08 +08:00
ox-ascii.el ob-gnuplot: Fix wrong table conversion when first column has ?- 2022-01-14 22:03:38 +08:00
ox-beamer.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
ox-html.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ox-icalendar.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
ox-koma-letter.el ox-koma-letter: Collapse space in copyright line 2022-01-01 17:47:00 -05:00
ox-latex.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
ox-man.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ox-md.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
ox-odt.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ox-org.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
ox-publish.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
ox-texinfo.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
ox.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00