From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Van Holder Newsgroups: gmane.emacs.bugs Subject: bug#7205: 24.0.50; Font customizations not being applied properly at startup Date: Wed, 13 Oct 2010 14:31:57 +0200 Message-ID: References: <874ocqe8uk.fsf@leeloo.anubex.internal> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1286973767 4144 80.91.229.12 (13 Oct 2010 12:42:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Oct 2010 12:42:47 +0000 (UTC) To: 7205@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 13 14:42:46 2010 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.69) (envelope-from ) id 1P60fF-0006R3-KW for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Oct 2010 14:42:41 +0200 Original-Received: from localhost ([127.0.0.1]:43674 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P60fC-0007C1-0u for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Oct 2010 08:42:34 -0400 Original-Received: from [140.186.70.92] (port=42184 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P60et-00078m-0E for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2010 08:42:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P60eq-0007GY-2v for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2010 08:42:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60805) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P60eq-0007GT-0O for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2010 08:42:12 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P60S5-000340-S8; Wed, 13 Oct 2010 08:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tim Van Holder Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Oct 2010 12:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7205 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7205-submit@debbugs.gnu.org id=B7205.128697290911765 (code B ref 7205); Wed, 13 Oct 2010 12:29:01 +0000 Original-Received: (at 7205) by debbugs.gnu.org; 13 Oct 2010 12:28:29 +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 1P60RZ-00033i-Df for submit@debbugs.gnu.org; Wed, 13 Oct 2010 08:28:29 -0400 Original-Received: from mail-ww0-f46.google.com ([74.125.82.46]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P60RY-00033b-4a for 7205@debbugs.gnu.org; Wed, 13 Oct 2010 08:28:28 -0400 Original-Received: by wwb17 with SMTP id 17so1042751wwb.15 for <7205@debbugs.gnu.org>; Wed, 13 Oct 2010 05:31:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=wEwnCLFokmmL8f8+501Rz/jjUv+u3/DBXytk4Pg8nAk=; b=FUghAzatS0wYPuzYtJfhlTLJrbCJ3msVoym3G/uMCW792GCX06txRTg9S5+YeeSegj xASDVXx2yQt7zWlmMZbO+YqnCbavSvbL/4Kk+ZHreEnHKWNk7lTdIaHx23iog2UHXz25 ocj61jDlamltX3BCuJ/cAELxj8KCskhB8H+uM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=IHn5d/yTdv0eSApYVwvcI0YCZQ8wOjbHg9EY6ZOwTP+o35A4bjAinTQPsIUkslHGc6 6aJ8UbRUjT5QIIJfaYzkjMQCsA/rLav8ernSLRV51W/rsUkbPkz+QVSihoGl5J9/l+BW kxhrMh8dgHQJHPAP9937/Jfs6doLTjIv+LuTE= Original-Received: by 10.216.165.77 with SMTP id d55mr8278876wel.23.1286973117177; Wed, 13 Oct 2010 05:31:57 -0700 (PDT) Original-Received: by 10.216.163.65 with HTTP; Wed, 13 Oct 2010 05:31:57 -0700 (PDT) In-Reply-To: <874ocqe8uk.fsf@leeloo.anubex.internal> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 13 Oct 2010 08:29:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , 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:40846 Archived-At: On 13 October 2010 11:32, Tim Van Holder wrote: > This can't be reproduced with 'emacs -Q'. Actually, it turns out customized faces keep on being lost - it's not just my old ones. This means I have a recipe with "emacs -Q" as well: 1) emacs -Q 2) eval (setq custom-file "~/bug7205.el") 3) customize font-lock-comment-face, changing the color to "HotPink", save for future sessions 3) customize font-lock-function-name-face, changing the color to "Goldenrod", save for future sessions 4) Exit emacs At this point bug7205.el contains: (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(font-lock-comment-face ((t (:foreground "HotPink")))) '(font-lock-function-name-face ((t (:foreground "Goldenrod"))))) 5) emacs -Q 6) eval (setq custom-file "~/bug7205.el") 7) eval (load-file custom-file) 8) customize font-lock-comment-face: color is HotPink, but state is STANDARD 9) customize font-lock-function-name-face: color is Goldenrod, but state is STANDARD 10) save for future sessions on font-lock-function-name-face 11) Exit emacs At this point, bug7205.el contains just the stubs - at the point of the save, Custom did not see any faces as customized, so it did not emit anything: (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. )