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 18:27:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> I'm wondering how the fringe markers allow you to toggle the folding.
>> Do they set some overlay keymap in addition to using the fringe?
>
> When you click on the fringe, you get an event [left-fringe mouse-1]
> and the coordinates of the click.

So you have to use the mouse?  That's a pretty severe limitation and
would make that (as a general design) pretty useless.

But we could have it as an option, I guess.

So if we have a fold-text.el library, it could offer

* fringes
* buttons
  * svg
  * emojis
  * other random text
* "..."

or a combination of these, and then have some kind of fall-back system
(i.e., if you want fringes but they aren't switched on, then fall-back
to button), or something (that the user can specify).

(And similarly, fall back from svg to the other things when that's no
available.)

-- 
(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]