bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#41905: Small change: In Customize, display name with with spaces, bu


From: Juri Linkov
Subject: bug#41905: Small change: In Customize, display name with with spaces, but keep symbol name underneath.
Date: Sun, 06 Sep 2020 21:40:36 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>>> What I liked about the 'display approach is that it didn't seem to
>>> require changes in the describe-* commands to work...
>>
>> That is a good point, and it would make C-h v make work automatically.
>> But 'display properties are kinda awkward -- for one, the cursor moves
>> over them in a single skip, so they're a bit confusing in that respect.
>
> Yes, that's true.  So...perhaps it's better to just ditch that idea.

Just display spaces over every '-' character (and upper-case letters
at word beginnings):

(concat (propertize "f" 'display "F")
        "ill"
        (propertize "-" 'display " ")
        (propertize "c" 'display "C")
        "olumn")





reply via email to

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