When I create a new frame in emacs (C-x 5 2), my face settings are not
preserved in the new frame. Instead, the default adobe-courier font is
displayed. Here are the steps to reproduce my problem:
1. Open emacs with an empty .emacs file.
2. Run the command customize-face. Type "default", and press enter.
3. Change the default face size from 122 to 80.
4. Select "Save for future sessions" from the state context menu.
5. Press the following key sequence: C-x 5 2
When I perform this set of actions in my emacs, the font
deterministically reverts to the original adobe courier 122 size. If
I run the customize-face command on the default face again, it will
say that the default face is still the 12.2 pt face, not the 8.0 pt
face I selected earlier.
I am reporting this bug from Ubuntu Gutsy, running in gnome 2.20.1. I
do not have any other systems, so I am not certain I can reproduce
this failure. I'd be happy to try and fix it myself if someone will
point me in the direction of the code where this problem might be
coming from.
In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0)
of 2008-06-16 on sea
Windowing system distributor `The X.Org Foundation', version 11.0.10300000
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: C
value of $XMODIFIERS: nil
locale-coding-system: nil
default-enable-multibyte-characters: t
Major mode: Custom
Minor modes in effect:
tooltip-mode: t
tool-bar-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
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:
8 0 <help-echo> <help-echo> <help-echo> <help-echo>
<down-mouse-1> <help-echo> <help-echo> <down-mouse-1>
<mouse-1> * <help-echo> <help-echo> <help-echo> <help-echo>
<down-mouse-1> <help-echo> <help-echo> <down-mouse-1>
<mouse-1> <down-mouse-1> <mouse-movement> <mouse-1>
<down-mouse-1> <mouse-movement> <mouse-1> <help-echo>
<down-mouse-1> <mouse-1> <help-echo> M-x <help-echo>
d e s c r <tab> f a c <tab> <return> <return> <help-echo>
<help-echo> <help-echo> <down-mouse-1> <mouse-1> <next>
C-x k <return> C-x 0 <up> <up> <up> <up> <up> <up>
<up> <up> <up> M-x d e s c r <tab> f <tab> a <tab>
<return> <return> <left> <left> <left> <left> <left>
<left> <left> <left> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <up> <up>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <down-mouse-1>
<mouse-movement> <mouse-1> <help-echo> <help-echo>
<down-mouse-1> <mouse-1> <S-home> c o n s <S-end> k
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> o l a s <help-echo> <help-echo>
<down-mouse-1> <help-echo> <help-echo> <help-echo>
<down-mouse-1> <mouse-movement> <mouse-1> C-x C-s <down-mouse-1>
<mouse-1> C-x 5 2 <switch-frame> <help-echo> <down-mouse-1>
<mouse-movement> <mouse-1> C-x 5 0 <down-mouse-1> <mouse-1>
C-x 5 2 <switch-frame> <down-mouse-1> <mouse-movement>
<mouse-1> M-x c s u <backspace> <backspace> u s t <tab>
f <tab> <backspace> - f <tab> <return> d e f a u l
t <return> <help-echo> <down-mouse-1> <mouse-1> <down-mouse-1>
<mouse-1> M-x c u s t <tab> - v a r <tab> <return>
d e f a u l t - f r a m e - a s l <backspace> <backspace>
l s t <backspace> <backspace> i s t <return> <help-echo>
<down-mouse-1> <mouse-movement> <mouse-1> C-x 5 0 <down-mouse-1>
<mouse-1> M-x e m a c <tab> b u g <tab> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> r e
p o <tab> t <tab> <backspace> r <tab> <return>
Recent messages:
Creating face editor...done
Creating customization items ...done
Resetting customization items...done
Creating customization setup...done
Creating customization items...
Creating customization items ...done
Resetting customization items...done
Creating customization setup...done
call-interactively: Text is read-only
Making completion list...