org-mode/lisp
Ihor Radchenko e5e7ae36cf
org-element--current-element: Fix #+BEGIN$ parsed as special block
* lisp/org-element.el (org-element--current-element): Use
`org-element-dynamic-block-open-re' to match blocks.

* testing/lisp/test-org-element.el (test-org-element/paragraph-parser):
Fix test relying on previous incorrect behaviour.  Empty #+BEGIN:
should be parsed as a keyword.

Reported in https://list.orgmode.org/Ycay4s3iAdEGSwgt@tuxteam.de/T/#t
2022-05-14 13:51:56 +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 ob-core.el: Add `:noweb-prefix` babel header argument 2022-04-30 16:13:55 +08: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.el: Honour `default-directory' 2022-04-21 20:00:22 +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 Rename old function call to use org-fold 2022-04-25 19:39:53 +08: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 ob-plantuml: Allow setting PlantUML args for jar file 2022-05-08 14:44:58 +08: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 Rename old function call to use org-fold 2022-04-25 19:39:53 +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 lisp/ob-scheme.el: Use synchronous eval. 2022-05-08 17:59:59 +08: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 ob-tangle.el: Handle non-string arguments more gracefully 2022-05-01 11:36:04 +08:00
ob.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
oc-basic.el Merge branch 'bugfix' 2022-04-16 18:05:16 +08:00
oc-biblatex.el Merge branch 'bugfix' 2022-03-23 23:38:50 +01: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-02-05 19:19:49 +08: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-fold-show-set-visibility: Do not reveal emphasis unless DETAIL is `local' 2022-04-28 14:33:43 +08:00
org-agenda.el org-compile-prefix-format: Document argument 2022-05-03 11:38:10 +08:00
org-archive.el Rename old function call to use org-fold 2022-04-25 19:39:53 +08:00
org-attach-git.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
org-attach.el org-attach: Extend range for org-attach-commands 2022-02-06 23:57:14 +01:00
org-capture.el org-fold: Handle indirect buffer visibility 2022-04-25 19:39:55 +08:00
org-clock.el Fix subtle differences between overlays and invisible text properties 2022-04-25 19:39:56 +08:00
org-colview.el Rename old function call to use org-fold 2022-04-25 19:39:53 +08:00
org-compat.el ox-latex: Replace `org-latex-listings' 2022-05-13 00:43:17 +08:00
org-crypt.el Rename old function call to use org-fold 2022-04-25 19:39:53 +08:00
org-ctags.el Replace all uses of the old `defadvice` with the new `advice-add` 2022-04-01 07:50:01 +02:00
org-cycle.el org-fold-core: Remove `org-fold-core-first-unfold-functions' 2022-05-12 21:38:01 +08: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--current-element: Fix #+BEGIN$ parsed as special block 2022-05-14 13:51:56 +08:00
org-entities.el org-entities: Change \minus to - 2022-05-04 23:49:48 +08:00
org-faces.el Merge branch 'bugfix' 2022-04-19 11:27:03 +02:00
org-feed.el Rename old function call to use org-fold 2022-04-25 19:39:53 +08:00
org-fold-core.el org-fold-core: Remove `org-fold-core-first-unfold-functions' 2022-05-12 21:38:01 +08:00
org-fold.el org-fold--reveal-outline-maybe: Fix wrong side of point error 2022-05-09 20:39:57 +08:00
org-footnote.el Rename old function call to use org-fold 2022-04-25 19:39:53 +08:00
org-goto.el Rename old function call to use org-fold 2022-04-25 19:39:53 +08:00
org-habit.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
org-id.el Rename old function call to use org-fold 2022-04-25 19:39:53 +08:00
org-indent.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
org-inlinetask.el org-inlinetask.el: Fix visibility cycling for inlinetasks 2022-04-30 16:54:15 +08:00
org-install.el Use lexical-binding cookie in some trivial files 2021-01-24 22:36:30 -05:00
org-keys.el Rename remaining org-force-cycle-archived → org-cycle-force-archived 2022-04-25 19:40:06 +08:00
org-lint.el Rename old function call to use org-fold 2022-04-25 19:39:53 +08:00
org-list.el Implement overlay- and text-property-based versions of some functions 2022-04-25 19:39:54 +08:00
org-macro.el Fix signature for org-element-at-point 2022-01-12 22:26:10 +08:00
org-macs.el org-macs.el: Fix template expansion 2022-04-30 17:45:33 +08:00
org-mobile.el Rename old function call to use org-fold 2022-04-25 19:39:53 +08:00
org-mouse.el Rename old function call to use org-fold 2022-04-25 19:39:53 +08: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 Replace all uses of the old `defadvice` with the new `advice-add` 2022-04-01 07:50:01 +02:00
org-plot.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
org-protocol.el Replace all uses of the old `defadvice` with the new `advice-add` 2022-04-01 07:50:01 +02:00
org-refile.el org-refile: Restore previous behaviour of not revealing the refiled headline 2022-04-26 17:46:37 +08:00
org-src.el Rename old function call to use org-fold 2022-04-25 19:39:53 +08:00
org-table.el orgtbl-toggle-comment: Fix when table is at `point-min' or `point-max' 2022-05-09 21:31:54 +08:00
org-tempo.el Replace all uses of the old `defadvice` with the new `advice-add` 2022-04-01 07:50:01 +02:00
org-timer.el Rename old function call to use org-fold 2022-04-25 19:39:53 +08:00
org.el Merge branch 'bugfix' 2022-05-13 18:37:04 +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 ox-latex: Replace `org-latex-listings' 2022-05-13 00:43:17 +08:00
ox-html.el lisp/ox-html.el: Fix `org-html-style-default' 2022-03-28 14:34:11 +02: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 ox-latex: Prefix lst: to source block labels 2022-05-13 00:43:18 +08: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 Replace all uses of the old `defadvice` with the new `advice-add` 2022-04-01 07:50:01 +02:00
ox-org.el Rename old function call to use org-fold 2022-04-25 19:39:53 +08:00
ox-publish.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
ox-texinfo.el ox-texinfo: Allow enabling compact syntax for @itemx per file 2022-02-09 00:38:23 +01:00
ox.el Fix subtle differences between overlays and invisible text properties 2022-04-25 19:39:56 +08:00