From: Juri Linkov <juri@linkov.net>
To: Mauro Aranda <maurooaranda@gmail.com>
Cc: Lars Ingebrigtsen <larsi@gnus.org>,
41905@debbugs.gnu.org, ej32u@protonmail.com
Subject: bug#41905: Small change: In Customize, display name with with spaces, but keep symbol name underneath.
Date: Mon, 07 Sep 2020 21:22:08 +0300 [thread overview]
Message-ID: <87tuw9cvof.fsf@mail.linkov.net> (raw)
In-Reply-To: <87bliiycij.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 06 Sep 2020 21:40:36 +0300")
>>>> 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")
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))
next prev parent reply other threads:[~2020-09-07 18:22 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-17 3:23 bug#41905: Small change: In Customize, display name with with spaces, but keep symbol name underneath ej32u--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-06-17 21:20 ` Juri Linkov
2020-06-18 22:44 ` Juri Linkov
2020-09-05 12:00 ` Mauro Aranda
2020-09-05 12:13 ` Lars Ingebrigtsen
2020-09-05 12:12 ` Lars Ingebrigtsen
2020-09-05 12:50 ` Mauro Aranda
2020-09-05 12:56 ` Lars Ingebrigtsen
2020-09-05 13:08 ` Mauro Aranda
2020-09-05 13:12 ` Mauro Aranda
2020-09-05 13:24 ` Lars Ingebrigtsen
2020-09-05 13:48 ` Mauro Aranda
2020-09-05 13:52 ` Lars Ingebrigtsen
2020-09-05 14:16 ` Mauro Aranda
2020-09-05 14:36 ` Lars Ingebrigtsen
2020-09-05 14:58 ` Mauro Aranda
2020-09-05 15:08 ` Lars Ingebrigtsen
2020-09-05 15:20 ` Lars Ingebrigtsen
2020-09-05 15:27 ` Lars Ingebrigtsen
2020-09-05 15:07 ` Drew Adams
2020-09-05 15:31 ` Mauro Aranda
2020-09-05 16:37 ` Lars Ingebrigtsen
2020-09-06 12:17 ` Lars Ingebrigtsen
2020-09-06 12:35 ` Mauro Aranda
2020-09-06 12:39 ` Lars Ingebrigtsen
2020-09-06 12:54 ` Mauro Aranda
2020-09-06 18:40 ` Juri Linkov
2020-09-07 18:22 ` Juri Linkov [this message]
2020-09-07 19:44 ` Mauro Aranda
2020-09-07 20:28 ` Lars Ingebrigtsen
2020-09-08 18:33 ` Juri Linkov
2020-09-08 20:50 ` Lars Ingebrigtsen
2020-09-08 19:09 ` Juri Linkov
2020-09-08 20:52 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tuw9cvof.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=41905@debbugs.gnu.org \
--cc=ej32u@protonmail.com \
--cc=larsi@gnus.org \
--cc=maurooaranda@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.