From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Dr. Werner Fink" Newsgroups: gmane.emacs.bugs Subject: bug#25228: [emacs-bug] bug#25228: 25.1; GNU emacs 25.1: custom-set-faces from init file ~/.emacs ignored Date: Mon, 19 Dec 2016 16:09:59 +0100 Message-ID: <20161219150959.6egfytohooctpv3a@boole.suse.de> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: blaine.gmane.org 1482165675 17230 195.159.176.226 (19 Dec 2016 16:41:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Dec 2016 16:41:15 +0000 (UTC) User-Agent: Mutt/1.6.2 (2016-07-01) To: 25228@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 19 17:41:12 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cJ0zs-0003TQ-Vj for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Dec 2016 17:41:09 +0100 Original-Received: from localhost ([::1]:46593 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJ0zx-000437-H3 for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Dec 2016 11:41:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJ0zp-00041S-P4 for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 11:41:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJ0zl-00081n-SV for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 11:41:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60650) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cJ0zl-00081X-P5 for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 11:41:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cJ0zl-0005Ta-JV for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 11:41:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Dr. Werner Fink" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Dec 2016 16:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25228 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.148216565421030 (code B ref -1); Mon, 19 Dec 2016 16:41:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Dec 2016 16:40:54 +0000 Original-Received: from localhost ([127.0.0.1]:47816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cJ0zd-0005T8-8l for submit@debbugs.gnu.org; Mon, 19 Dec 2016 11:40:54 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cIza1-00035T-TR for submit@debbugs.gnu.org; Mon, 19 Dec 2016 10:10:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cIzZt-0007jz-H7 for submit@debbugs.gnu.org; Mon, 19 Dec 2016 10:10:16 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:42085) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cIzZt-0007jb-EG for submit@debbugs.gnu.org; Mon, 19 Dec 2016 10:10:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIzZn-0000ak-KJ for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 10:10:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cIzZk-0007Wp-9J for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 10:10:07 -0500 Original-Received: from mx2.suse.de ([195.135.220.15]:40275) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cIzZk-0007Us-2Y for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 10:10:04 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Original-Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 34718ABFA for ; Mon, 19 Dec 2016 15:10:02 +0000 (UTC) Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Mon, 19 Dec 2016 11:40:52 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:127190 Archived-At: On Mon, Dec 19, 2016 at 11:03:06AM +0100, Werner Fink wrote: > > Hi, > > just get a bug report from an user and I've verified that: using > (custom-set-faces) is ignored from ~/.emacs. Using eval-expression > in minibuffer after start shows that the function its self does work. > > The example was > (custom-set-faces '(default ((t (:family "B&H > LucidaTypewriter" :foundry "B&H" :slant normal :weight normal :height 90 > :width normal))))) > > I've tried direct in ~/.emacs as well as with a separate defined custom > file in ~/.emacs with > > (setq custom-file "~/.gnu-emacs-custom") > (load custom-file t t) > > and I've verified that ~/.emacs as well as ~/.gnu-emacs-custom will be > loaded as strace shows. > Using the line (defalias 'dynamic-setting-handle-config-changed-event 'ignore) in ~/.emacs or the custom-file does avoid the problem. The question rises which event does trigger this even and wyh the custom settings are expanded before this even. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr