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: Fri, 23 Dec 2016 08:20:03 +0100 Message-ID: <20161223072003.6b47f7l7lldeou4z@boole.suse.de> References: <58584121.1070404@gmx.at> <83d1gn4pl2.fsf@gnu.org> <58590F28.9040309@gmx.at> <20161221081104.3nd6sga4cyi6q7wl@boole.suse.de> <20161221084746.j6taegtb76rufwek@boole.suse.de> <585A43B3.3090702@gmx.at> <20161221110847.zh2fhyrcxiji4sdf@boole.suse.de> <585B9042.2080800@gmx.at> <20161222114616.vp6xa5kh6h3dcd34@boole.suse.de> <585C110D.7070009@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qzimgstrf6bncvaw" X-Trace: blaine.gmane.org 1482477673 5130 195.159.176.226 (23 Dec 2016 07:21:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 23 Dec 2016 07:21:13 +0000 (UTC) User-Agent: Mutt/1.6.2 (2016-07-01) Cc: 25228@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 23 08:21:09 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 1cKKA8-0000wg-LH for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Dec 2016 08:21:08 +0100 Original-Received: from localhost ([::1]:37716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKKAD-0002la-6M for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Dec 2016 02:21:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKKA6-0002lJ-BJ for bug-gnu-emacs@gnu.org; Fri, 23 Dec 2016 02:21:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cKKA2-0005Kc-Cu for bug-gnu-emacs@gnu.org; Fri, 23 Dec 2016 02:21:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36622) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cKKA2-0005KU-AD for bug-gnu-emacs@gnu.org; Fri, 23 Dec 2016 02:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cKKA2-0004nc-5Z for bug-gnu-emacs@gnu.org; Fri, 23 Dec 2016 02:21:02 -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: Fri, 23 Dec 2016 07:21:02 +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: Original-Received: via spool by 25228-submit@debbugs.gnu.org id=B25228.148247761118380 (code B ref 25228); Fri, 23 Dec 2016 07:21:02 +0000 Original-Received: (at 25228) by debbugs.gnu.org; 23 Dec 2016 07:20:11 +0000 Original-Received: from localhost ([127.0.0.1]:52021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKK9D-0004mN-0t for submit@debbugs.gnu.org; Fri, 23 Dec 2016 02:20:11 -0500 Original-Received: from mx2.suse.de ([195.135.220.15]:55726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKK9B-0004mF-D7 for 25228@debbugs.gnu.org; Fri, 23 Dec 2016 02:20:09 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Original-Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id CC194ABB4; Fri, 23 Dec 2016 07:20:07 +0000 (UTC) Content-Disposition: inline In-Reply-To: <585C110D.7070009@gmx.at> 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:127349 Archived-At: --qzimgstrf6bncvaw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 22, 2016 at 06:44:45PM +0100, martin rudalics wrote: > >> What are the "both (custom-set-face)"? Can you give me an example? > > > > That was > > > > (custom-set-faces '(default ((t (:family "Source Code Pro" :height 1= 10 :weight normal :slant normal :width normal))))) > > (custom-set-faces '(default ((t (:family "Monospace" :height 110))))) > > > > which in fact do show exactly the same font at the same attributes here. >=20 > I'm still too dense to understand you. Do you mean that one of these > has been implicitly specified in the GSettings file, the other in your > .emacs and although they would result in the same default character > height, Emacs detects a difference in =E2=80=98font-setting-change-defaul= t-font=E2=80=99 > and switches to a larger font? There is no difference and the first (custom-set-faces) is from ~/.emacs and the second is caused by gconf ... it is the same used font with the same attributes. After(!) fixing the DPI rounding in xsettings.c switching between both lines with eval-expression results in no visible difference Werner --=20 Dr. Werner Fink -- Software Engineer Consultant SUSE Linux GmbH, Maxfeldstra=C3=9Fe 5, 90409 N=C3=BCrnberg, Germany DE370832343409169, GF: Felix Imend=C3=B6rffer, Jane Smithard, Jennifer Gui= ld, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nuernberg) phone: +49-911-740-53-0, fax: +49-911-3206727, www.opensuse.org --------------------------------------------------------------------------- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr --qzimgstrf6bncvaw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABAgAGBQJYXNAjAAoJEFDpDVUdwWsurQ0P/2JKKFjKosAWgV4o7TyjfZWH Hh6g7uXSIIDkKS4W50S2ZOvXFiu8Yz6PBArZRodypsGYZ7eACUsea6kC3CH3ja6V yTSh9RvFfiRyiIJD3S9h7lleWRk0VsBp7325oYoJKhcrwitfNtSZfNfEzZ6mWAyH gjTvPek7VNBePb6qBn21O9p9t9aBQk13qn8rKSDTt3bcv0F7wZ4YZKeuA5ItJ8Y1 8/UEI4zOPzUugxFt0AVsPACeg9Vpcf0PHggPHWSU3LqW4omz+XA49aB5BytePqY6 nfqKSHBbHhlmUgsgYk6VUaeN1bcLuDm0oVFFXcNpXO9cs3pwtkGMxSzimP9P24X7 d84oBW067WwfUVJJ9oi2rpCvWNyByqSVbgKUVn6MdKG8/Ow0Bcc/t4QKVinPBNHV ZhRl4CcbVSf5oZhN8WT9FoHqGpFB7Vmfs7sKP5Cpb6o2pJFnLMT3C9k5siH85IZg ANDF09r1nOO0NHZb0Y+MjjckK+qFjHYzhg662zpfyJUil9AldTeOXXI2TjHVtQEZ 5vdv6532IV1myfa+P7t6Drcws3q2UOLb5ten2qHAvmPgfMjPfw0E9vMFdPuULcvC jaTDJy5+t3xYOXNio77k17WBRqnxdDMqRcZ/gfNHYGUKBBGSXG0J5JiN25YOMFok SBtJrvnIFl3mCwknZSnU =1cBF -----END PGP SIGNATURE----- --qzimgstrf6bncvaw--