From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, Lars Ingebrigtsen <larsi@gnus.org>
Cc: Stephan.Mueller@microsoft.com, drew.adams@oracle.com,
emacs-devel@gnu.org
Subject: RE: Recent commit modifying mark-whole-buffer (master/aeb613ea95b7970e66d663ec5cba54e9ec0528fa)
Date: Fri, 29 Apr 2016 14:48:48 -0700 (PDT) [thread overview]
Message-ID: <86e5d397-b01c-4e74-8deb-1a71192f62dc@default> (raw)
In-Reply-To: <<83shy4ups9.fsf@gnu.org>>
[-- Attachment #1: Type: text/plain, Size: 1380 bytes --]
> > (read-from-minibuffer (concat "What " (propertize "do you want" 'face
> > 'bold)))
>
> So, more than one face, one each for every part of the prompt?
Maybe. Depends on what you need/want.
It's not the minibuffer, but see attached screenshots of
isearch prompts (from `isearch+.el').
The screenshots with the white background show the default
faces. The screenshot with the light orange background shows
the face values I myself use.
There are these faces used for parts of the Isearch+ prompt:
1. Standard prompt face (`minibuffer-prompt')
2. Regexp search face (`isearchp-regexp')
3. Wrapped search face (`isearchp-wrapped')
4. Overwrapped search (`isearchp-overwrapped')
5. Multi-buffer search (`isearchp-multi')
In addition, the `*wrapped' faces are used in the mode-line
lighter.
(In the screenshot that shows the mode-line lighter, the
lighter text is `R*SEARCH', which indicates case-insensitive
regexp search.)
Wrt the minibuffer prompt (not Isearch), here is an example:
(message
"You can invoke command `%s' using `%s'"
(propertize (symbol-name cmd) 'face 'icicle-msg-emphasis)
(propertize (key-description binding) 'face 'icicle-msg-emphasis))
A screenshot shows this too, but using my setup (where red
is the normal prompt color for my standalone minibuffer).
[-- Attachment #2: throw-isearch-prompt-faces.png --]
[-- Type: image/png, Size: 7672 bytes --]
[-- Attachment #3: throw-isearch-prompt-faces-default.png --]
[-- Type: image/png, Size: 4983 bytes --]
[-- Attachment #4: throw-isearchp-face-defaults.png --]
[-- Type: image/png, Size: 24115 bytes --]
[-- Attachment #5: throw-minibuffer-prompt-w-face.png --]
[-- Type: image/png, Size: 7268 bytes --]
next prev parent reply other threads:[~2016-04-29 21:48 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-28 20:24 Recent commit modifying mark-whole-buffer (master/aeb613ea95b7970e66d663ec5cba54e9ec0528fa) Kaushal Modi
2016-04-28 21:40 ` Lars Ingebrigtsen
2016-04-28 22:25 ` Stephan Mueller
2016-04-29 6:45 ` Eli Zaretskii
2016-04-29 12:23 ` Lars Ingebrigtsen
2016-04-29 12:41 ` Eli Zaretskii
2016-04-29 12:48 ` Lars Ingebrigtsen
2016-04-29 13:28 ` Eli Zaretskii
2016-04-29 14:28 ` Lars Ingebrigtsen
2016-04-29 17:06 ` Eli Zaretskii
2016-04-29 17:43 ` Kaushal Modi
2016-04-29 18:33 ` Eli Zaretskii
2016-04-30 7:51 ` John Wiegley
[not found] ` <<87y47w5w0p.fsf@gnus.org>
[not found] ` <<83bn4swdif.fsf@gnu.org>
2016-04-29 19:28 ` Drew Adams
2016-04-29 20:00 ` Eli Zaretskii
2016-04-29 20:18 ` Lars Ingebrigtsen
2016-04-29 20:24 ` Eli Zaretskii
2016-04-29 20:30 ` Lars Ingebrigtsen
2016-04-30 14:19 ` Stefan Monnier
2016-04-30 14:34 ` Lars Ingebrigtsen
2016-04-30 14:41 ` Stefan Monnier
2016-04-30 14:51 ` Lars Ingebrigtsen
[not found] ` <<87eg9ouq24.fsf@gnus.org>
[not found] ` <<83shy4ups9.fsf@gnu.org>
2016-04-29 21:48 ` Drew Adams [this message]
2016-04-30 5:23 ` Eli Zaretskii
[not found] ` <<83r3dnvfed.fsf@gnu.org>
2016-04-30 19:06 ` Drew Adams
[not found] ` <<83y47wuqvg.fsf@gnu.org>
2016-04-29 21:49 ` Drew Adams
2016-04-30 5:24 ` Eli Zaretskii
[not found] ` <<83pot7vfch.fsf@gnu.org>
2016-04-30 19:14 ` Drew Adams
2016-04-30 14:15 ` Stefan Monnier
2016-04-30 19:18 ` 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=86e5d397-b01c-4e74-8deb-1a71192f62dc@default \
--to=drew.adams@oracle.com \
--cc=Stephan.Mueller@microsoft.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).