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: Wed, 21 Dec 2016 18:39:51 +0100 Message-ID: <20161221173951.ywvhpvbtucq4vvfq@boole.suse.de> References: <83oa074y73.fsf@gnu.org> <5858289B.2070500@gmx.at> <83fulj4uhu.fsf@gnu.org> <58584121.1070404@gmx.at> <83d1gn4pl2.fsf@gnu.org> <58590F28.9040309@gmx.at> <20161221081104.3nd6sga4cyi6q7wl@boole.suse.de> <20161221084746.j6taegtb76rufwek@boole.suse.de> <8360md2o24.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tybm3ufvlzeqqjyp" X-Trace: blaine.gmane.org 1482342029 14919 195.159.176.226 (21 Dec 2016 17:40:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Dec 2016 17:40:29 +0000 (UTC) User-Agent: Mutt/1.6.2 (2016-07-01) Cc: 25228@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 21 18:40:25 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 1cJksB-0002Dn-9u for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Dec 2016 18:40:15 +0100 Original-Received: from localhost ([::1]:58262 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJksE-0006qn-Dc for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Dec 2016 12:40:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJks2-0006mC-3j for bug-gnu-emacs@gnu.org; Wed, 21 Dec 2016 12:40:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJkry-0006Ou-1Q for bug-gnu-emacs@gnu.org; Wed, 21 Dec 2016 12:40:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35078) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cJkrx-0006Oj-Ti for bug-gnu-emacs@gnu.org; Wed, 21 Dec 2016 12:40:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cJkrx-0001sQ-LZ for bug-gnu-emacs@gnu.org; Wed, 21 Dec 2016 12:40: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: Wed, 21 Dec 2016 17:40: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: Original-Received: via spool by 25228-submit@debbugs.gnu.org id=B25228.14823419987201 (code B ref 25228); Wed, 21 Dec 2016 17:40:01 +0000 Original-Received: (at 25228) by debbugs.gnu.org; 21 Dec 2016 17:39:58 +0000 Original-Received: from localhost ([127.0.0.1]:50477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cJkru-0001s5-7b for submit@debbugs.gnu.org; Wed, 21 Dec 2016 12:39:58 -0500 Original-Received: from mx2.suse.de ([195.135.220.15]:36648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cJkrs-0001rx-AI for 25228@debbugs.gnu.org; Wed, 21 Dec 2016 12:39:56 -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 168B4AD1F; Wed, 21 Dec 2016 17:39:55 +0000 (UTC) Content-Disposition: inline In-Reply-To: <8360md2o24.fsf@gnu.org> 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:127301 Archived-At: --tybm3ufvlzeqqjyp Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 21, 2016 at 07:24:03PM +0200, Eli Zaretskii wrote: > > Date: Wed, 21 Dec 2016 09:47:46 +0100 > > From: "Dr. Werner Fink" > > Cc: martin rudalics , 25228@debbugs.gnu.org > >=20 > > There seems to be also an other place where rounding does not fit. With= system > > font set, that is no custom font at all the height of the same font are= different, > > that is=20 > >=20 > > (font-face-attributes (font-get-system-font)) > >=20 > > results in > >=20 > > (:family "Monospace" :height 110) > >=20 > > whereas=20 > >=20 > > (font-face-attributes (face-attribute 'default :font)) > >=20 > > shows > >=20 > > (:family "Source Code Pro" :height 113 :weight normal :slant normal := width normal) > >=20 > > which is the same font (even over different channels) but different hei= ght. I've > > verified this by using > >=20 > > (custom-set-faces '(default ((t (:family "Source Code Pro" :height 11= 0 :weight normal :slant normal :width normal))))) > > (custom-set-faces '(default ((t (:family "Monospace" :height 110))))) >=20 > I see nothing particularly surprising here: "Monospace" is a family, > of which Emacs selected one specific monospaced font. Why do you see > this as a problem? I'm aware nevertheless ... why should an already loaded font be reloaded with exactly the same attributes because it is not possible to detect that equality ... beside the rounding problems it is superfluous --=20 "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr --tybm3ufvlzeqqjyp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABAgAGBQJYWr5nAAoJEFDpDVUdwWsuGaAP/jv+J3d5PfRTrreAiOKkzCiU Cmmv2N9TOdBqGH25JgHdTcfISp98dM+xAbnmf3XGowolXYITOS93COphdBQvm1Ed vhfMu9MOzcAFhm5/ExYxkySj8JKJBIAj56t7yvBYvda6vEdi1Vsd2iIaACcI6gEy CXqe1b7SQ3kvplNmFXxgz8EiPmXtQoZYQUsSffEyRozS1gXg5jw7Vp1EQxI/9OOO lCPxot4hWkUgD2AoBGa6qg7Q4XTp41pCW6UEdViVMl84CLWlFrf6t+iMGij8xVnx wi24W7wWevBTeWb+f7i708N22lvZ/z5uaA+Q1FNQAY6aCm7zPXISCLWmUx8My3wo DBLHRTKxF84J5Al1OQZRWhjpDK0Nyse8WDNlNAEERmJtS0j9jV3SgIV3oAsaN5H4 0YTd1zSur0rJDqSleOtG3lwtdXpDQOmhTCzEzK45tiNCZmtvWV83xIlwdeO9i8cQ e3Fi3N8VCIwHmLmKoE+tiiNd8TAO2sBxJf46cRoXhM9IIc20VXuvMrR7wKyNWVqG BX0iOiXNc95mVnCdCLA4VNwNuBPlQHRyQCNNXIOMjdk+qO2lXfcyQQWDaXJ5BYXj SKCltAL4zH9zQgTQQZAKfo8ZykdDYYsexH+meuEyZGRsTQPnG2UCYEnwzt5ohOkd E9V2CpDtxcJH1YtxFppH =4qHQ -----END PGP SIGNATURE----- --tybm3ufvlzeqqjyp--