From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 18 15:26:30 2014 Received: (at submit) by debbugs.gnu.org; 18 Dec 2014 20:26:30 +0000 Received: from localhost ([127.0.0.1]:50578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y1heX-0001HU-Uk for submit@debbugs.gnu.org; Thu, 18 Dec 2014 15:26:30 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55424) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y1heV-0001HG-NP for submit@debbugs.gnu.org; Thu, 18 Dec 2014 15:26:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y1heU-00076E-5k for submit@debbugs.gnu.org; Thu, 18 Dec 2014 15:26:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49497) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1heU-00076A-2w for submit@debbugs.gnu.org; Thu, 18 Dec 2014 15:26:26 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1heS-0005qv-Qi for bug-gnu-emacs@gnu.org; Thu, 18 Dec 2014 15:26:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y1heR-00075i-Ek for bug-gnu-emacs@gnu.org; Thu, 18 Dec 2014 15:26:24 -0500 Received: from mail-wg0-x22c.google.com ([2a00:1450:400c:c00::22c]:47780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1heR-00075d-58 for bug-gnu-emacs@gnu.org; Thu, 18 Dec 2014 15:26:23 -0500 Received: by mail-wg0-f44.google.com with SMTP id b13so2669703wgh.3 for ; Thu, 18 Dec 2014 12:26:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=daKtHViI8CHIBaV+CvZfAARg+96hxdCmUw7KdQTmDso=; b=0GN1RRhTiWVdWi6SJ/83EU9OurL1xH10Pb5rO/IITN3IT8hMdDw3TtnXAUui11iy3a e/k4p611FpADBlBGaYXnMXP/3cOcKCuxFAm/btcsodikcWdH/EVq1/Nn0AVBcVPcAN9T W2+dK/S4R76OaW9zy1fvUat/dXHtQxkWj16NUkS09NyjneBxdndReE3re/9akDPJVC3X Lj6khK3gd4JYaUPBaGFnmyqtiqlnYs+rM5RMogIIZ115y2F2N57ELOUL+Z/VU3QwMu5W /v9TrJfjAzh0/pzutHJx+CK6+bO0eZv4xKUr22f20xysQxRocqXh7NubX12eQgm+sMoK Oz1g== MIME-Version: 1.0 X-Received: by 10.194.78.204 with SMTP id d12mr7835515wjx.37.1418934381213; Thu, 18 Dec 2014 12:26:21 -0800 (PST) Received: by 10.27.87.87 with HTTP; Thu, 18 Dec 2014 12:26:19 -0800 (PST) Date: Thu, 18 Dec 2014 15:26:19 -0500 Message-ID: Subject: 25.0.50; Incorrect handling of face-font-rescale-alist on startup mangles font settings From: Kirill Ignatiev To: bug-gnu-emacs@gnu.org Content-Type: multipart/mixed; boundary=047d7beb9124c09852050a8367a9 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --047d7beb9124c09852050a8367a9 Content-Type: text/plain; charset=UTF-8 Take the following .emacs file: (custom-set-faces '(default ((t (:inherit nil :height 110 :foundry "nil" :family "Source Code Pro"))))) (add-to-list 'face-font-rescale-alist (cons (font-spec :family "STIXGeneral") 0.95) t) Run emacs with no other customizations, using -Q -l . The font in the initial frame in the scratch buffer will be Source Code Pro, as expected. Open a new frame, the font in that frame will be some other font (in my case Helvetica), not the default one. During startup, if face-font-rescale-alist changes, emacs will mangle the default font setting, causing it to be wrong for all non-initial frames. I found the following workaround: ;; Workaround for emacs/lisp/startup.el:670 (defadvice frame-notice-user-settings (before my:rescale-alist) ;; (message "Set face-font-rescale-alist") (add-to-list 'face-font-rescale-alist (cons (font-spec :family "STIXGeneral") 0.95) t)) (ad-activate 'frame-notice-user-settings) for this particular bit of lisp/startup.el (line ~660) ;; FIXME: The user's init file may change ;; face-font-rescale-alist. However, the default face ;; already has an assigned font object, which does not take ;; face-font-rescale-alist into account. For such ;; situations, we ought to have a way to find all font ;; objects and regenerate them; currently we do not. As a ;; workaround, we specifically reset te default face's :font ;; attribute here. See bug#1785. (unless (eq face-font-rescale-alist old-face-font-rescale-alist) (set-face-attribute 'default nil :font (font-spec))) I am not sure how the default font should be regenerated in case it's affected by face-font-rescale-alist, but using (font-spec) is wrong because it resets user's own settings. I attached the output of report-emacs-bug. --047d7beb9124c09852050a8367a9 Content-Type: text/plain; charset=US-ASCII; name="report-emacs-bug.txt" Content-Disposition: attachment; filename="report-emacs-bug.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_i3uktaee0 CkluIEdOVSBFbWFjcyAyNS4wLjUwLjMyICh4ODZfNjQtYXBwbGUtZGFyd2luMTMuNC4wLCBOUyBh cHBraXQtMTI2NS4yMSBWZXJzaW9uIDEwLjkuNSAoQnVpbGQgMTNGMzQpKQogb2YgMjAxNC0xMi0x NiBvbiBkaGNwMS0zOC5yZWQuc2FuZGJveApSZXBvc2l0b3J5IHJldmlzaW9u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dGliZXRhbiB0aGFpIHRhaS12 aWV0IGxhbyBrb3JlYW4KamFwYW5lc2UgaGVicmV3IGdyZWVrIHJvbWFuaWFuIHNsb3ZhayBjemVj aCBldXJvcGVhbiBldGhpb3BpYyBpbmRpYW4KY3lyaWxsaWMgY2hpbmVzZSBjYXNlLXRhYmxlIGVw YS1ob29rIGprYS1jbXByLWhvb2sgaGVscCBzaW1wbGUgYWJicmV2Cm1pbmlidWZmZXIgbmFkdmlj ZSBsb2FkZGVmcyBidXR0b24gZmFjZXMgY3VzLWZhY2UgbWFjcm9leHAgZmlsZXMKdGV4dC1wcm9w ZXJ0aWVzIG92ZXJsYXkgc2hhMSBtZDUgYmFzZTY0IGZvcm1hdCBlbnYgY29kZS1wYWdlcyBtdWxl CmN1c3RvbSB3aWRnZXQgaGFzaHRhYmxlLXByaW50LXJlYWRhYmxlIGJhY2txdW90ZSBtYWtlLW5l dHdvcmstcHJvY2Vzcwpjb2NvYSBucyBtdWx0aS10dHkgZW1hY3MpCgpNZW1vcnkgaW5mb3JtYXRp b246CigoY29uc2VzIDE2IDg0ODgwIDgwMDQpCiAoc3ltYm9scyA0OCAxOTQ5NyAxKQogKG1pc2Nz IDQwIDk5IDIxNCkKIChzdHJpbmdzIDMyIDE1ODA1IDQ4MTApCiAoc3RyaW5nLWJ5dGVzIDEgMzg3 NDQzKQogKHZlY3RvcnMgMTYgMTA1NTYpCiAodmVjdG9yLXNsb3RzIDggMzk5NjU3IDYwMDIpCiAo ZmxvYXRzIDggNjMgOTMpCiAoaW50ZXJ2YWxzIDU2IDU3MiAwKQogKGJ1ZmZlcnMgOTc2IDE1KSkK --047d7beb9124c09852050a8367a9-- From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 03 07:21:02 2020 Received: (at 19408) by debbugs.gnu.org; 3 Dec 2020 12:21:02 +0000 Received: from localhost ([127.0.0.1]:38826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kknba-0001QK-L5 for submit@debbugs.gnu.org; Thu, 03 Dec 2020 07:21:02 -0500 Received: from quimby.gnus.org ([95.216.78.240]:45886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kknbZ-0001PR-F6 for 19408@debbugs.gnu.org; Thu, 03 Dec 2020 07:21:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=U1O197qt+fmpobHa5tCcgzwRErzVlk3+GmTJnANNjxo=; b=Qx5n7NLXPBoyv0D7hZ6qP7OJ+s qosJXYOHJKs9OW01Th2m0bGFsNOhkfGtd8pBEfD763n0K4xExLSzvERoVg80UKC4oKQKV7gm7G+4A 4GUHCBljv6liYStuguptoDh8qlHF02R35p7EZStDKWEF9RCB8lHnGSpKoPdBsMhyaH+8=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kknbN-0003KX-L4; Thu, 03 Dec 2020 13:20:55 +0100 From: Lars Ingebrigtsen To: Kirill Ignatiev Subject: Re: bug#19408: 25.0.50; Incorrect handling of face-font-rescale-alist on startup mangles font settings References: X-Now-Playing: John Coltrane's _A Love Supreme_: "Part 4: Psalm" Date: Thu, 03 Dec 2020 13:20:48 +0100 In-Reply-To: (Kirill Ignatiev's message of "Thu, 18 Dec 2014 15:26:19 -0500") Message-ID: <875z5jqdwf.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Kirill Ignatiev writes: > Take the following .emacs file: > > (custom-set-faces > '(default ((t (:inherit nil :height 110 :foundry "nil" :family > "Source Code Pro"))))) > > (add-to-list 'face-font-rescale-alist (cons (font- [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19408 Cc: 19408@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Kirill Ignatiev writes: > Take the following .emacs file: > > (custom-set-faces > '(default ((t (:inherit nil :height 110 :foundry "nil" :family > "Source Code Pro"))))) > > (add-to-list 'face-font-rescale-alist (cons (font-spec :family > "STIXGeneral") 0.95) t) (This bug report unfortunately got no response at the time.) I'm not sure what font that is, but I tried this in Emacs 28: # apt install fonts-stix emacs -Q -l /tmp/stix.el > Run emacs with no other customizations, using -Q -l . The > font in the initial frame in the scratch buffer will be Source Code > Pro, as expected. Open a new frame, the font in that frame will be > some other font (in my case Helvetica), not the default one. I get ftcrhb:-GOOG-Noto Sans CJK KR-normal-normal-normal-*-39-*-*-*-*-0-iso10646-1 (#x2D) in the initial frame, which I guess just means that I don't have Source Code Pro. I then `C-x 5 2', and query the new frame for the font it's using, and it's the same one. So I don't seem to be able to reproduce this problem in Emacs 28 -- are you still seeing it in more recent Emacs versions? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 03 07:21:09 2020 Received: (at control) by debbugs.gnu.org; 3 Dec 2020 12:21:09 +0000 Received: from localhost ([127.0.0.1]:38829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kknbg-0001Qf-SK for submit@debbugs.gnu.org; Thu, 03 Dec 2020 07:21:09 -0500 Received: from quimby.gnus.org ([95.216.78.240]:45902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kknbf-0001QJ-CK for control@debbugs.gnu.org; Thu, 03 Dec 2020 07:21:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7qdf6k606afijcPjky/6ys2wR35aP0PWD1fTkC2c4Yc=; b=G8gW4hipt5M88cz8vbWFq/nsOR nv0NlczhMou24mqxpbV4s2RFU2DNssd7W5nnJ7bQHSyWtzBx4NAet/2Tm9Lk0uzZGh9NL7tnlZcEP ySF0byh3MyL6LLgER5OduGUCjhgpJ1Jp7E5gqTnniKG1T2fQOzyjd5yd0OfiTmXwI6wc=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kknbX-0003Ke-MB for control@debbugs.gnu.org; Thu, 03 Dec 2020 13:21:01 +0100 Date: Thu, 03 Dec 2020 13:20:58 +0100 Message-Id: <874kl3qdw5.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #19408 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 19408 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 19408 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 03 07:54:09 2020 Received: (at 19408) by debbugs.gnu.org; 3 Dec 2020 12:54:09 +0000 Received: from localhost ([127.0.0.1]:38877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kko7d-0004Nu-5M for submit@debbugs.gnu.org; Thu, 03 Dec 2020 07:54:09 -0500 Received: from mail-pj1-f50.google.com ([209.85.216.50]:36408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kko7a-0004NO-SP for 19408@debbugs.gnu.org; Thu, 03 Dec 2020 07:54:08 -0500 Received: by mail-pj1-f50.google.com with SMTP id l23so1069150pjg.1 for <19408@debbugs.gnu.org>; Thu, 03 Dec 2020 04:54:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HAXvJv0dHP8o1/L+DGJ5ZaeBwCPZUaQIpsmRywXAuRA=; b=TLmGbn7ySVVwKl74blx8Ol4WabIdVRbpEITr8z/f3Ztprvc+whANSOMjSBRfMVqv/q YbfnCtY44JDgdqqw+Hh4t6sK850gsMb/B0qupezEa+tfq6dJCOGnqOdykhfy88SMOhkQ 5yEuiSZ5FAh4Nsk798SfRrcD5Cra4GMsO+Q935YYFUIE0veRghYCRM3Fz6QZ4wqCPVvU A10usDjlLL7M4Zc6WasFu0DDWpSbKjJ7diBgU7MuR9b5YEmBDxeq0OZnxGmOy0+9KtNp 8cE1RDYSkXKAQVJndXDYzluZqMB/xLYz0ynUWkRbgcTCODmud18PMsB43de+SzNZ8p9h h7dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HAXvJv0dHP8o1/L+DGJ5ZaeBwCPZUaQIpsmRywXAuRA=; b=BVZiS9G56Kc5MqpGMJkIS+YmXlGg1GlL4hC49m6Muz1dNpPhfpt4QJmz1clJ+H0xH7 gCFFEvxrsfD/o1jyVnp/ZgI6Eu8FiUtF7drdAQTYrUpLY1leKxt8Gf3CPXMlx61WPYS8 X7wQ0wd+KuujJwX5Ptj9aq37KRGorhExpf77TkqUNWeNEHN8ebufSSWfzdmDe+K7PlV2 y1pwxwJdAxHsncPs0uNFKFWSYnfPNYsS5JA+9xvoB4k/Yecc/ISsw8cg4dvzSyVpCuRF DLDDaHSKiOOZIdY/zQZJbF/zjPa6BacxqwQJ0ig8jv+cfPM9LRgpSu3mPjPxd3jL3brx RqlA== X-Gm-Message-State: AOAM530F9A0TgiO6FIHsWFDnv14rxUNeTmymE6h1J5TGnzsnu9nI66QN Im+4as+f+COjAZ/qU/+xCSU6DCX0K48JRVEBVps= X-Google-Smtp-Source: ABdhPJweQUBGeOSnpa0lrOpEoBOxBqUifmMmVC1vzf5cxzhmu8KybrD62uqSnmjDH59Gsiad25n3FP04HTGOwhQcliM= X-Received: by 2002:a17:90b:1c10:: with SMTP id oc16mr2915132pjb.144.1607000040819; Thu, 03 Dec 2020 04:54:00 -0800 (PST) MIME-Version: 1.0 References: <875z5jqdwf.fsf@gnus.org> In-Reply-To: <875z5jqdwf.fsf@gnus.org> From: Kirill Ignatiev Date: Thu, 3 Dec 2020 12:53:49 +0000 Message-ID: Subject: Re: bug#19408: 25.0.50; Incorrect handling of face-font-rescale-alist on startup mangles font settings To: Lars Ingebrigtsen Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19408 Cc: 19408@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) No I don't get that any more, that was six years ago now. Thanks for looking at it! On Thu, 3 Dec 2020 at 12:20, Lars Ingebrigtsen wrote: > > Kirill Ignatiev writes: > > > Take the following .emacs file: > > > > (custom-set-faces > > '(default ((t (:inherit nil :height 110 :foundry "nil" :family > > "Source Code Pro"))))) > > > > (add-to-list 'face-font-rescale-alist (cons (font-spec :family > > "STIXGeneral") 0.95) t) > > (This bug report unfortunately got no response at the time.) > > I'm not sure what font that is, but I tried this in Emacs 28: > > # apt install fonts-stix > emacs -Q -l /tmp/stix.el > > > Run emacs with no other customizations, using -Q -l . The > > font in the initial frame in the scratch buffer will be Source Code > > Pro, as expected. Open a new frame, the font in that frame will be > > some other font (in my case Helvetica), not the default one. > > I get > > ftcrhb:-GOOG-Noto Sans CJK KR-normal-normal-normal-*-39-*-*-*-*-0-iso10646-1 (#x2D) > > in the initial frame, which I guess just means that I don't have Source > Code Pro. > > I then `C-x 5 2', and query the new frame for the font it's using, and > it's the same one. > > So I don't seem to be able to reproduce this problem in Emacs 28 -- are > you still seeing it in more recent Emacs versions? > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 03 07:58:58 2020 Received: (at 19408) by debbugs.gnu.org; 3 Dec 2020 12:58:58 +0000 Received: from localhost ([127.0.0.1]:38881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkoCH-0004VE-U5 for submit@debbugs.gnu.org; Thu, 03 Dec 2020 07:58:58 -0500 Received: from quimby.gnus.org ([95.216.78.240]:46386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkoCG-0004Uz-Ed for 19408@debbugs.gnu.org; Thu, 03 Dec 2020 07:58:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=O/trsH6uNfN+5eAWJRi/2DMteQLDSm5vtXbuecNVpro=; b=O2f4QVxZwy7SYRutdMMdmoUjwp oZ6G9p5fdTqn1sgEtMVABLQZox25xHLbwZTKvhbZV3uqxG5qYtKGBOv1EuhKYron6GW0Tkal2hQGe 0dl+985A5SkE52BUChmiynyzjq5g8A7+pwQH6n9n/Gkw50IjoomuuUfz44mVJTIqmEAk=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkoC7-0003fj-7i; Thu, 03 Dec 2020 13:58:49 +0100 From: Lars Ingebrigtsen To: Kirill Ignatiev Subject: Re: bug#19408: 25.0.50; Incorrect handling of face-font-rescale-alist on startup mangles font settings References: <875z5jqdwf.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEXOs1nu2qT9/OSs VioqHRH///8ntA6cAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+QMAwwYA4RMgVwAAAG/SURBVDjLXZSL dcMgDEUl0wEk6AAWWUBUHiAt3n+mCgP+BI5PHC56Qh8MGJmF2xP9jfMcYBo0gZkAowJcQCRKlsw+ 88Ni/ArnxVfjJ+CXYYHE6sY3IIVJtUCgwistFwDgVBSQk7qbECd4FWGiEjO9lszxhScw9N1LzCzC K6YSOxAM2CTQj+wbAuIA6+LaAclXSFdz5xNAFDa0knyu6sHg8BFcRDgsoZA2v8eBG0gA6Bn02WIS TEMqf4MSwpFh9+6hzuN+7UpvGMNoqxfYPeHmExRs398TfO9tvCEAbO3tb4J1f45lAtoe6/VMIsGd mJ5pXyHYRNUsyh1MUjWueEl5ButBDCLVG7CWdk8Mi4cH16mgheXhha1p9f4Arxt7aKd3d96Ba7Br We2oKs/24YGajCnOljssOmrOW2/fQVudO3rHUv/fK6GuxLzaIq0C3QBbIqs717jtNcBQIAxXbv0p vtoBPQvyk6Vb4LMge3HtA6SZ8QG8z/pxv8b6IL9nHD3jbWzdxZES77KhVOvdot3V7ttBf5ntI93H /bSjUJKe4LqcfFbpNBj3fL2B38cHQLqNey8fn4xModX1LOAFPsc/wrejvuR82eYAAAAldEVYdGRh dGU6Y3JlYXRlADIwMjAtMTItMDNUMTI6MjQ6MDMrMDA6MDCpu7isAAAAJXRFWHRkYXRlOm1vZGlm eQAyMDIwLTEyLTAzVDEyOjI0OjAzKzAwOjAw2OYAEAAAAABJRU5ErkJggg== X-Now-Playing: The Rolling Stones's _Let It Bleed_: "Midnight Rambler" Date: Thu, 03 Dec 2020 13:58:45 +0100 In-Reply-To: (Kirill Ignatiev's message of "Thu, 3 Dec 2020 12:53:49 +0000") Message-ID: <877dpzoxkq.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Kirill Ignatiev writes: > No I don't get that any more, that was six years ago now. Thanks for > looking at it! Thanks for checking; closing the bug report. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19408 Cc: 19408@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Kirill Ignatiev writes: > No I don't get that any more, that was six years ago now. Thanks for > looking at it! Thanks for checking; closing the bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 03 07:59:06 2020 Received: (at control) by debbugs.gnu.org; 3 Dec 2020 12:59:06 +0000 Received: from localhost ([127.0.0.1]:38885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkoCQ-0004Vx-CQ for submit@debbugs.gnu.org; Thu, 03 Dec 2020 07:59:06 -0500 Received: from quimby.gnus.org ([95.216.78.240]:46400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkoCP-0004VN-5n for control@debbugs.gnu.org; Thu, 03 Dec 2020 07:59:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=dgfN+MVvEI/pGN2GVzmWQcdAuebpXG8xU5EpYIBvNzc=; b=aMU/Np7BmXSKr3i1+ZqODGqar1 S6enZIAEBn8KSVwUTgPQJDA/llVrtQCLUCykuHio39/dDGgMKul4kEL9qTahj+wbtOizmfd4s0viN QFMIvBR+F7++8MFnQFCLXSJ9IQtEu1o+BVskudMjWoH2A4OpMR9AnjnIaU6reQz93BtQ=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkoCH-0003fu-CM for control@debbugs.gnu.org; Thu, 03 Dec 2020 13:58:59 +0100 Date: Thu, 03 Dec 2020 13:58:56 +0100 Message-Id: <875z5joxkf.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #19408 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 19408 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 19408 quit From unknown Tue Aug 19 02:50:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 01 Jan 2021 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator