org-mode/testing/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
..
test-duplicates-detector.el testing/lisp/test-duplicates-detector.el: Fix Emacs 27 compatibility 2024-02-11 15:11:11 +01:00
test-ob-C.el testing: Delete useless ert tests 2023-09-17 12:48:36 +03:00
test-ob-R.el Fix obsolete `sleep-for' usage 2023-10-21 16:08:25 +03:00
test-ob-awk.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-ob-calc.el ob-calc.el: Add support for tables in Calc source block :var 2024-03-16 15:15:40 +03:00
test-ob-clojure.el Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
test-ob-comint.el testing/lisp/test-ob-comint.el: Make test for echo filter 2024-03-29 12:11:18 +01:00
test-ob-emacs-lisp.el Update remaining copyright years 2024-01-06 15:55:18 -05:00
test-ob-eshell.el testing/lisp/test-ob-eshell.el: Fix tests 2022-10-13 18:28:56 +08:00
test-ob-exp.el ob-exp: Preserve header arguments in source block after processing 2024-04-24 14:48:19 +03:00
test-ob-fortran.el testing: Delete useless ert tests 2023-09-17 12:48:36 +03:00
test-ob-haskell-ghci.el ob-haskell/session-named-none-means-one-shot-sessions: Remove duplicate 2024-02-09 14:57:57 +01:00
test-ob-header-arg-defaults.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-ob-java.el Update remaining copyright years 2024-01-06 15:55:18 -05:00
test-ob-julia.el testing: Fix file names in file headers 2024-03-13 15:35:30 +03:00
test-ob-lilypond.el testing: Delete useless ert tests 2023-09-17 12:48:36 +03:00
test-ob-lob.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-ob-lua.el ob-lua: Support all types and multiple values in results 2024-04-24 16:04:38 +03:00
test-ob-maxima.el * lisp/ob-maxima.el: enable use of `batch' loader and `draw' 2023-10-04 11:27:46 +03:00
test-ob-octave.el org-babel-comint-with-output: Fix for edge case of `comint-prompt-regexp' 2023-09-06 12:19:14 +03:00
test-ob-perl.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-ob-plantuml.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-ob-python.el ob-python: Test and improve robustness for externally started python 2023-12-29 07:46:49 -08:00
test-ob-ruby.el testing/lisp: Add missing `featurep' checks for required packages 2022-10-13 18:30:07 +08:00
test-ob-scheme.el test-ob-scheme.el: Disable testing for older Emacs unsupported by Geiser 2023-08-07 14:57:17 +03:00
test-ob-sed.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-ob-shell.el Only run Bash tests when relevant features are supported 2024-04-26 14:02:06 +03:00
test-ob-sql.el testing/lisp: Add missing `provide' 2022-10-13 18:30:44 +08:00
test-ob-sqlite.el ob-sqlite: Use a transient in-memory database by default 2023-08-12 11:00:48 +03:00
test-ob-table.el org-sbe: Allow quoting string values 2023-02-23 12:29:18 +03:00
test-ob-tangle.el org-babel-tangle: Do not allow tangling into self 2024-01-26 16:54:04 +01:00
test-ob.el org-babel-demarcate-block: split using element API 2024-03-04 14:48:59 +03:00
test-oc-basic.el oc-basic.el: Drop {...} when rendering Bibtex entries 2024-02-29 12:21:08 +03:00
test-oc.el org-cite-list-bibliography-files: Preserve relative bibliography paths 2023-05-02 14:47:56 +02:00
test-ol-bbdb.el testing: Fix file names in file headers 2024-03-13 15:35:30 +03:00
test-ol.el Do not use org-fold to hide link parts 2024-05-02 12:29:27 +03:00
test-org-agenda.el org-agenda: Make sure skipping warning/delay days never increases their number 2024-02-27 15:40:18 +03:00
test-org-archive.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-org-attach-git.el * testing/lisp/test-org-attach-git.el: Avoid using global git config 2023-08-18 12:03:58 +03:00
test-org-attach.el org-element: Defer more when parsing headings and inlinetasks 2023-07-01 14:35:36 +03:00
test-org-capture.el org-capture-finalize: Do not save new file with :no-save aborted capture 2023-01-22 13:49:07 +03:00
test-org-clock.el test-org-clok/org-clock-update-time-maybe: Fix test for non-English LANG 2023-09-15 12:00:06 +03:00
test-org-colview.el lisp/org-colview.el: Add link parameter to colview dynamic block 2024-04-26 15:44:46 +03:00
test-org-ctags.el test-org-ctags: Fix CI failures 2024-04-30 16:41:01 +03:00
test-org-datetree.el lisp/org-datetree.el: Allow datetrees with TODO, priority, tags 2023-01-21 12:29:32 +03:00
test-org-duration.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-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
test-org-feed.el Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
test-org-fold.el testing: Fix file names in file headers 2024-03-13 15:35:30 +03:00
test-org-footnote.el org-footnote-new: Add an option to create new anonymous labels 2024-02-05 15:38:48 +01:00
test-org-info.el ol-info: Define :insert-description function 2022-08-26 21:09:39 +08:00
test-org-inlinetask.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-org-lint.el org-lint: Remove checker for #+name with colon 2023-12-17 14:57:03 +01:00
test-org-list.el org-toggle-item: Move footnote-definitions out of the lists 2022-11-11 13:19:01 +08:00
test-org-macro.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-org-macs.el test-org-macs.el: Add test for template-expansion bug 2022-04-30 17:45:32 +08:00
test-org-num.el test-org-num.el: Do not rely on fixed overlay order in `overlays-in' 2022-11-09 10:12:44 +08:00
test-org-pcomplete.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-org-protocol.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-org-src.el test-org-src.el: Work around `current-column' bug in older emacs 2023-07-10 11:19:31 +03:00
test-org-table.el org-table-to-lisp: Preserve text properties 2024-02-29 14:23:37 +03:00
test-org-tempo.el testing: Fix misleading file headers 2024-03-13 15:35:31 +03:00
test-org-timer.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-org.el org-paste-subtree: With single/double prefix, force inserting sibling/child 2024-04-21 14:59:37 +03:00
test-ox-ascii.el testing: Fix file names in file headers 2024-03-13 15:35:30 +03:00
test-ox-beamer.el testing/lisp/test-ox-beamer.el: New regression tests for ox-beamer. 2024-03-17 17:35:38 +03:00
test-ox-html.el testing: Add missing lexical-binding modeline 2024-03-13 15:35:32 +03:00
test-ox-icalendar.el ox-icalendar: Add support for unscheduled and repeating TODOs 2023-06-18 06:51:47 -07:00
test-ox-latex.el ox-latex: Remove org-latex-line-break-safe 2024-01-31 12:35:29 +01:00
test-ox-md.el lisp/ox-md.el (org-md--footnote-section): Honor `org-md-toplevel-hlevel' 2023-12-15 15:01:57 +01:00
test-ox-publish.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
test-ox-texinfo.el testing: Add missing lexical-binding modeline 2024-03-13 15:35:32 +03:00
test-ox.el org-export: Do not treat unpaired ' and " as smart quotes 2024-03-24 12:53:11 +03:00
test-property-inheritance.el testing: Fix misleading file headers 2024-03-13 15:35:31 +03:00