From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David PONCE Newsgroups: gmane.emacs.devel Subject: face customization saves custom-file twice Date: Tue, 17 Jan 2006 14:09:40 +0100 (CET) Message-ID: <642089.1137503380035.JavaMail.www@wwinf1621> Reply-To: david.ponce@wanadoo.fr NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1137518834 16355 80.91.229.2 (17 Jan 2006 17:27:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 17 Jan 2006 17:27:14 +0000 (UTC) Cc: david@dponce.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 17 18:27:09 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EyubJ-0004eY-3w for ged-emacs-devel@m.gmane.org; Tue, 17 Jan 2006 18:26:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eyude-00051s-My for ged-emacs-devel@m.gmane.org; Tue, 17 Jan 2006 12:28:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Eyrmj-0004Iu-BS for emacs-devel@gnu.org; Tue, 17 Jan 2006 09:26:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EyrBY-0006fF-0k for emacs-devel@gnu.org; Tue, 17 Jan 2006 08:47:53 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eyqd5-0000Zg-CZ for emacs-devel@gnu.org; Tue, 17 Jan 2006 08:12:08 -0500 Original-Received: from [193.252.23.89] (helo=smtp16.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Eyqgl-0007ZO-PR for emacs-devel@gnu.org; Tue, 17 Jan 2006 08:15:56 -0500 Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1603.wanadoo.fr (SMTP Server) with ESMTP id 146DD7000093 for ; Tue, 17 Jan 2006 14:09:40 +0100 (CET) Original-Received: from wwinf1621 (wwinf1621 [172.22.147.45]) by mwinf1603.wanadoo.fr (SMTP Server) with ESMTP id 0AC3C7000086; Tue, 17 Jan 2006 14:09:40 +0100 (CET) X-ME-UUID: 20060117130940441.0AC3C7000086@mwinf1603.wanadoo.fr Original-To: emacs-devel@gnu.org X-Originating-IP: [205.167.7.18] X-Wum-Nature: EMAIL-NATURE X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-CC: |~| X-WUM-REPLYTO: |~| X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:49210 Archived-At: Hi, After I customized a face via M-x customize-face and clicked on the "State" button, "Save for Future Sessions" menu item, I noticed that my `custom-file' has been saved twice. And because of that I lost the backup copy of `custom-file'! I suspect that the problem is in one of the functions: `custom-face-save-command' which calls `custom-face-save', both calling `custom-save-all'. I suppose it should be safe to remove the call to `custom-save-all' from `custom-face-save-command'? However I prefer to let a custom guru fix that ;-) Sincerely, David In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.6.10) of 2006-01-17 on localhost X server distributor `The X.Org Foundation', version 11.0.60802000 configured using `configure '--with-gtk'' 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: en_US.UTF-8 locale-coding-system: utf-8 default-enable-multibyte-characters: t