* bug#1126: Xresources override face settings
@ 2008-10-09 23:48 Chong Yidong
2008-10-10 3:00 ` Stefan Monnier
0 siblings, 1 reply; 4+ messages in thread
From: Chong Yidong @ 2008-10-09 23:48 UTC (permalink / raw)
To: Stefan Monnier; +Cc: 1126
> % xrdb -remove
> % echo 'Emacs.font: -misc-fixed-medium-r-semicondensed--13-*-*-*-*-*-*-*' | xrdb -load
> % src/emacs -Q --eval '(customize-face (quote variable-pitch))'
>
> I get a buffer that shows that `variable-pitch' should use a "Sans
> Serif" family, yet C-u C-x = on the "sample" text shows that it's
> actually using
> -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1.
The `variable-pitch' face is defined with `Sans Serif' as the family in
faces.el. The font backend regards `Sans Serif' as a match for `fixed',
in accordance with face-font-family-alternatives. I'm not sure what the
problem is; could you elaborate?
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#1126: Xresources override face settings
2008-10-09 23:48 bug#1126: Xresources override face settings Chong Yidong
@ 2008-10-10 3:00 ` Stefan Monnier
0 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2008-10-10 3:00 UTC (permalink / raw)
To: Chong Yidong; +Cc: 1126
>> % xrdb -remove
>> % echo 'Emacs.font: -misc-fixed-medium-r-semicondensed--13-*-*-*-*-*-*-*' | xrdb -load
>> % src/emacs -Q --eval '(customize-face (quote variable-pitch))'
>>
>> I get a buffer that shows that `variable-pitch' should use a "Sans
>> Serif" family, yet C-u C-x = on the "sample" text shows that it's
>> actually using
>> -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1.
> The `variable-pitch' face is defined with `Sans Serif' as the family in
> faces.el. The font backend regards `Sans Serif' as a match for `fixed',
> in accordance with face-font-family-alternatives. I'm not sure what the
> problem is; could you elaborate?
I do have "Sans Serif", it is normally mapped to Vera Bitstream, by
fontconfig, not to "fixed". And if I change "Sans Serif" to something
else, it makes no difference, no matter what I type in that field.
I just figured that I can "fix" things by setting variable-pitch's
`width' to `medium' rather than to unset (which falls back on the
default face's `semicondensed').
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <87ocybmegr.fsf@cyd.mit.edu>]
* bug#1126: Xresources override face settings
@ 2008-10-09 5:16 Stefan Monnier
0 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2008-10-09 5:16 UTC (permalink / raw)
To: submit
Package: Emacs
Version: 23.0.60
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
When I do
% xrdb -remove
% echo 'Emacs.font: -misc-fixed-medium-r-semicondensed--13-*-*-*-*-*-*-*' | xrdb -load
% src/emacs -Q --eval '(customize-face (quote variable-pitch))'
I get a buffer that shows that `variable-pitch' should use a "Sans
Serif" family, yet C-u C-x = on the "sample" text shows that it's
actually
using -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1.
Apparently no amount of changing the `family' setting will change the
font used for that face.
Stefan
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/home/monnier/src/emacs/work/etc/DEBUG for instructions.
In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.11)
of 2008-10-05 on pastel
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure 'CFLAGS=-Wall -Wno-pointer-sign -DUSE_LISP_UNION_TYPE -DSYNC_INPUT -DENABLE_CHECKING -DXASSERTS -DFONTSET_DEBUG -g -O0' 'LDFLAGS=-L/home/monnier/src/Xaw3d' 'CPPFLAGS=-I/home/monnier/src/Xaw3d''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
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: fr_CH.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: Article
Minor modes in effect:
url-handler-mode: t
global-reveal-mode: t
reveal-mode: t
auto-insert-mode: t
savehist-mode: t
minibuffer-electric-default-mode: t
cua-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<right> <up> <up> <left> <right> <right> <right> <right>
<right> <right> <right> M-d M-q C-e <right> <up> <left>
<right> <down> <left> <right> <down> <left> <right>
<up> <up> <left> <right> <down> <left> <right> <down>
<left> <right> <up> <up> <left> <right> <down> <left>
<right> <down> <left> <right> <up> <up> <left> <right>
<down> <left> <right> <down> <left> <right> <down>
<left> <down> <left> <right> <down> <left> C-d C-d
C-d C-d C-e <right> C-k C-n C-n C-k C-k C-k C-k C-k
C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k
C-k C-k C-k C-k C-k C-k C-k C-k T h a n k s , SPC b
u t SPC I ' m SPC a l r e a d y SPC p v e r SPC m y
SPC <M-backspace> <M-backspace> s w a m p e d SPC e
n o u g h SPC w i t h SPC E m a c s , <return> <return>
<return> M-i S t e f a n <return> <help-echo> <switch-frame>
<select-window> <help-echo> <switch-frame> <select-window>
<switch-frame> <select-window> <help-echo> <switch-frame>
<select-window> C-c C-c <switch-frame> <select-window>
<select-window> <switch-frame> <select-window> <help-echo>
<left> n <switch-frame> <switch-frame> <select-window>
<switch-frame> q <switch-frame> <switch-frame> <switch-frame>
<switch-frame> <select-window> <help-echo> <select-window>
<help-echo> <switch-frame> <select-window> <switch-frame>
<switch-frame> <help-echo> <select-window> <help-echo>
<switch-frame> <select-window> <switch-frame> <select-window>
<switch-frame> <select-window> <switch-frame> <select-window>
<help-echo> <switch-frame> <select-window> <switch-frame>
<select-window> <select-window> <select-window> <switch-frame>
<switch-frame> <select-window> <switch-frame> <select-window>
<help-echo> <switch-frame> <select-window> <help-echo>
<select-window> <up> C-x b <return> C-x b <return>
q q <switch-frame> <switch-frame> <switch-frame> <select-window>
<help-echo> <select-window> q q <switch-frame> <switch-frame>
<switch-frame> <select-window> <help-echo> <select-window>
C-x b <return> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <down> <down> <down> <down> <down> <down>
<select-window> <help-echo> M-x r e p o r t - e m <tab>
<return>
Recent messages:
Failed opening connection: (error news.gmane.org/nntp Échec temporaire dans la résolution du nom) [2 times]
Entering debugger...
Back to top level.
Auto-saving...
Denied server nntp+gmane
Entering debugger...
Back to top level.
Denied server nntp+gmane
Entering debugger...
Back to top level.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-01-13 20:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-09 23:48 bug#1126: Xresources override face settings Chong Yidong
2008-10-10 3:00 ` Stefan Monnier
[not found] <87ocybmegr.fsf@cyd.mit.edu>
[not found] ` <jwvwsczm4vq.fsf-monnier+emacsbugreports@gnu.org>
2009-01-13 20:04 ` Chong Yidong
-- strict thread matches above, loose matches on Subject: below --
2008-10-09 5:16 Stefan Monnier
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.