From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.bugs Subject: bug#9337: 24.0.50; M-x customize-create-theme not behaving as expected Date: Sun, 21 Aug 2011 23:07:32 +0530 Message-ID: <81sjou7jj7.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1313948339 16188 80.91.229.12 (21 Aug 2011 17:38:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 21 Aug 2011 17:38:59 +0000 (UTC) To: 9337@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 21 19:38:50 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QvByz-0006wn-LN for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Aug 2011 19:38:49 +0200 Original-Received: from localhost ([::1]:57920 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvByy-0002yf-Td for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Aug 2011 13:38:48 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvByw-0002yM-Ex for bug-gnu-emacs@gnu.org; Sun, 21 Aug 2011 13:38:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QvByv-00060D-FP for bug-gnu-emacs@gnu.org; Sun, 21 Aug 2011 13:38:46 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvByv-000609-CZ for bug-gnu-emacs@gnu.org; Sun, 21 Aug 2011 13:38:45 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QvC18-00050q-DD; Sun, 21 Aug 2011 13:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jambunathan K Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Aug 2011 17:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9337 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.131394845219251 (code B ref -1); Sun, 21 Aug 2011 17:41:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Aug 2011 17:40:52 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QvC0y-00050R-Cy for submit@debbugs.gnu.org; Sun, 21 Aug 2011 13:40:52 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QvC0v-00050K-F7 for submit@debbugs.gnu.org; Sun, 21 Aug 2011 13:40:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QvByf-0005xk-RK for submit@debbugs.gnu.org; Sun, 21 Aug 2011 13:38:32 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:42492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvByf-0005xg-PF for submit@debbugs.gnu.org; Sun, 21 Aug 2011 13:38:29 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvBye-0002uu-PB for bug-gnu-emacs@gnu.org; Sun, 21 Aug 2011 13:38:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QvByc-0005wW-Vu for bug-gnu-emacs@gnu.org; Sun, 21 Aug 2011 13:38:28 -0400 Original-Received: from mail-pz0-f44.google.com ([209.85.210.44]:51340) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvByc-0005w8-O4 for bug-gnu-emacs@gnu.org; Sun, 21 Aug 2011 13:38:26 -0400 Original-Received: by pzk36 with SMTP id 36so8976281pzk.17 for ; Sun, 21 Aug 2011 10:38:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type; bh=SFOy0Qn/UE+sDozfj7pdyKLHwy2PvEOPQSx8/nVUlKA=; b=QVrSFx6qa/FU4If2emegmz2iCcEFDkSo14PdNWyXGGiYIaXlRDc21AIuQ/JK2X6JNR JVYSIAuHDskNgS5lKOy0i/+RbfEkZRvreCV2jBzBhGN77uNOrV8UimXXCiCe0zUDqSE8 RkNHJJMiAeiHSqg4XHPsA2Xc1Low2UW9Vek8o= Original-Received: by 10.142.126.1 with SMTP id y1mr1136168wfc.202.1313948305736; Sun, 21 Aug 2011 10:38:25 -0700 (PDT) Original-Received: from JAMBU-NETBOOK ([115.184.79.230]) by mx.google.com with ESMTPS id s3sm3770746pbg.29.2011.08.21.10.38.21 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 21 Aug 2011 10:38:24 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 21 Aug 2011 13:41:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:50196 Archived-At: Summary: M-x customize-create-theme followed by "Save Theme" is not dumping all my face configurations. Details: 1. Start emacs for regular use. 2. M-x customizec-create-theme RET (when prompted say y) 3. Note that it dumps face definitions that are currently active. (My face definitions belongs to pre-theme era and is handcrafted and saved through the regular customize interface) 4. Make no changes to the offered faces and click on "Save Theme" 5. Visit the theme file so created. 6. Note that the theme file contains ZERO face definitions. Here is a dump of M-x list-command-history RET ,---- | (find-file "c:/Documents and Settings/kjambunathan/My Documents/My Data/.emacs.d/xyz-theme.el") | (customize-create-theme) `---- Here is a dump of C-h e as I go through the above motions (shows only the relevant portions) ,---- | Recent messages: | Include basic face customizations in this theme? (y or n) y | Saving file c:/Documents and Settings/kjambunathan/My Documents/My Data/.emacs.d/xyz-theme.el... | Wrote c:/Documents and Settings/kjambunathan/My Documents/My Data/.emacs.d/xyz-theme.el | Theme written to c:/Documents and Settings/kjambunathan/My Documents/My Data/.emacs.d/xyz-theme.el `---- Here is a dump of xyz-theme.el ,----[ xyz-theme.el ] | (deftheme xyz | "Created 2011-08-21.") | | (custom-theme-set-faces | 'xyz | ) | | (provide-theme 'xyz) `---- I expect to see all my face configurations saved in the above file. Unfortunately I see ZERO face definitions. FWIW, I use a green-on-black as my default face along with other configurations. So I do have local changes to my faces. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2011-08-09 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.5) --no-opt' 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: ENG value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Quit Making completion list... Quit Mark set Quit Making completion list...