unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#429: 23.0.60; Face settings not preserved in new frame
@ 2008-06-16 17:37 James Aguilar
  2008-06-16 19:18 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: James Aguilar @ 2008-06-16 17:37 UTC (permalink / raw
  To: emacs-pretest-bug

[-- Attachment #1: Type: text/plain, Size: 4516 bytes --]

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...

[-- Attachment #2: Type: text/html, Size: 6315 bytes --]

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

* bug#429: 23.0.60; Face settings not preserved in new frame
  2008-06-16 17:37 bug#429: 23.0.60; Face settings not preserved in new frame James Aguilar
@ 2008-06-16 19:18 ` Stefan Monnier
  2008-06-16 19:55   ` James Aguilar
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2008-06-16 19:18 UTC (permalink / raw
  To: James Aguilar; +Cc: emacs-pretest-bug, 429

merge 429 47
thanks

This is a known problem, see bug#47 at
http://emacsbugs.donarmstrong.com/emacs/


        Stefan

>>>>> "James" == James Aguilar <aguilar.james@gmail.com> writes:

> 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...






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

* bug#429: 23.0.60; Face settings not preserved in new frame
  2008-06-16 19:18 ` Stefan Monnier
@ 2008-06-16 19:55   ` James Aguilar
  0 siblings, 0 replies; 3+ messages in thread
From: James Aguilar @ 2008-06-16 19:55 UTC (permalink / raw
  To: Stefan Monnier; +Cc: emacs-pretest-bug

[-- Attachment #1: Type: text/plain, Size: 5577 bytes --]

I looked at bug 47 and saw nothing but the bug report.  Does this mean that
no one has fixed or even discussed the bug, or is the discussion housed
eleswhere.  Is there another place where I can report this bug where it may
receive more attention?  Is there another list where I can ask for advice
about how to find the source of the problem and fix it?

On Mon, Jun 16, 2008 at 12:18 PM, Stefan Monnier <monnier@iro.umontreal.ca>
wrote:

> merge 429 47
> thanks
>
> This is a known problem, see bug#47 at
> http://emacsbugs.donarmstrong.com/emacs/
>
>
>        Stefan
>
> >>>>> "James" == James Aguilar <aguilar.james@gmail.com> writes:
>
> > 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...
>

[-- Attachment #2: Type: text/html, Size: 7987 bytes --]

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

end of thread, other threads:[~2008-06-16 19:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-16 17:37 bug#429: 23.0.60; Face settings not preserved in new frame James Aguilar
2008-06-16 19:18 ` Stefan Monnier
2008-06-16 19:55   ` James Aguilar

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).