all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#6478: 23.2; FontBackend 'x' uses GConf settings for new frames
@ 2010-06-20 13:18 Enrico Scholz
  2010-06-22  8:00 ` Jan Djärv
  0 siblings, 1 reply; 2+ messages in thread
From: Enrico Scholz @ 2010-06-20 13:18 UTC (permalink / raw)
  To: 6478

I set 

| Emacs.FontBackend:		x

in my ~/.Xresources.  Beginning with 23.2 (23.1 was ok), I am unable to
create new frames.  E.g. 'ediff-buffers' fails now with

| x-create-frame-with-faces: Font `MiscFixed Medium Semi-Condensed 12' is not defined

Reported fontname changes when the Gconf setting is changed. This bug
can be triggered also by

| (x-create-frame-with-faces (list '(name . "emacs1")))


When I define a

| emacs1.font:			-adobe-courier-medium-r-normal--12-*-*-*-m-*-*-*

Xresource and restart Emacs, things are fine again.  But it does not
scale very well because I would have to define such a setting for every
possible frame.

The 'font-use-system-font' variable is nil.


When using the 'x' FontBackend, Emacs should turn off the GConf font
lookup and inherit its settings from the base emacs Xresources.




In GNU Emacs 23.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.20.1)
 of 2010-05-13 on x86-07.phx2.fedoraproject.org
Windowing system distributor `Fedora Project', version 11.0.10800000
configured using `configure  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=gene
 ric''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  value of $LC_CTYPE: nil
  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: @im=none
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  show-paren-mode: t
  global-whitespace-mode: t
  desktop-save-mode: t
  savehist-mode: t
  delete-selection-mode: t
  pc-selection-mode: t
  shell-dirtrack-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-encryption-mode: t
  auto-compression-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-x C-f / t m <tab> x . e <tab> <return> <up> C-M-S-x 
<right> <right> <right> <right> <right> <right> <right> 
C-x 3 C-x C-f <up> <up> <up> <down> <return> <return> 
<help-echo> <down-mouse-1> <mouse-1> <up> C-M-S-x <down-mouse-1> 
<mouse-1> C-h e M-x e m a x <tab> <backspace> c <tab> 
- <backspace> r <tab> e <tab> <backspace> <backspace> 
b <tab> u <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
r e p o <tab> r <tab> <return>

Recent messages:
Loading dired...done
uncompressing ediff-wind.el.gz...done
Note: file is write protected
uncompressing faces.el.gz...done
Note: file is write protected
Loading cfengine...done
Waiting for process to die...done
Quit
x-create-frame-with-faces: Font `MiscFixed Medium Semi-Condensed 12' is not defined [2 times]
Making completion list...

Load-path shadows:
/usr/share/emacs/site-lisp/camldebug hides /usr/share/emacs/site-lisp/tuareg/camldebug
/usr/share/emacs/site-lisp/gnus-bonus/nnnil hides /usr/share/emacs/23.2/lisp/gnus/nnnil
/usr/share/emacs/site-lisp/gnus-bonus/spam-stat hides /usr/share/emacs/23.2/lisp/gnus/spam-stat
/usr/share/emacs/site-lisp/gnus-bonus/nnir hides /usr/share/emacs/23.2/lisp/gnus/nnir
/usr/share/emacs/site-lisp/goodies/filladapt hides ~/.emacs-config/lisp.emacs/filladapt
/usr/share/emacs/site-lisp/goodies/apache-mode hides ~/.emacs-config/lisp.emacs/apache-mode
/usr/share/emacs/site-lisp/quilt hides ~/.emacs-config/lisp.emacs/quilt
/usr/share/emacs/23.2/lisp/vc-git hides ~/.emacs-config/lisp.xemacs/vc-git
/usr/share/emacs/site-lisp/git hides ~/.emacs-config/lisp.xemacs/git
/usr/share/emacs/site-lisp/git-blame hides ~/.emacs-config/lisp.xemacs/git-blame
/usr/share/emacs/23.2/lisp/desktop hides ~/.emacs-config/lisp.xemacs/desktop
/usr/share/emacs/site-lisp/cmake-mode hides ~/.emacs-config/lisp.xemacs/cmake-mode
/usr/share/emacs/23.2/lisp/calendar/todo-mode hides ~/.emacs-config/lisp.xemacs/todo-mode
/usr/share/emacs/23.2/lisp/progmodes/cfengine hides ~/.emacs-config/lisp.xemacs/cfengine
/usr/share/emacs/site-lisp/psvn hides ~/.emacs-config/lisp/psvn

Features:
(shadow sort mail-extr message idna sendmail ecomplete rfc822 mml
mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse
rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util
netrc time-date mm-util mail-prsvr gmm-utils mailheader canlock sha1
hex-util hashcash mail-utils emacsbug help-mode view cfengine edebug
jka-compr dired vc-git conf-mode newcomment disp-table uniquify byte-opt
paren whitespace desktop savehist font-latex bytecomp byte-compile latex
tex-style tex filladapt iswitchb delsel pc-select speedbar sb-image
ezimage dframe edmacro kmacro redo scroll-in-place u-vm-color
vm-autoloads vm-vars vm-version uim-leim uim advice help-fns
advice-preload uim-helper uim-candidate uim-preedit uim-key uim-util
uim-debug uim-keymap uim-var uim-version preview-latex muse-journal
muse-book muse-wiki muse-docbook muse-texinfo texnfo-upd texinfo
muse-latex muse-html muse-xml-common cus-edit cus-start cus-load
muse-publish muse-project muse-protocols info muse-regexps wid-edit
derived muse muse-nested-tags muse-mode ess-toolbar ess-mouse mouseme
thingatpt browse-url ess-menu ess-swv ess-noweb noweb-font-lock-mode
ess-bugs-l essd-els ess-sas-d ess-sas-l ess-sas-a executable shell
ess-arc-d ess-vst-d ess-xls-d ess-lsp-l ess-sta-d ess-sta-l cc-vars
cc-defs make-regexp ess-sp6-d ess-sp5-d ess-sp3-d ess-r-d ess-r-args
assoc ess-s-l ess-inf ess-utils comint ring ess-mode noweb-mode ess
ess-custom regexp-opt easymenu ess-compat ess-site
emacs-goodies-loaddefs easy-mmode cdargs bbdb-autoloads tex-site
auto-loads tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win
x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register
page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind system-font-setting
font-render-setting gtk x-toolkit x multi-tty emacs)





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#6478: 23.2; FontBackend 'x' uses GConf settings for new frames
  2010-06-20 13:18 bug#6478: 23.2; FontBackend 'x' uses GConf settings for new frames Enrico Scholz
@ 2010-06-22  8:00 ` Jan Djärv
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Djärv @ 2010-06-22  8:00 UTC (permalink / raw)
  To: Enrico Scholz; +Cc: 6478

2010-06-20 15:18, Enrico Scholz skrev:
> I set
>
> | Emacs.FontBackend:		x
>
> in my ~/.Xresources.  Beginning with 23.2 (23.1 was ok), I am unable to
> create new frames.  E.g. 'ediff-buffers' fails now with
>
> | x-create-frame-with-faces: Font `MiscFixed Medium Semi-Condensed 12' is not defined
>
> Reported fontname changes when the Gconf setting is changed. This bug
> can be triggered also by
>
> | (x-create-frame-with-faces (list '(name . "emacs1")))
>
>
> When I define a
>
> | emacs1.font:			-adobe-courier-medium-r-normal--12-*-*-*-m-*-*-*
>
> Xresource and restart Emacs, things are fine again.  But it does not
> scale very well because I would have to define such a setting for every
> possible frame.

Not really:

   Emacs.Font: ...

or

   Emacs.font: ...

should do it.  The Emacs class applies to all frames, regardless of name.

>
> The 'font-use-system-font' variable is nil.
>
>
> When using the 'x' FontBackend, Emacs should turn off the GConf font
> lookup and inherit its settings from the base emacs Xresources.
>

Fix checked in in trunk (i.e. upcoming 24.0).

	Jan D.






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-22  8:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-20 13:18 bug#6478: 23.2; FontBackend 'x' uses GConf settings for new frames Enrico Scholz
2010-06-22  8:00 ` Jan Djärv

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.