unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Peter Dyballa <peter_dyballa@freenet.de>
To: 6127@debbugs.gnu.org
Subject: bug#6127: 24.0.50; crash because of missing font for menus
Date: Thu, 6 May 2010 23:16:33 +0200	[thread overview]
Message-ID: <E3CB8A41-4290-4492-9849-DFA244BD0CA2@freenet.de> (raw)

Hello!

Trying to debug a failure in font handling by the X server – XQuartz  
2.5.1 (xorg-server 1.8.0.902) – I removed some elements from Font  
Path. When I now open a menu either from menu-bar or by making it pop  
up, GNU Emacs reports:

	Warning: Cannot convert string "-*-frutiger linotype-bold-r-normal- 
*-10-*-*-*-*-*-iso10646-1" to type FontStruct

It comes from the X resource

	Emacs*menu*font:	-*-frutiger linotype-bold-r-normal-*-10-*-*-*-*-*- 
iso10646-1

When the menus just open no crash happens. It also does not happen  
when I select an item from a menu I open from the menu-bar, as in this  
case, when I invoked the function to report a bug from the Help menu.  
The crash happens when I select a menu entry from a pop-up menu or  
close the pop-up menu after I have entered the next menu level. So it  
works to change text font size, but buffer selection or selection of  
another font or fontset from the next menu level lead to the crash,  
and just closing that menu unused as well.

GNU Emacs 23.1.93 complains the same way about the font, but it never  
crashes.

BTW, the X resource setting does not seem to work well: some other  
font is used, one, which is *always* available. I also remember that  
some update (bzr pull -v) mentioned a message that due to some changes  
in text handling of Xaw based menus (to display UTF-8 encoded text  
correctly) some X resources were changed. Where are these names  
recorded or documented?



In GNU Emacs 24.0.50.1 (powerpc-apple-darwin9.8.0, X toolkit, Xaw3d  
scroll bars)
  of 2010-05-06 on Latsche.local
Windowing system distributor `The X.Org Foundation', version  
11.0.10800902
configured using `configure  '--without-sound' '--without-dbus' '-- 
without-pop' '--without-gconf' '--with-x-toolkit=athena' '--x- 
libraries=/usr/X11/lib' '--x-includes=/usr/X11/include' '--enable- 
locallisppath=/Library/Application Support/Emacs/calendar24:/Library/ 
Application Support/Emacs' 'CFLAGS=-g -H -Wno-pointer-sign -pipe -fPIC  
-fno-common -mcpu=7450 -mtune=7450 -faltivec -fast' 'CPPFLAGS='  
'LDFLAGS=' 'CC=gcc-4.2' 'CPP=cpp-4.2' 'PKG_CONFIG_PATH=/sw/lib/pango- 
ft219/lib/pkgconfig:/sw/lib/xft2/lib/pkgconfig:/sw/lib/fontconfig2/lib/ 
pkgconfig:/sw/lib/freetype219/lib/pkgconfig:/sw/lib/pkgconfig:/sw/ 
share/pkgconfig:/usr/lib/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/ 
share/pkgconfig''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: de_DE.UTF-8
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: de_DE.UTF-8
   value of $XMODIFIERS: nil
   locale-coding-system: utf-8-unix
   default enable-multibyte-characters: t

Major mode: Dired by name

Minor modes in effect:
   TeX-PDF-mode: t
   auto-revert-mode: t
   shell-dirtrack-mode: t
   diff-auto-refine-mode: t
   show-paren-mode: t
   display-time-mode: t
   desktop-save-mode: t
   delete-selection-mode: t
   tooltip-mode: t
   mouse-wheel-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t

Recent input:
y <C-down-mouse-1> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu>
<send-emacs-bug-report>

--
Mit friedvollen Grüßen

   Pete

It isn't pollution that's harming the environment. It's the impurities  
in our air and water that are doing it.








             reply	other threads:[~2010-05-06 21:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-06 21:16 Peter Dyballa [this message]
2010-05-07  7:01 ` bug#6127: 24.0.50; crash because of missing font for menus Jan Djärv
2010-05-07 21:22   ` Peter Dyballa
2010-05-07 23:05   ` Peter Dyballa
2010-05-08 15:34     ` Jan Djärv

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=E3CB8A41-4290-4492-9849-DFA244BD0CA2@freenet.de \
    --to=peter_dyballa@freenet.de \
    --cc=6127@debbugs.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.
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).