org-mode/lisp
Ihor Radchenko 8e2fed82ed
org-fold: Make sure that changes do not leave partially folded headings
* lisp/org-fold-core.el (org-fold-core--fix-folded-region): Check
fragility in all the indirect buffers.
* lisp/org-fold.el (org-fold--reveal-headline-at-point): New function
revealing heading line or full heading when the heading only contains
blank lines.
(org-fold--reveal-outline-maybe): Check headline at the end of folded
region as well.  Use `org-fold-core--fix-folded-region'.
* lisp/org.el (org-insert-heading): Make sure that the newline in
front of heading is revealed.
2022-07-12 21:51:40 +08:00
..
Makefile Move link-related core functions out of "org.el" 2019-03-10 18:00:27 +01:00
ob-C.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-R.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-awk.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-calc.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-clojure.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-comint.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-core.el ob-core.el: Improve org-babel-default-header-args docstring 2022-07-09 13:20:47 +08:00
ob-css.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-ditaa.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-dot.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-emacs-lisp.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-eshell.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-eval.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-exp.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-forth.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-fortran.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-gnuplot.el ob-gnuplot.el: Make :cache argument work with :var assignments 2022-07-04 21:03:16 +08:00
ob-groovy.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-haskell.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-java.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-js.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-julia.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-latex.el lisp/ob-latex.el: Remove duplicate line. 2022-07-05 17:00:12 +03:00
ob-lilypond.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-lisp.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-lob.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-lua.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-makefile.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-matlab.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-maxima.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-ocaml.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-octave.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-org.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-perl.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-plantuml.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-processing.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-python.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-ref.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-ruby.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-sass.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-scheme.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-screen.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-sed.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-shell.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-sql.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-sqlite.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-table.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-tangle.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
oc-basic.el oc-basic: Detect malformed bibtex bibliographies 2022-07-09 17:12:47 +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 oc-csl.el: Add support for nocite citations 2022-07-07 18:42:55 +08:00
oc-natbib.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
oc.el org-cite-list-citations: Cache footnote-definition searches 2022-06-16 10:43:29 +08:00
ol-bbdb.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ol-bibtex.el Merge branch 'bugfix' 2022-02-05 19:19:49 +08:00
ol-docview.el ol-docview: Throw an error when trying to open non-existing file 2022-07-11 13:00:05 +08: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 Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ol-gnus.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ol-info.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ol-irc.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ol-man.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ol-mhe.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ol-rmail.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ol-w3m.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ol.el lisp/ol.el: Fix shadowed radio targets 2022-06-09 16:22:44 +08:00
org-agenda.el org-agenda: Make sure that clock report header has trailing newline 2022-07-11 13:01:50 +08:00
org-archive.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-attach-git.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
org-attach.el org-attach-attach: Avoid linking to path starting with ~ 2022-07-04 21:01:43 +08:00
org-capture.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-clock.el Delete some Emacs 24 compat code 2022-07-02 12:10:00 +08:00
org-colview.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-compat.el Delete some Emacs 24 compat code 2022-07-02 12:10:00 +08:00
org-crypt.el Rename old function call to use org-fold 2022-04-25 19:39:53 +08:00
org-ctags.el Remove XEmacs and ancient Emacs compat code 2022-06-18 15:43:30 +08:00
org-cycle.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-datetree.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-duration.el Use `set-default-toplevel-value' in `defcustom' setters 2022-06-14 21:54:45 +08:00
org-element.el org-element: Do not try to sync element cache in the middle of a change 2022-07-09 12:08:49 +08:00
org-entities.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-faces.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-feed.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-fold-core.el org-fold: Make sure that changes do not leave partially folded headings 2022-07-12 21:51:40 +08:00
org-fold.el org-fold: Make sure that changes do not leave partially folded headings 2022-07-12 21:51:40 +08:00
org-footnote.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-goto.el Delete some Emacs 24 compat code 2022-07-02 12:10:00 +08:00
org-habit.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-id.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-indent.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-inlinetask.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-keys.el org-keys: Do not rely on deprecated boolean value of `window-system' 2022-06-25 16:05:16 +08:00
org-lint.el org-lint: don't complain about #+include URL 2022-06-12 18:02:25 +08:00
org-list.el org-list-struct-apply-struct: Do not rely on `match-data' after edits 2022-07-11 19:13:07 +08:00
org-macro.el Fix function declarations 2022-06-16 12:35:52 +08:00
org-macs.el Delete some Emacs 24 compat code 2022-07-02 12:10:00 +08:00
org-mobile.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-mouse.el Remove XEmacs and ancient Emacs compat code 2022-06-18 15:43:30 +08:00
org-num.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
org-pcomplete.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-persist.el ; Fix typos 2022-07-01 17:42:52 +08:00
org-plot.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-protocol.el Remove XEmacs and ancient Emacs compat code 2022-06-18 15:43:30 +08:00
org-refile.el Remove XEmacs and ancient Emacs compat code 2022-06-18 15:43:30 +08:00
org-src.el org-src.el: Add plain to org-src-window-setup customization 2022-07-09 12:04:07 +08:00
org-table.el Delete some Emacs 24 compat code 2022-07-02 12:10:00 +08:00
org-tempo.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-timer.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org.el org-fold: Make sure that changes do not leave partially folded headings 2022-07-12 21:51:40 +08:00
ox-ascii.el Fix native-comp warnings 2022-06-16 13:19:10 +08:00
ox-beamer.el ox-latex: Replace `org-latex-listings' 2022-05-13 00:43:17 +08:00
ox-html.el Delete some Emacs 24 compat code 2022-07-02 12:10:00 +08:00
ox-icalendar.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ox-koma-letter.el ox-koma-letter: Collapse space in copyright line 2022-01-01 17:47:00 -05:00
ox-latex.el ; Fix typos 2022-07-01 17:42:52 +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 Delete some Emacs 24 compat code 2022-07-02 12:10:00 +08:00
ox-org.el Delete some Emacs 24 compat code 2022-07-02 12:10:00 +08:00
ox-publish.el Escape single left quotes in docstrings 2022-06-16 20:51:02 +08:00
ox-texinfo.el ; Fix typos 2022-07-01 17:42:52 +08:00
ox.el Delete some Emacs 24 compat code 2022-07-02 12:10:00 +08:00