unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: 9648@debbugs.gnu.org
Subject: bug#9648: 24.0.90; popup-menu doesn't work on Lucid Emacs
Date: Mon, 03 Oct 2011 09:31:45 +0900	[thread overview]
Message-ID: <b4mipo6hq4u.fsf@jpl.org> (raw)
In-Reply-To: <b4md3eg8av6.fsf@jpl.org>

Jan Djärv wrote:
> Katsumi Yamaoka skrev 2011-10-02 03:01:
>> (require 'gnus-art)
>> (popup-menu gnus-mime-button-menu)
>> I get a box that seems to be a menu but no text is displayed in it.

Uhm, I couldn't reproduce it today.  The menu is displayed properly
with text.  Now I'm in the office and use Emacs that I built Friday
on Cygwin under Windows XP.  I'll try it again on Fedora 14 in home
about 14 hours later.

> Does it happen when you start emacs with -Q?  Does it work with
> another font, i.e.

> % emacs -Q -xrm 'Emacs*popup*font: fixed'

> for example.

It works.  But `emacs -Q', `emacs -q' and even `emacs' also work
today. :<

> What is your default font?

I don't know.  I have no personal X resource in both the platforms
because I want Emacs that is vanilla as much as possible when
testing.  Moreover some X resources conflict with XEmacs, IIRC.
So, all the fonts I use normally are set in the ~/.emacs file.
I seem to have no means to customize the menu font as for at least
Lucid Emacs, though (the font for the `menu' face doesn't seems to
be used for popup menus).

On Cygwin, I noticed the font used for the text varies by a way to
launch Emacs.  The font looking like `fixed' is used for the popup
menu if I start Emacs from the command line in xterm, but the one
looking like Helvetica is used if I start Emacs from Cygwin's root
menu.  On the analogy of this, I guess a font that doesn't provide
ASCII text is chosen for some reason when a popup menu is displayed
with no text.

Anyway the solution will probably be to have an X resource for
the default font.  Any other thought?





  reply	other threads:[~2011-10-03  0:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-02  1:01 bug#9648: 24.0.90; popup-menu doesn't work on Lucid Emacs Katsumi Yamaoka
2011-10-02  2:40 ` Glenn Morris
2011-10-02 17:21 ` Jan Djärv
2011-10-03  0:31   ` Katsumi Yamaoka [this message]
2011-10-03 15:03     ` Katsumi Yamaoka
2011-10-03 19:29       ` Jan Djärv
2011-10-04 13:56         ` Katsumi Yamaoka
2022-01-27 17:52       ` Lars Ingebrigtsen
2022-01-27 22:46         ` Katsumi Yamaoka
2022-01-27 22: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

  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=b4mipo6hq4u.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=9648@debbugs.gnu.org \
    --cc=jan.h.d@swipnet.se \
    /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).