emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tweaking the output of `C-h b'


From: Eli Zaretskii
Subject: Re: Tweaking the output of `C-h b'
Date: Mon, 01 Nov 2021 14:41:34 +0200

> From: Kévin Le Gouguec <kevin.legouguec@gmail.com>
> Cc: larsi@gnus.org,  jonas@bernoul.li,  monnier@iro.umontreal.ca,
>   emacs-devel@gnu.org
> Date: Mon, 01 Nov 2021 10:47:42 +0100
> 
> 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)

I'm not sure we are talking about the same thing: I meant the
Customize Group buffers, where you can expand and collapse individual
options that belong to the group.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]