On 29.03.2024 01:41, Lawrence D'Oliveiro wrote:
Emacs has this feature called “overlays”, which let you set custom display attributes for portions of a text buffer. This can include
completely hiding the text. That can be handy if you want to look at
two parts of a source file while temporarily ignoring some irrelevant
details in-between.
[...]
I was astonished to read that there's a necessity to add such
functions to Emacs. Would have expected that it's there already
as Emacs being one of the prominent and widely used editors.
If I inspect
https://en.wikipedia.org/wiki/Code_folding the table
shows three (of four) "Yes" for folding support, albeit marked
with footnotes (which might indicate some restriction/workaround?).
Since I'm not using that editor I'm just curious what deficiency
the posted functions solve or add to the existing folding features
in Emacs as seen in Wikipedia. (From the code I cannot derive that,
so I'm asking.)
Janis
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)