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: Sun, 31 Oct 2021 22:19:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> IIRC it can be an overlay (zero-width or other) with an
> `after/before-string` with `display` property.

I tried that now, but then I couldn't move point to the displayed
string?

>> An overlay covering the first character, and then repeating the first
>> char as the last element in the display property?  Yes, that's seems to
>> work.
>
> And this should also work with a property (i.e. as a text-property), IIRC.

Yup.  Hm...  since outline adds keymaps via font-lock, perhaps that's
better than using overlays.

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