Subject: Re: bug#41905: Small change: In Customize, display name with with spaces, but keep symbol name underneath.

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 07 Sep 2020 22:28:29 +0200

Juri Linkov <[email-masked]> writes:

>> (concat (propertize "f" 'display "F")
>>         "ill"
>>         (propertize "-" 'display " ")
>>         (propertize "c" 'display "C")
>>         "olumn")
>
> Actually I meant not concat, but set-text-properties:
>
> (let ((name "fill-column"))
>  (set-text-properties 0 1 '(display "F") name)
>  (set-text-properties 4 5 '(display " ") name)
>  (set-text-properties 5 6 '(display "C") name)
>  (insert name))

Why not concat?  I think the end result is the same?

Anyway, it's an intriguing idea.  It's perhaps possibly slightly
confusing, but it avoids the problems with a longer display string, and
it fixes the `C-h v' problem.

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