[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
New folding backend & outline (was: [PATCH 22/35] ORG-NEWS: Add list of
From: |
Kévin Le Gouguec |
Subject: |
New folding backend & outline (was: [PATCH 22/35] ORG-NEWS: Add list of changes) |
Date: |
Sat, 29 Jan 2022 21:31:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Ihor Radchenko <yantar92@gmail.com> writes:
> +**** =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.
>From the perspective of a heavy outline-minor-mode user, who dreams of
Org "backporting" its great outlining features to outline.el, that's a
bit disheartening, since IIUC this will cause Org and outline.el to
drift further apart?
I realize this question might sound outlandish, but I'll ask it anyway:
would it be feasible (and relevant) to add this new folding backend to
outline.el, so that (1) /both/ Org and outline(-minor)-mode benefit from
it, (2) outline.el functions keep working in Org?
(Assuming outline.el could be turned into a :core GNU ELPA package, and
Org would tolerate adding this dependency)
I hope this doesn't come across as negative criticism; the amount of
work that went into this branch is astounding, and as an Org user I'm
indebted to the developers for the energy that goes into maintaining it.
I just wish more of the loving care that goes into Org trickled down to
outline(-minor)-mode; the last couple of months were encouraging because
lots of great improvements have been added to outline.el (TAB-cycling,
buttons, control over default visibility and font-locking), and those
improvements enhance *every* major mode with outline-minor-mode support,
so I was hoping for the trend to continue…
Lest I let this message end on that sour note: great work, and thanks
for the energy you put into Org!
- [PATCH 14/35] Support extra org-fold optimisations for huge buffers, (continued)
- [PATCH 14/35] Support extra org-fold optimisations for huge buffers, Ihor Radchenko, 2022/01/29
- [PATCH 13/35] Fix subtle differences between overlays and invisible text properties, Ihor Radchenko, 2022/01/29
- [PATCH 15/35] Alias new org-fold functions to their old shorter names, Ihor Radchenko, 2022/01/29
- [PATCH 16/35] Obsolete old function names that are now in org-fold, Ihor Radchenko, 2022/01/29
- [PATCH 17/35] org-compat: Work around some third-party packages using outline-* functions, Ihor Radchenko, 2022/01/29
- [PATCH 18/35] Move `org-buffer-list' to org-macs.el, Ihor Radchenko, 2022/01/29
- [PATCH 19/35] Restore old visibility behaviour of org-refile, Ihor Radchenko, 2022/01/29
- [PATCH 20/35] Add org-fold-related tests, Ihor Radchenko, 2022/01/29
- [PATCH 21/35] org-manual: Update to new org-fold function names, Ihor Radchenko, 2022/01/29
- [PATCH 22/35] ORG-NEWS: Add list of changes, Ihor Radchenko, 2022/01/29
- New folding backend & outline (was: [PATCH 22/35] ORG-NEWS: Add list of changes),
Kévin Le Gouguec <=
- [PATCH 23/35] Backport contributed commits, Ihor Radchenko, 2022/01/29
- [PATCH 24/35] Fix typo: delete-duplicates → delete-dups, Ihor Radchenko, 2022/01/29
- [PATCH 25/35] Fix bug in org-get-heading, Ihor Radchenko, 2022/01/29
- [PATCH 26/35] Rename remaining org-force-cycle-archived → org-cycle-force-archived, Ihor Radchenko, 2022/01/29
- [PATCH 28/35] org-string-width: Handle undefined behaviour in older Emacs, Ihor Radchenko, 2022/01/29
- [PATCH 29/35] org-string-width: Work around `window-pixel-width' bug in old Emacs, Ihor Radchenko, 2022/01/29
- [PATCH 27/35] Fix org-fold--hide-drawers--overlays, Ihor Radchenko, 2022/01/29
- [PATCH 30/35] org-fold-show-set-visibility: Fix edge case when folded region is at BOB, Ihor Radchenko, 2022/01/29
- [PATCH 31/35] org-fold-core: Fix fontification inside folded regions, Ihor Radchenko, 2022/01/29