[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tweaking the output of `C-h b'
From: |
Kévin Le Gouguec |
Subject: |
Re: Tweaking the output of `C-h b' |
Date: |
Mon, 01 Nov 2021 10:47:42 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> Jonas's magit-section (available on NonGNU ELPA) more or less does
>> exactly that: on the GUI, add chevrons to the left fringe (right chevron
>> means "hit TAB to expand", down chevron means "hit TAB to fold back");
>> on the TUI, append ellipses to expandable sections.
>
> Don't we have similar stuff in Customize buffers?
The UI elements (chevrons) are similar, yes; IIUC the main difference is
that magit-section uses fringe bitmaps, while Customize uses SVG
buttons.
As for features, AFAICT:
- magit-section is a reimplementation of outline-minor-mode which does
not rely on regexps to delimit sections: it supports arbitrary nesting
of subsections, and provides commands for visibility cycling and node
navigation (see magit-section-mode-map).
- Meanwhile, Customize buffers "merely" provide ways to (un)fold single
entities (user options) and jump to the previous/next buttons (which
could be enough for the purposes of C-h b).
(I hope my comparison is accurate; if I'm being unfair to either library
I'd love to stand corrected)
- Re: Tweaking the output of `C-h b', (continued)
Re: Tweaking the output of `C-h b', Lars Ingebrigtsen, 2021/11/01
Re: Tweaking the output of `C-h b', Stefan Kangas, 2021/11/01
Re: Tweaking the output of `C-h b',
Kévin Le Gouguec <=
Re: Tweaking the output of `C-h b', Kévin Le Gouguec, 2021/11/01
Re: Tweaking the output of `C-h b', Eli Zaretskii, 2021/11/01
Re: Tweaking the output of `C-h b', Eli Zaretskii, 2021/11/01
Re: Tweaking the output of `C-h b', T.V Raman, 2021/11/01