From: Marcin Borkowski <mbork@mbork.pl>
To: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Fontification of the interactive prompt string?
Date: Fri, 05 Jun 2015 23:44:58 +0200 [thread overview]
Message-ID: <87vbf17rtx.fsf@mbork.pl> (raw)
Hi all,
I have an (interactive "cprompt\n") call, and I'd like the prompt to
list possible characters (they define a few options for my function, and
I have good reasons to implement it this way and not with C-u etc.) I'd
like to have the relevant characters highlighted, like in:
"file: _n_ew, _o_pen, _c_lose"
where the underscores mean that something is e.g. in a different color.
Is it possible? Bonus points if instead of colors the relevant letter
might be e.g. put in brackets on terminals not supporting colors.
TIA,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
next reply other threads:[~2015-06-05 21:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-05 21:44 Marcin Borkowski [this message]
2015-06-05 22:12 ` Fontification of the interactive prompt string? Tassilo Horn
2015-06-05 22:34 ` Drew Adams
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vbf17rtx.fsf@mbork.pl \
--to=mbork@mbork.pl \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).