From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: x popup menu does not honor font faces.
Date: Sun, 11 May 2014 07:19:42 +0300 [thread overview]
Message-ID: <83iopdueu9.fsf@gnu.org> (raw)
In-Reply-To: <CAA+mFXOAXOWT-NNcdcHvybjVkwznN9xN=Jcwhvv8mjhM2n5_jA@mail.gmail.com>
> Date: Sat, 10 May 2014 22:18:36 +0200
> From: Paul K <mafeuser@gmail.com>
>
> I would like to have "first" be bold, but no luck with the following
> example.
>
> (let ((BOLD (propertize "first" 'font 'bold)))
> (x-popup-menu t (list "choose either" (list "two numbers" (cons BOLD
> "1st") (cons "second" 2)))))
>
> Is it because popup menu is some external feature of x thus just skip text
> properties or am I doing something wrong?
Emacs ignores the text properties in menu items, yes. That's because
on most platforms these strings will be displayed by external
libraries that have their own ideas about the fonts to use in menus.
next prev parent reply other threads:[~2014-05-11 4:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-10 20:18 x popup menu does not honor font faces Paul K
2014-05-11 4:19 ` Eli Zaretskii [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-05-11 18:18 Mat
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=83iopdueu9.fsf@gnu.org \
--to=eliz@gnu.org \
--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).