From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: arthur miller Newsgroups: gmane.emacs.devel Subject: RE: Is this "save practice" (setting default font scale)? Date: Sat, 21 Nov 2020 17:05:06 +0000 Message-ID: References: <83mtzcys9g.fsf@gnu.org> <577ecfa0-701d-1775-108f-ddaeea0b4d11@inventati.org> , <835z5yzofc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_AM0PR06MB65774F5E57395F1DE44E7D0E96FE0AM0PR06MB6577eurp_" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16595"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "manuel.uberti@inventati.org" , "emacs-devel@gnu.org" To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 21 18:06:14 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kgWKz-0004C8-Ij for ged-emacs-devel@m.gmane-mx.org; Sat, 21 Nov 2020 18:06:13 +0100 Original-Received: from localhost ([::1]:56288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgWKy-0003mI-Kr for ged-emacs-devel@m.gmane-mx.org; Sat, 21 Nov 2020 12:06:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58626) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgWK6-000311-Hb for emacs-devel@gnu.org; Sat, 21 Nov 2020 12:05:18 -0500 Original-Received: from mail-oln040092072077.outbound.protection.outlook.com ([40.92.72.77]:32225 helo=EUR03-VE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgWK2-0007y3-Bl; Sat, 21 Nov 2020 12:05:18 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E9dUrhXrLy7hzoAz8LbyTW2fse3o3p2eztz9i0bLNYLzKcLkkMjyc2pWwa3TpLFbZKCvwo3OchoFJnvuxvTxVkQBZHDVQ1hcA2f9ppVnCmky2njXdSksX+3LJfAHPTPAQRvbEI2j9+2YbjekXHjbpgryTOuH33A24jL0+CaY2l2IkQYpQIIf2xc56+sknz8ajnnMdnG6YhJTN3tug1DO0SvmH3qrnHdAxnqpFXjpfIg4oqbme+Z8d7JUysK7mzHf+6KAJNrpjkdHGGdGav9z6AuVZRwKt4uaZ2qr+b3omOs/GIqBzqBL6Uyw5FjF6FDYrqI3Ts0aIcF34EuqeQkFqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HUyVv63Cbp4QjC9tdFO/g7DJBs8AhYp2DF4MXNDpIbw=; b=jT5ZB8cBJ/3UjkmQLUzSydk/FphRoNsMW3twF63hL4TnTuqxCigNy/fQ0PtjxNuJRkXYkz/CIhSkBpY++fWE+6UgQusC15rXdlyvFiUh0Dm7En4HMRAoLhJuBnz+9/+zfWgZxe5843kct/yTwRWAiRKEOS2cRYBZK9SgGnO8NLpelXLcyJl984meNVf90qJjZiuvrH+PyT6U5vFRKsCFwX6y3/HcqJUrL2NgwtduEDe2El9mXLSkWD0+Wsp5ruYSxICDJpW/wrWaUxQVl9mAyfCEVTdoLf20afpWfb7KedNliJ/fq/Z+wyBExE28vQyh5UaVdhP2mpshz2oVcFAlpg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HUyVv63Cbp4QjC9tdFO/g7DJBs8AhYp2DF4MXNDpIbw=; b=k7EbVAX8g5eJ1oR58xWsgPAd+BelfV5qfFVP6/vAoouvx6UGgGHB/l4X5PtA5I2jR8zH1DpufZmvxfmqrP4IfLmml0iR/B23T8nphjQQ+JYdov5fMkCYHNcDKFRpDjsNYPFQMRcUUDX6b+7yLAXAhMsLnlE25oyscnVDhdkYGQp3vqsbwswr3w+2+EwxH0s/VN2OrHV+F5yTBqA19rSJkGF2cbvBqqMNRMBMHRkUkYV2CA83pU+oaR9vtAWrj1e+RcN63A4Z4Lm/b8dLcowgazY3MtLwH4hf7cn5fFulbm7fV7Gzg0d9tu9n1+q16/TvppLQGg+OCaSrYaMLIP7uFg== Original-Received: from VE1EUR03FT056.eop-EUR03.prod.protection.outlook.com (2a01:111:e400:7e09::40) by VE1EUR03HT120.eop-EUR03.prod.protection.outlook.com (2a01:111:e400:7e09::434) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.20; Sat, 21 Nov 2020 17:05:06 +0000 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com (2a01:111:e400:7e09::51) by VE1EUR03FT056.mail.protection.outlook.com (2a01:111:e400:7e09::284) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.20 via Frontend Transport; Sat, 21 Nov 2020 17:05:06 +0000 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com ([fe80::9487:8c7d:da00:4993]) by AM0PR06MB6577.eurprd06.prod.outlook.com ([fe80::9487:8c7d:da00:4993%7]) with mapi id 15.20.3589.029; Sat, 21 Nov 2020 17:05:06 +0000 Thread-Topic: Is this "save practice" (setting default font scale)? Thread-Index: AQHWv0ySzkzZReQwl0q5pXhUZLe31qnSwYa7gAAQy+U= In-Reply-To: <835z5yzofc.fsf@gnu.org> Accept-Language: sv-SE, en-US Content-Language: sv-SE x-incomingtopheadermarker: OriginalChecksum:EFC7DA857781C498A68D4F177733242043AFA48D646C758ECBD3B815290F9CEC; UpperCasedChecksum:368F3247FF4737A39D1C84B64B3B9FD42F63191445F2B5F82F5E62D1BC0C89C7; SizeAsReceived:7372; Count:45 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [+kaJQ+h44s5MLcs1HWPrXXJqaHUzHODZ] x-ms-publictraffictype: Email x-incomingheadercount: 45 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 6515d4a1-4719-40d3-2a88-08d88e3f9868 x-ms-traffictypediagnostic: VE1EUR03HT120: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: K2uPFmbv03zUJjrepzvydue+Hy/bVi+hvuciJ9cVezs7iGa05rL2JR/QGUu27u5rguk9+n2Bs2qo4d1xXHeKICnW6FZ/ULe6gasZfCK2sQYSo0BNDuv36sJNpKNHOi1Tp/u7LEb5v42rdUUDFbcWbAFGbr65+mFjnnYQfY6IFnQOBtoQZ5kaRNiF8+F7mx8SUE2SVnFK31Q2O7x3W6A9yQ== x-ms-exchange-antispam-messagedata: p0FoXNw708KHv2YxF/sbkWn/KXkb7YSqquUevSu9+Z9aDlvbVxcKmO7SUKN7e7w6V8fS4PUzUqvDJQQUpi54yx+SGIwUV4KxvYL8H2nhPZwACWiKidASYCKm9decijkln5n3NrcVvYbETeWAhpaiJw== x-ms-exchange-transport-forked: True X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT056.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 6515d4a1-4719-40d3-2a88-08d88e3f9868 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Nov 2020 17:05:06.2777 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR03HT120 Received-SPF: pass client-ip=40.92.72.77; envelope-from=arthur.miller@live.com; helo=EUR03-VE1-obe.outbound.protection.outlook.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:259528 Archived-At: --_000_AM0PR06MB65774F5E57395F1DE44E7D0E96FE0AM0PR06MB6577eurp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I know, but that's what I got. I did 5 measurements each time. Might be jus= t too small difference to measure too. -------- Originalmeddelande -------- Fr=E5n: Eli Zaretskii Datum: 2020-11-21 17:04 (GMT+01:00) Till: Arthur Miller Kopia: manuel.uberti@inventati.org, emacs-devel@gnu.org =C4mne: Re: Is this "save practice" (setting default font scale)? > From: Arthur Miller > Date: Sat, 21 Nov 2020 14:45:58 +0100 > Cc: emacs-devel@gnu.org > > > (custom-set-faces > > '(default ((t (:family "Anonymous Pro-16" > > :height 140 > > :weight light))))) > It seems to be just very slightly slower; but it might also be too small > of a difference for my system to give a polite result. > > With above my startup is currently repporting times all betweeen ~0.2x > to ~ 0.3x; with your version it is aroun ~0.3 to ~0.4 I measure 5 > startups every time. > > I don't see reasons why there would be a difference; it might be just > fluctuations in my system. I dont' know how polite (emacs-init-time) is > either. AFAIU, custom-set-faces does a bit more than just set-face-attribute, but I'd be surprised if that could account for 0.1 sec of time. --_000_AM0PR06MB65774F5E57395F1DE44E7D0E96FE0AM0PR06MB6577eurp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I know, but that's what I got. I did 5 measurements each = time. Might be just too small difference to measure too.



-------- Originalmeddelande --------
Fr=E5n: Eli Zaretskii <eliz@gnu.org>
Datum: 2020-11-21 17:04 (GMT+01:00)
Till: Arthur Miller <arthur.miller@live.com>
Kopia: manuel.uberti@inventati.org, emacs-devel@gnu.org
=C4mne: Re: Is this "save practice" (setting default font sc= ale)?

> From: Arthur Miller <arthur.miller@live.co= m>
> Date: Sat, 21 Nov 2020 14:45:58 +0100
> Cc: emacs-devel@gnu.org
>
> > (custom-set-faces
> >  '(default ((t (:family "Anonymous Pro-16"
> >           =       :height 140
> >           =       :weight light)))))
> It seems to be just very slightly slower; but it might also be too sma= ll
> of a difference for my system to give a polite result.
>
> With above my startup is currently repporting times all betweeen ~0.2x=
> to ~ 0.3x; with your version it is aroun ~0.3 to ~0.4 I measure 5
> startups every time.
>
> I don't see reasons why there would be a difference; it might be just<= br> > fluctuations in my system. I dont' know how polite (emacs-init-time) i= s
> either.

AFAIU, custom-set-faces does a bit more than just set-face-attribute,
but I'd be surprised if that could account for 0.1 sec of time.
--_000_AM0PR06MB65774F5E57395F1DE44E7D0E96FE0AM0PR06MB6577eurp_--