0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-12 04:39:59 +00:00
org-mode/lisp
Ihor Radchenko a2e5685e49
Do not use org-fold to hide link parts
* lisp/ol.el (org-link--link-folding-spec):
(org-link--description-folding-spec):
(org-link-descriptive-ensure): Remove.
(org-toggle-link-display): Rely upon font-lock to update link display.
* lisp/org-agenda.el (org-agenda-mode): Remove no-longer-necessary
org-fold initializer.
* lisp/org-fold.el (org-fold-initialize): Remove link-related fold
types.
(org-fold-show-set-visibility):
* lisp/org-src.el (org-src-font-lock-fontify-block):
* lisp/org.el (org-do-emphasis-faces):
(org-unfontify-region): Remove special handling of link folds.
* lisp/org.el (org-mode): Remove folding setup for links.
(org-activate-links--text-properties): Remove.
(org-activate-links): Honor `org-link-descriptive' dynamically.

This change reflects de-facto situation where we cannot use folding
system to hide links reliably.  Even though we promise in Org 9.6 that
hidden parts of the link can be searched, the way it can be
implemented is not reliable and is working around upstream mechanisms.
Upstream changes are necessary to properly support isearch in text
hidden using text properties; workarounds attempted in org-fold-core
do not cut it because too many built-in Emacs libraries and also
third-party libraries rely upon internal implementation details of
isearch (due to limitations of its API).
2024-05-02 12:29:27 +03:00
..
Makefile mk: Allow parallel execution 2024-02-09 17:15:53 +01:00
ob-awk.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ob-C.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ob-calc.el ob-calc.el: Add support for tables in Calc source block :var 2024-03-16 15:15:40 +03:00
ob-clojure.el lisp/ob-comint.el: Introduce a fallback prompt regexp 2024-02-09 17:35:58 +01:00
ob-comint.el lisp/ob-comint.el: Fix prompt appearing in async shell results 2024-03-29 12:11:18 +01:00
ob-core.el org-babel-import-elisp-from-file: Fix detecting delimiter in single-line data 2024-04-29 14:42:12 +03:00
ob-css.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ob-ditaa.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ob-dot.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ob-emacs-lisp.el fixup! lisp/ob-emacs-lisp.el: Throw an error when session is requested 2024-04-09 16:35:44 +03:00
ob-eshell.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ob-eval.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ob-exp.el ob-exp: Preserve header arguments in source block after processing 2024-04-24 14:48:19 +03:00
ob-forth.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ob-fortran.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ob-gnuplot.el Merge branch 'bugfix' 2024-03-07 15:43:53 +03:00
ob-groovy.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ob-haskell.el lisp/ob-comint.el: Introduce a fallback prompt regexp 2024-02-09 17:35:58 +01:00
ob-java.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ob-js.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ob-julia.el ob-R, ob-julia: Do not force-start session in Org Src buffers 2024-01-28 20:04:31 +01:00
ob-latex.el org-babel: Fix smart `replace-regexp-in-string' behavior during variable assignment 2024-03-07 15:49:07 +03:00
ob-lilypond.el org-babel: Fix smart `replace-regexp-in-string' behavior during variable assignment 2024-03-07 15:49:07 +03:00
ob-lisp.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ob-lob.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ob-lua.el ob-lua: Support all types and multiple values in results 2024-04-24 16:04:38 +03:00
ob-makefile.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ob-matlab.el Backport commit 8e1c56ae4 from Emacs 2024-01-06 15:48:23 -05:00
ob-maxima.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ob-ocaml.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ob-octave.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ob-org.el org-babel: Fix smart `replace-regexp-in-string' behavior during variable assignment 2024-03-07 15:49:07 +03:00
ob-perl.el Backport commit 8e1c56ae4 from Emacs 2024-01-06 15:48:23 -05:00
ob-plantuml.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ob-processing.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ob-python.el org-babel: New babel backend API function org-babel-session-buffer:<lang> 2024-02-10 21:57:52 +01:00
ob-R.el org-babel: Declare :async header argument in the backends that support it 2024-02-01 16:15:50 +01:00
ob-ref.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ob-ruby.el lisp/ob-comint.el: Introduce a fallback prompt regexp 2024-02-09 17:35:58 +01:00
ob-sass.el Backport commit 8e1c56ae4 from Emacs 2024-01-06 15:48:23 -05:00
ob-scheme.el ob-scheme: Allow ob-scheme to accept a remote connection 2024-01-30 16:42:23 +01:00
ob-screen.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ob-sed.el Backport commit 8e1c56ae4 from Emacs 2024-01-06 15:48:23 -05:00
ob-shell.el lisp/ob-shell.el: Initialize explicit-shell-file-name 2024-03-23 08:57:18 +01:00
ob-sql.el org-babel: Fix smart `replace-regexp-in-string' behavior during variable assignment 2024-03-07 15:49:07 +03:00
ob-sqlite.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ob-table.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ob-tangle.el Reduce repetitive calls to find-buffer-visiting' + find-file-noselect' 2024-03-16 11:21:30 +03:00
ob.el Backport commit 8e1c56ae4 from Emacs 2024-01-06 15:48:23 -05:00
oc-basic.el lisp/oc-basic.el: add missing function declarations 2024-03-12 16:17:09 +03:00
oc-biblatex.el oc-biblatex: Allow native biblatex options in CITE_EXPORT 2024-04-26 15:23:29 +03:00
oc-bibtex.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
oc-csl.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
oc-natbib.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
oc.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ol-bbdb.el org-id.el: Add search strings, inherit parent IDs 2024-02-24 15:56:44 +03:00
ol-bibtex.el org-bibtex-yank: Allow to populate existing item 2024-02-25 11:50:38 +03:00
ol-docview.el org-id.el: Add search strings, inherit parent IDs 2024-02-24 15:56:44 +03:00
ol-doi.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ol-eshell.el org-id.el: Add search strings, inherit parent IDs 2024-02-24 15:56:44 +03:00
ol-eww.el org-id.el: Add search strings, inherit parent IDs 2024-02-24 15:56:44 +03:00
ol-gnus.el org-id.el: Add search strings, inherit parent IDs 2024-02-24 15:56:44 +03:00
ol-info.el org-id.el: Add search strings, inherit parent IDs 2024-02-24 15:56:44 +03:00
ol-irc.el org-id.el: Add search strings, inherit parent IDs 2024-02-24 15:56:44 +03:00
ol-man.el org-id.el: Add search strings, inherit parent IDs 2024-02-24 15:56:44 +03:00
ol-mhe.el org-id.el: Add search strings, inherit parent IDs 2024-02-24 15:56:44 +03:00
ol-rmail.el org-id.el: Add search strings, inherit parent IDs 2024-02-24 15:56:44 +03:00
ol-w3m.el Backport commit 8e1c56ae4 from Emacs 2024-01-06 15:48:23 -05:00
ol.el Do not use org-fold to hide link parts 2024-05-02 12:29:27 +03:00
org-agenda.el Do not use org-fold to hide link parts 2024-05-02 12:29:27 +03:00
org-archive.el Reduce repetitive calls to find-buffer-visiting' + find-file-noselect' 2024-03-16 11:21:30 +03:00
org-attach-git.el Backport commit 8e1c56ae4 from Emacs 2024-01-06 15:48:23 -05:00
org-attach.el Fix when user customization makes Org dialogues pop up in new frames 2024-04-10 15:42:52 +03:00
org-capture.el Honor `display-buffer-alist' when creating dialogues 2024-04-07 13:34:13 +03:00
org-clock.el Merge branch 'bugfix' 2024-04-28 15:57:30 +03:00
org-colview.el lisp/org-colview.el: Move cleanup code to cleanup function 2024-04-26 15:44:47 +03:00
org-compat.el Obsolete org-cached-entry-get' in favor of org-entry-get' 2024-05-01 21:41:07 +03:00
org-crypt.el Never pass error message verbatim as the first argument for message'/error' 2024-02-25 13:15:04 +03:00
org-ctags.el org-ctags.el: Protect shell specials in directory name 2024-04-30 12:58:34 +03:00
org-cycle.el org-cycle: Fix "Overwriting value of ... by aliasing" warning 2024-02-23 16:24:19 +03:00
org-datetree.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
org-duration.el Backport commit 8e1c56ae4 from Emacs 2024-01-06 15:48:23 -05:00
org-element-ast.el org-element-insert-before: Fix return value when setting plain-text 2024-02-29 11:43:52 +03:00
org-element.el org-element-cache-map: Fix edge case when we move to not-yet-cached element 2024-04-19 16:06:44 +03:00
org-entities.el Address Emacs 27 warnings 2024-02-27 13:34:07 +03:00
org-faces.el org: Fontify whole table rows with `org-table-row' face 2024-02-01 15:30:18 +01:00
org-feed.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
org-fold-core.el org-fold: Fix regression after b03ece433 2024-04-22 22:20:49 +03:00
org-fold.el Do not use org-fold to hide link parts 2024-05-02 12:29:27 +03:00
org-footnote.el org-footnote-new: Add an option to create new anonymous labels 2024-02-05 15:38:48 +01:00
org-goto.el Fix when user customization makes Org dialogues pop up in new frames 2024-04-10 15:42:52 +03:00
org-habit.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
org-id.el org-id.el: Add search strings, inherit parent IDs 2024-02-24 15:56:44 +03:00
org-indent.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
org-inlinetask.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
org-keys.el Create commands for `org-read-date-minibuffer-local-map' 2024-03-26 18:04:23 +03:00
org-lint.el org-id.el: Add search strings, inherit parent IDs 2024-02-24 15:56:44 +03:00
org-list.el lisp/org-list.el (org-list-swap-items): Fix re-folding after swap 2024-02-02 16:23:50 +01:00
org-macro.el Merge branch 'bugfix' 2024-03-24 19:18:11 +03:00
org-macs.el Fix when user customization makes Org dialogues pop up in new frames 2024-04-10 15:42:52 +03:00
org-mobile.el org-mobile-create-index-file: Fix typo 2024-03-06 13:36:56 +03:00
org-mouse.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
org-num.el lisp/org-num.el: Autoload safe variables 2024-02-08 16:17:34 +01:00
org-pcomplete.el Fix [[* completion when there is text after point 2024-01-07 16:50:40 +01:00
org-persist.el org-persist: Do not demand write access to existing directories 2024-03-21 12:13:13 +03:00
org-plot.el Honor `display-buffer-alist' when creating dialogues 2024-04-07 13:34:13 +03:00
org-protocol.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
org-refile.el fixup! Support completion boundaries when completing olp, tags, and agenda filter 2024-03-23 08:58:20 +03:00
org-src.el Do not use org-fold to hide link parts 2024-05-02 12:29:27 +03:00
org-table.el org-babel-import-elisp-from-file: Fix detecting delimiter in single-line data 2024-04-29 14:42:12 +03:00
org-tempo.el lisp/org-tempo.el: Do not refer to removed function in the commentary 2024-01-31 14:05:46 +01:00
org-timer.el org-timer-set-timer: Fix when called from agenda buffer 2024-04-10 11:49:55 +03:00
org.el Do not use org-fold to hide link parts 2024-05-02 12:29:27 +03:00
ox-ascii.el ox-ascii: Fix broken link export for broken fuzzy links 2024-04-24 15:46:07 +03:00
ox-beamer.el lisp/ox-beamer.el: constrain use of org-beamer-frame-environment 2024-03-17 17:35:37 +03:00
ox-html.el org-html-footnote-reference: Fix duplicate IDs 2024-04-28 13:35:31 +03:00
ox-icalendar.el org-icalendar-export-agenda-files: Report file name when export fails 2024-04-26 18:09:43 +03:00
ox-koma-letter.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
ox-latex.el ox-latex: New option to customize LaTeX footnote command 2024-04-23 13:58:14 +03:00
ox-man.el ox-man: Escape backslash characters in verbatim examples 2024-04-26 12:42:58 +03:00
ox-md.el org-export: Do not strip link type by default during export 2024-03-12 13:57:47 +03:00
ox-odt.el ox-odt: Fix regression when exporting file links after 72b0e9ff0 2024-04-20 15:19:11 +03:00
ox-org.el Reduce repetitive calls to find-buffer-visiting' + find-file-noselect' 2024-03-16 11:21:30 +03:00
ox-publish.el ox-publish: Do not store :title, :date, and :index in project cache 2024-04-26 13:42:45 +03:00
ox-texinfo.el org-export: Do not strip link type by default during export 2024-03-12 13:57:47 +03:00
ox.el lisp/ox.el (org-export-data): Improve broken link error message 2024-04-26 18:09:03 +03:00