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

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Emacs - Bugs mailing list
Hello,

This patch changes custom-unlispify-menu-entry to display symbols names with the "display" text property, but to keep the symbol name underneath. This is good when using try-expand-dabbrev-all-buffers, such as when writing the init file.

Thank you.




diff.txt (658 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

Juri Linkov-2
> This patch changes custom-unlispify-menu-entry to display symbols names
> with the "display" text property, but to keep the symbol name underneath.
> This is good when using try-expand-dabbrev-all-buffers, such as when
> writing the init file.

Thanks, this is a nice idea.  Your patch allows to copy the symbol by M-w
and paste into a program as a symbol.  The same idea should be used
in 'describe-mode' (C-h m) as well where mode names should be symbols
underneath displayed capitalized strings.



Reply | Threaded
Open this post in threaded view
|

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

Juri Linkov-2
>> This patch changes custom-unlispify-menu-entry to display symbols names
>> with the "display" text property, but to keep the symbol name underneath.
>> This is good when using try-expand-dabbrev-all-buffers, such as when
>> writing the init file.
>
> Thanks, this is a nice idea.  Your patch allows to copy the symbol by M-w
> and paste into a program as a symbol.

But what happens when a variable name is expanded in the customization buffer?
(expanded in the sense that the down arrow is displayed before it)
It seems the name displayed as a symbol, not as a human-readable string.