org-mode/lisp
Ihor Radchenko f83e45526b
org-toggle-item: Move footnote-definitions out of the lists
* lisp/org-list.el (org-toggle-item): When headings contain
footnote-definitions, move them out of the list.  Footnote-definitions
must not be indented and hence cannot belong to the list.  Ensure that
definitions do not slurp the following element after the list.
Consider when the list created by `org-toggle-item' is continued by an
existing list.
* testing/lisp/test-org-list.el (test-org-list/toggle-item): Add
tests.

Reported-by: Ypo <ypuntot@gmail.com>
Link: https://orgmode.org/list/877d3k70lu.fsf@localhost
2022-11-11 13:19:01 +08:00
..
Makefile Move link-related core functions out of "org.el" 2019-03-10 18:00:27 +01:00
ob-C.el ob-C: do not swallow double quotes on raw output 2022-09-27 16:20:57 +02:00
ob-R.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-awk.el Begin messages about executing code blocks with a capital letter 2022-10-07 13:51:35 +08:00
ob-calc.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-clojure.el ob-clojure.el: Auto detect backend 2022-10-30 12:18:58 +01:00
ob-comint.el org-babel-comint-with-output: Handle output without trailing newlines 2022-10-23 12:08:37 +08:00
ob-core.el org-babel-read: Obey `org-confirm-babel-evaluate' 2022-11-10 13:52:56 +08:00
ob-css.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-ditaa.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-dot.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-emacs-lisp.el ob-emacs-lisp: Don't print arguments of post-process arguments to stdout 2022-10-07 13:50:21 +08:00
ob-eshell.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-eval.el org-babel: Never throw away standard error 2022-11-04 10:48:38 +08:00
ob-exp.el org-babel-lob-get-info: Add no-eval argument 2022-10-19 14:55:52 +08:00
ob-forth.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-fortran.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-gnuplot.el org-babel: Fix usage of `org-babel-temporary-directory' 2022-10-09 12:30:00 +08:00
ob-groovy.el Begin messages about executing code blocks with a capital letter 2022-10-07 13:51:35 +08:00
ob-haskell.el lisp/ob-haskell.el: Fix org-babel-script-escape expects a string 2022-11-09 10:34:03 +08:00
ob-java.el org-babel: Refactor temporary directory usage 2022-10-23 11:49:00 +08:00
ob-js.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-julia.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-latex.el ob-latex: Call Inkscape with descriptive arguments 2022-11-03 15:27:49 +08:00
ob-lilypond.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
ob-lisp.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-lob.el ob-lob: Clean up spacing to pass Emacs's pre-commit check 2022-10-29 15:23:00 -04:00
ob-lua.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-makefile.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-matlab.el Merge branch 'km/from-emacs-master' 2022-10-16 17:43:29 -04:00
ob-maxima.el lisp/ob-maxima.el: correct placement of $ in command string 2022-11-06 10:51:06 +08:00
ob-ocaml.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-octave.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
ob-org.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-perl.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-plantuml.el Merge branch 'km/from-emacs-master' 2022-10-16 17:43:29 -04:00
ob-processing.el org-babel: Fix usage of `org-babel-temporary-directory' 2022-10-09 12:30:00 +08:00
ob-python.el ob-python: Handle newer version of python-mode.el 2022-10-26 12:40:05 +08:00
ob-ref.el org-babel-lob-get-info: Add no-eval argument 2022-10-19 14:55:52 +08:00
ob-ruby.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-sass.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-scheme.el ob-scheme: Use new `geiser' function when available 2022-10-31 14:22:39 +08:00
ob-screen.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-sed.el Begin messages about executing code blocks with a capital letter 2022-10-07 13:51:35 +08:00
ob-shell.el ob-shell: Fix multi-line scripts in sessions 2022-10-22 12:15:51 +08:00
ob-sql.el lisp/ob-sql.el: Add Daniel Kraus as the maintainer 2022-11-03 09:27:36 +01:00
ob-sqlite.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-table.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-tangle.el ob-tangle: Update docstrings 2022-11-10 13:36:01 +08:00
ob.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
oc-basic.el org-cite-basic-export-bibliography: Skip missing bibliography keys 2022-11-06 15:44:44 +08:00
oc-biblatex.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
oc-bibtex.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
oc-csl.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
oc-natbib.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
oc.el org-cite: Fix style completion 2022-10-25 14:25:37 +08:00
ol-bbdb.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ol-bibtex.el Fix Emacs 29 compiler warnings 2022-09-06 20:50:59 +08:00
ol-docview.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ol-doi.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
ol-eshell.el ol-eshell: Make recently ported change compatible with Emacs < 29 2022-10-04 18:38:25 -04:00
ol-eww.el Backport commit cc8b6101f from Emacs 2022-10-04 17:10:50 -04:00
ol-gnus.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ol-info.el ol-info: Use org function instead of subr-x 2022-09-05 14:33:32 +08:00
ol-irc.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
ol-man.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
ol-mhe.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ol-rmail.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ol-w3m.el Backport commit cc8b6101f from Emacs 2022-10-04 17:10:50 -04:00
ol.el Refactor `org-time-stamp-custom-formats' and `org-time-stamp-formats' 2022-11-07 15:05:37 +08:00
org-agenda.el Refactor `org-time-stamp-custom-formats' and `org-time-stamp-formats' 2022-11-07 15:05:37 +08:00
org-archive.el Refactor `org-time-stamp-custom-formats' and `org-time-stamp-formats' 2022-11-07 15:05:37 +08:00
org-attach-git.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-attach.el org-attach-attach: Fix when `org-attach-store-link-p' is t 2022-11-05 11:00:15 +08:00
org-capture.el org-capture: Add template hook properties 2022-10-07 13:38:52 +08:00
org-clock.el Refactor `org-time-stamp-custom-formats' and `org-time-stamp-formats' 2022-11-07 15:05:37 +08:00
org-colview.el Refactor `org-time-stamp-custom-formats' and `org-time-stamp-formats' 2022-11-07 15:05:37 +08:00
org-compat.el Refactor `org-time-stamp-custom-formats' and `org-time-stamp-formats' 2022-11-07 15:05:37 +08:00
org-crypt.el org-crypt-key-for-heading: Handle CRYPTKEY nil value 2022-10-14 10:16:47 +08:00
org-ctags.el org-ctags: Fix interactive calls to `visit-tags-table' 2022-10-31 14:22:40 +08:00
org-cycle.el org-cycle: Silence byte-compiler under 'make single' 2022-10-29 15:22:58 -04:00
org-datetree.el org-datetree-insert-line: Fix blank line insertion 2022-10-26 15:25:24 +08:00
org-duration.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-element.el Refactor `org-time-stamp-custom-formats' and `org-time-stamp-formats' 2022-11-07 15:05:37 +08:00
org-entities.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-faces.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-feed.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
org-fold-core.el Clean up spacing to pass Emacs's pre-commit check 2022-10-03 17:57:03 -04:00
org-fold.el org-fold-hide-entry: Fix on empty heading with a child. 2022-10-17 21:04:31 +08:00
org-footnote.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-goto.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-habit.el Backport commit b7e867b84 from Emacs 2022-10-04 17:18:04 -04:00
org-id.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
org-indent.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-inlinetask.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
org-keys.el org.el: Support auto display inline images when cycling 2022-10-26 12:43:07 +08:00
org-lint.el org-lint: Fix #+INCLUDE keyword parsing 2022-11-05 11:31:37 +08:00
org-list.el org-toggle-item: Move footnote-definitions out of the lists 2022-11-11 13:19:01 +08:00
org-macro.el Refactor `org-time-stamp-custom-formats' and `org-time-stamp-formats' 2022-11-07 15:05:37 +08:00
org-macs.el org-sting-width: Do no err in dedicated windows 2022-11-05 17:38:37 +08:00
org-mobile.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
org-mouse.el org-mouse: Make recently ported change compatible with Emacs < 29 2022-10-04 18:38:25 -04:00
org-num.el org-num-mode: Clear remaining num overlays before activation 2022-10-20 12:50:41 +08:00
org-pcomplete.el Refactor `org-time-stamp-custom-formats' and `org-time-stamp-formats' 2022-11-07 15:05:37 +08:00
org-persist.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-plot.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
org-protocol.el Merge branch 'km/from-emacs-master' 2022-10-16 17:43:29 -04:00
org-refile.el org-refile.el: Show refile targets with a title 2022-10-25 14:53:14 +08:00
org-src.el org-babel-get-src-block-info: Rename light argument 2022-10-19 14:55:53 +08:00
org-table.el org-export: Suppress cache persistence in buffer copies during export 2022-10-07 13:15:17 +08:00
org-tempo.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-timer.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org.el org--at-headline-data-p: Fix when at :post-blank after heading 2022-11-08 21:18:42 +08:00
ox-ascii.el Merge branch 'km/from-emacs-master' 2022-10-29 15:15:03 -04:00
ox-beamer.el ox-latex: Remove unused argument 2022-09-17 18:29:55 +08:00
ox-html.el org-html-htmlize-output-type: Mark safe as buffer-local 2022-11-11 11:31:58 +08:00
ox-icalendar.el ox-icalendar: Create export backend options for deadline/scheduled-summary-prefix defcustoms 2022-11-10 10:38:06 +08:00
ox-koma-letter.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ox-latex.el org-latex-src-block--listings: Put options within lstlisting environment 2022-10-31 16:15:11 +08:00
ox-man.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ox-md.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ox-odt.el Refactor `org-time-stamp-custom-formats' and `org-time-stamp-formats' 2022-11-07 15:05:37 +08:00
ox-org.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ox-publish.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ox-texinfo.el ox-texinfo: Include LaTeX in Texinfo exports 2022-09-21 15:29:50 +08:00
ox.el Refactor `org-time-stamp-custom-formats' and `org-time-stamp-formats' 2022-11-07 15:05:37 +08:00