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: Lars Ingebrigtsen
Subject: Re: Tweaking the output of `C-h b'
Date: Mon, 01 Nov 2021 15:23:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Kévin Le Gouguec <kevin.legouguec@gmail.com> writes:

> 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)?

Currently, the *Help* buffer sets the variable buffer-locally.  So
perhaps just renaming it to outline-use-buttons would make sense and
people could decide to use them in outline major mode, too.  But I
haven't tested that at all.

> 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.

Yes, it's not good.  But I think that's a general problem with invisible
text (which outline uses)?  I feel like I've stumbled onto that issue
previosly.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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