[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 8f6ce702bd 22/44: ORG-NEWS: Add list of changes
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 8f6ce702bd 22/44: ORG-NEWS: Add list of changes |
Date: |
Mon, 25 Apr 2022 07:57:57 -0400 (EDT) |
branch: externals/org
commit 8f6ce702bd7604d2d113b9bee5e0b045e52111a3
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>
ORG-NEWS: Add list of changes
---
etc/ORG-NEWS | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 104 insertions(+)
diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS
index 77fbab4768..2b539d305a 100644
--- a/etc/ORG-NEWS
+++ b/etc/ORG-NEWS
@@ -40,6 +40,105 @@ The cache state is saved between Emacs sessions. Enabled
by default.
The cache persistence can be controlled via
~org-element-cache-persistent~.
+*** Users experiencing performance issues can use new folding backend
+
+The old folding backend used in Org is poorly scalable when the file
+size increases beyond few Mbs. The symptoms usually include slow
+cursor motion, especially in long-running Emacs sessions.
+
+A new optimised folding backend is now available, and enabled by
+default. To disable it, put the following to the Emacs config *before*
+loading Org:
+
+#+begin_src emacs-lisp
+(setq org-fold-core-style 'overlays)
+#+end_src
+
+Even more performance optimisation can be enabled by customising
+=org-fold-core--optimise-for-huge-buffers=. However, this option may
+be dangerous. Please, read the variable docstring carefully to
+understand the possible consequences.
+
+When =org-fold-core-style= is set to =text-properties=, several new
+features will become available and several notable changes will happen
+to the Org behaviour. The new features and changes are listed below.
+
+**** Hidden parts of the links can now be searched and revealed during isearch
+
+In the past, hidden parts of the links could not be searched using
+isearch (=C-s=). Now, they are searchable by default. The hidden
+match is also revealed temporarily during isearch.
+
+To restore the old behaviour add the following core to your Emacs
+config:
+
+#+begin_src emacs-lisp
+(defun org-hidden-link-ignore-isearch ()
+ "Do not match hidden parts of links during isearch."
+ (org-fold-core-set-folding-spec-property 'org-link :isearch-open nil)
+ (org-fold-core-set-folding-spec-property 'org-link :isearch-ignore t))
+(add-hook 'org-mode-hook #'org-hidden-link-ignore-isearch)
+#+end_src
+
+See docstring of =org-fold-core--specs= to see more details about
+=:isearch-open= and =:isearch-ignore= properties.
+
+**** =org-catch-invisible-edits= now works for hidden parts of the links and
for emphasis markers
+
+In the past, user could edit invisible parts of the links and emphasis
markers. Now, the editing is respecting the value of
=org-catch-invisible-edits=.
+
+Note that hidden parts of sub-/super-scripts are still not handled.
+
+**** Breaking structure of folded elements automatically reveals the folded
text
+
+In the past, the user could be left with unfoldable text after breaking the
org structure.
+
+For example, if
+
+#+begin_src org
+:DRAWER:
+like this
+:END:
+#+end_src
+
+is folded and then edited into
+
+#+begin_src org
+DRAWER:
+like this
+:END:
+#+end_src
+The hidden text would not be revealed.
+
+Now, breaking structure of drawers, blocks, and headings automatically
+reveals the folded text.
+
+**** Folding state of the drawers is now preserved when cycling headline
visibility
+
+In the past drawers were folded every time a headline is unfolded.
+
+Now, it is not the case anymore. The drawer folding state is
+preserved. The initial folding state of all the drawers in buffer is
+set according to the startup visibility settings.
+
+To restore the old behaviour, add the following code to Emacs config:
+
+#+begin_src emacs-lisp
+(add-hook 'org-cycle-hook #'org-cycle-hide-drawers)
+#+end_src
+
+Note that old behaviour may cause performance issues when cycling
+headline visibility in large buffers.
+
+**** =outline-*= functions may no longer work correctly in Org mode
+
+The new folding backend breaks some of the =outline-*= functions that
+rely on the details of visibility state implementation in
+=outline.el=. The old Org folding backend was compatible with the
+=outline.el= folding, but it is not the case anymore with the new
+backend. From now on, using =outline-*= functions is strongly
+discouraged when working with Org files.
+
** New features
*** New library =org-persist.el= implements variable persistence across Emacs
sessions
@@ -117,6 +216,11 @@ argument.
This function is intended for us in the definition of a ~kbd~ macro in
files that are exported to Texinfo.
+*** =org-at-heading-p= now recognises optional argument. Its meaning is
inverted.
+
+=org-at-heading-p= now returns t by default on headings inside folds.
+Passing optional argument will produce the old behaviour.
+
** Miscellaneous
*** Styles are customizable in ~biblatex~ citation processor
- [elpa] externals/org d72ac89c7c 04/44: Remove functions from org.el that are now moved elsewhere, (continued)
- [elpa] externals/org d72ac89c7c 04/44: Remove functions from org.el that are now moved elsewhere, ELPA Syncer, 2022/04/25
- [elpa] externals/org b7dae51dbb 06/44: org-macs: New function org-find-text-property-region, ELPA Syncer, 2022/04/25
- [elpa] externals/org 67275f4664 10/44: Implement link folding, ELPA Syncer, 2022/04/25
- [elpa] externals/org cd83606cfd 12/44: org-fold: Handle indirect buffer visibility, ELPA Syncer, 2022/04/25
- [elpa] externals/org b415111aff 05/44: Disable native-comp in agenda, ELPA Syncer, 2022/04/25
- [elpa] externals/org bc0caec6eb 07/44: org-at-heading-p: Accept optional argument, ELPA Syncer, 2022/04/25
- [elpa] externals/org 77aa9be5ac 11/44: Implement overlay- and text-property-based versions of some functions, ELPA Syncer, 2022/04/25
- [elpa] externals/org f63ff07441 13/44: Fix subtle differences between overlays and invisible text properties, ELPA Syncer, 2022/04/25
- [elpa] externals/org bf6bd6d21d 14/44: Support extra org-fold optimisations for huge buffers, ELPA Syncer, 2022/04/25
- [elpa] externals/org 4fbd8bfae0 15/44: Alias new org-fold functions to their old shorter names, ELPA Syncer, 2022/04/25
- [elpa] externals/org 8f6ce702bd 22/44: ORG-NEWS: Add list of changes,
ELPA Syncer <=
- [elpa] externals/org 444d1c50ac 32/44: test-org/string-width: Add tests for strings with prefix properties, ELPA Syncer, 2022/04/25
- [elpa] externals/org 87babca898 33/44: org--string-from-props: Fix handling folds in Emacs <28, ELPA Syncer, 2022/04/25
- [elpa] externals/org ce58542c85 38/44: org-agenda.el: Re-enable native compilation, ELPA Syncer, 2022/04/25
- [elpa] externals/org 2249f4d7e5 42/44: org-fold-core-fontify-region: Remove unused variable, ELPA Syncer, 2022/04/25
- [elpa] externals/org 407104459b 44/44: org-fold: Honour `org-fold-show-context-detail' for isearch, ELPA Syncer, 2022/04/25
- [elpa] externals/org 219bc6c2d3 37/44: org-fold-core-fontify-region: Fix cases when fontification is not registered, ELPA Syncer, 2022/04/25
- [elpa] externals/org a6eab82fd6 16/44: Obsolete old function names that are now in org-fold, ELPA Syncer, 2022/04/25
- [elpa] externals/org f813f10818 26/44: Rename remaining org-force-cycle-archived → org-cycle-force-archived, ELPA Syncer, 2022/04/25
- [elpa] externals/org 2e3566e1e9 28/44: org-string-width: Handle undefined behaviour in older Emacs, ELPA Syncer, 2022/04/25
- [elpa] externals/org 240a14988f 24/44: Fix typo: delete-duplicates → delete-dups, ELPA Syncer, 2022/04/25