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: Kévin Le Gouguec
Subject: Re: Tweaking the output of `C-h b'
Date: Sun, 31 Oct 2021 23:55:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>> Indeed, you can click on it with the mouse, but I don't think we offer
>> a mechanism to do that from the keyboard (not sure if clicking with the
>> mouse in a tty can do it either).
>
> I've now implemented this and pushed it to master.  It probably should
> be tweaked some (and I only tested the outline stuff in a *Help* buffer,
> so if somebody could check whether I broke something in more advanced
> Outline minor-mode buffers, that'd be nice).

Nice work!

Some nits:

- Should the variable names include _minor-mode_?  Is there a reason
  these buttons could not be used in the Outline major mode (which would
  make them usable in Org)?

  (FWIW I tried to enable this in NEWS, but the buttons did not seem
  very functional there)

- Customize has recently gained new SVG icons, among which the exact
  same chevrons.  I happen to quite like the way they look; any chance
  these icons could be reused for this feature, at least as an option?

- For some reason,

    emacs -Q
    C-h b
    C-x o       ; move to *Help* buffer
    n           ; move to "Major Mode Bindings" button
    RET

  … moves point back one character, instead of folding the bindings?


Despite the nits, this all looks very nice.  Thanks a lot!



reply via email to

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