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: Mon, 01 Nov 2021 11:21:54 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> I assume that people that use Outline mode proper would know (and like)
> the TAB action.  But it's pretty obscure if you haven't been exposed to
> it before, which happens a lot with outline-minor-mode. 

That's a fair assumption; still, I could imagine some users liking the
new buttons enough to want them in e.g. NEWS or Org buffers.

If that doesn't sound too outlandish,

(1) Should outline-minor-mode-use-buttons be renamed to
    outline-use-buttons?

(2) Should it be left for opinionated modes to tweak (and opinionated
    users to adjust in mode hooks), or should it be customizable?
    Something like

    - nil: never use buttons

    - t: always use buttons (in outline-minor-mode, outline-mode, and
      derived modes)

    - a list of modes; this could be the default value, set to
      '(outline-minor-mode)?

>>   … moves point back one character, instead of folding the bindings?
>
> I'm unable to reproduce that, but point movement in the *Help* buffer
> when using outline mode is really odd.  Due to the invisible overlays?

I can no longer reproduce that specific issue, so 🤷🎉

Another minor nit though: if I move to "Major Mode Bindings:" with 'n',
then hit 'C-p', I move to the end of the previous line (i.e. after the
"Key translations:" ellipsis) instead of the beginning (i.e. the "Key
translations:" button).

It's not a big deal since 'p' works fine; just slightly disorienting.



reply via email to

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