From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "James Aguilar" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#429: 23.0.60; Face settings not preserved in new frame Date: Mon, 16 Jun 2008 10:37:38 -0700 Message-ID: Reply-To: James Aguilar , 429@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_12598_22619218.1213637858522" X-Trace: ger.gmane.org 1213642438 29806 80.91.229.12 (16 Jun 2008 18:53:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Jun 2008 18:53:58 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 16 20:54:39 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K8Jqa-0007hp-PB for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jun 2008 20:54:33 +0200 Original-Received: from localhost ([127.0.0.1]:36909 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8Jpm-0002FF-KN for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jun 2008 14:53:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8InR-0000ML-Kj for bug-gnu-emacs@gnu.org; Mon, 16 Jun 2008 13:47:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8InP-0000L8-EE for bug-gnu-emacs@gnu.org; Mon, 16 Jun 2008 13:47:12 -0400 Original-Received: from [199.232.76.173] (port=36320 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8InP-0000L4-AN for bug-gnu-emacs@gnu.org; Mon, 16 Jun 2008 13:47:11 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58198) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K8InO-0000fE-H1 for bug-gnu-emacs@gnu.org; Mon, 16 Jun 2008 13:47:11 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5GHl8qZ002555; Mon, 16 Jun 2008 10:47:08 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m5GHj3Bo001438; Mon, 16 Jun 2008 10:45:03 -0700 X-Loop: don@donarmstrong.com Resent-From: "James Aguilar" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 16 Jun 2008 17:45:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 429 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121363787332670 (code B ref -1); Mon, 16 Jun 2008 17:45:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 16 Jun 2008 17:37:53 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5GHbheX032664 for ; Mon, 16 Jun 2008 10:37:44 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:51278) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1K8IcA-0008Jg-Cm for emacs-pretest-bug@gnu.org; Mon, 16 Jun 2008 13:35:34 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1K8IeC-0007sO-Bp for emacs-pretest-bug@gnu.org; Mon, 16 Jun 2008 13:37:42 -0400 Original-Received: from wf-out-1314.google.com ([209.85.200.175]:16849) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K8IeB-0007rC-U7 for emacs-pretest-bug@gnu.org; Mon, 16 Jun 2008 13:37:40 -0400 Original-Received: by wf-out-1314.google.com with SMTP id 28so5379708wfc.24 for ; Mon, 16 Jun 2008 10:37:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=q8tjd71wSHRmFr7/KApGgkJJxGZTi/OJQQ8npLun/kg=; b=Rhf6+2zp4V0Rjl4XApTPubKiB87jN3FTZHpHDzJ13yCRRPrSa+KUSn3J86ugQj5c2H l+CtOWLLkg9f8EfH/RXfnvNmFBXPK4HSR6J0nW0CkJp00QVyxITlLtxnjle7//51cCfS 5H3hxH5SEHa2guSjt0h7zOleYOmQHsbfggQqI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=OQuhOwMLcKbpmEpWFvpYqQWPcMVcCjethhG1zc+IoVf5ZAVbpUG65krDK+9U77KA5b EdT/NsgmW2rPLyN0SvhtGCCwzJBi9vlE0AmyMzpybJdWUu0H2yZv9dqAODnAKib5aR7P UDVQ5GmcCokhx3HTunazydV+2AOzS9ZSFTGHk= Original-Received: by 10.142.128.6 with SMTP id a6mr2480492wfd.68.1213637858544; Mon, 16 Jun 2008 10:37:38 -0700 (PDT) Original-Received: by 10.143.39.5 with HTTP; Mon, 16 Jun 2008 10:37:38 -0700 (PDT) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Mon, 16 Jun 2008 13:47:12 -0400 X-Mailman-Approved-At: Mon, 16 Jun 2008 14:53:18 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18425 gmane.emacs.pretest.bugs:22644 Archived-At: ------=_Part_12598_22619218.1213637858522 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 * M-x d e s c r f a c C-x k C-x 0 M-x d e s c r f a c o n s k o l a s C-x C-s C-x 5 2 C-x 5 0 C-x 5 2 M-x c s u u s t f - f d e f a u l t M-x c u s t - v a r d e f a u l t - f r a m e - a s l l s t i s t C-x 5 0 M-x e m a c b u g r e p o t r 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... ------=_Part_12598_22619218.1213637858522 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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...

------=_Part_12598_22619218.1213637858522--