* x popup menu does not honor font faces.
@ 2014-05-10 20:18 Paul K
2014-05-11 4:19 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Paul K @ 2014-05-10 20:18 UTC (permalink / raw
To: help-gnu-emacs
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?
regards
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: x popup menu does not honor font faces.
2014-05-10 20:18 x popup menu does not honor font faces Paul K
@ 2014-05-11 4:19 ` Eli Zaretskii
0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2014-05-11 4:19 UTC (permalink / raw
To: help-gnu-emacs
> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: x popup menu does not honor font faces.
@ 2014-05-11 18:18 Mat
0 siblings, 0 replies; 3+ messages in thread
From: Mat @ 2014-05-11 18:18 UTC (permalink / raw
To: eliz; +Cc: help-gnu-emacs
> 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.
Eli, Thanks You for clarifying
regards,
Paul
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-05-11 18:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-10 20:18 x popup menu does not honor font faces Paul K
2014-05-11 4:19 ` Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2014-05-11 18:18 Mat
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.