From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#59122: 29.0.50; global-text-scale-adjust not working Date: Sun, 13 Nov 2022 09:18:00 +0000 Message-ID: <1a8c89f83eba3c0b711c@heytings.org> References: <0405c6f70ee5bc26c9fd@heytings.org> <5e251f240fbcc9fa98f5@heytings.org> <5e251f240f3b8e048ce5@heytings.org> <5e251f240fa01277a76a@heytings.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="76xooc5fXB" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15944"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59122@debbugs.gnu.org, Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 13 10:19:20 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ou995-0003yY-UV for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Nov 2022 10:19:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ou98q-0000A2-Ee; Sun, 13 Nov 2022 04:19:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ou98o-00009C-VE for bug-gnu-emacs@gnu.org; Sun, 13 Nov 2022 04:19:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ou98o-0005yY-LB for bug-gnu-emacs@gnu.org; Sun, 13 Nov 2022 04:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ou98o-0003qh-FA for bug-gnu-emacs@gnu.org; Sun, 13 Nov 2022 04:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Nov 2022 09:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59122 X-GNU-PR-Package: emacs Original-Received: via spool by 59122-submit@debbugs.gnu.org id=B59122.166833108314729 (code B ref 59122); Sun, 13 Nov 2022 09:19:02 +0000 Original-Received: (at 59122) by debbugs.gnu.org; 13 Nov 2022 09:18:03 +0000 Original-Received: from localhost ([127.0.0.1]:50069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ou97r-0003pV-Bi for submit@debbugs.gnu.org; Sun, 13 Nov 2022 04:18:03 -0500 Original-Received: from heytings.org ([95.142.160.155]:41214) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ou97p-0003oy-8h for 59122@debbugs.gnu.org; Sun, 13 Nov 2022 04:18:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1668331080; bh=wxKpi44q4Mu3wCSEyO+uUkWCawmMWLwVeNSpyCiIAJ4=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=qbAj9Nky67nEfNyl8Dh92gzA2sostfMINBPTZ+PIOt0kb46d4lEhGOxvOD1Dd7RfQ 1pfXcAV0qNZNRd4e+8ynZ1Psxi1AdEpljjvR2xvp5zvz0wCF82ExBZ38WBhQc+a80i hnUiXARYAdj8kMDmKxGRu+0gRgaAkavnRnIiHAS8v30k9A8q8cFHyp0Lx8btLms9np EbSPjtttfT8oggVsJYVU5LwJa+MrLaYMUydxIDHKHl3C/yvtOAq2yRVhFKpuqusYB0 0g9vyungE++CCpFzzkHQOwsu8DwrKNVy2N9UUoSxAa+CgOpQRilNinae/uo/x0TLg1 pkk9u6VCBipLg== In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247758 Archived-At: --76xooc5fXB Content-Type: text/plain; charset=us-ascii; format=flowed > > I guess the idea is that you should invoke it with `C-x C-M-0'? But > that seems to have another problem with the patch - when I type it I > get: > Thanks. This bug is fixed in the attached patch. >> Also, the two function now scale super-duper differently. :-/ > > Do you mean 'text-scale-adjust' and 'global-text-scale-adjust'? I see > the same here. > Yes. As I said earlier, global-text-scale-adjust scales smoothly, and text-scale-adjust scales fast. That was a design choice when implementing global-text-scale-adjust. It should of course be possible to make text-scale-adjust scale smoothly too. --76xooc5fXB Content-Type: text/x-diff; name=Fix-global-face-scaling-bug-due-to-rounding.patch Content-Transfer-Encoding: base64 Content-ID: <1a8c89f83e5fac02e13a@heytings.org> Content-Disposition: attachment; filename=Fix-global-face-scaling-bug-due-to-rounding.patch RnJvbSAzYTI3N2I5NzU2NDk5YTM5MmI3MGI3NDMyNGU0ZTc0NmIwYWUwNjZk IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQ0KRnJvbTogR3JlZ29yeSBIZXl0 aW5ncyA8Z3JlZ29yeUBoZXl0aW5ncy5vcmc+DQpEYXRlOiBTdW4sIDEzIE5v diAyMDIyIDA5Oj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2FsZS1hZGp1c3QpDQog Ozs7IyMjYXV0b2xvYWQgKGRlZmluZS1rZXkgY3RsLXgtbWFwIFsoY29udHJv bCBtZXRhID89KV0gJ2dsb2JhbC10ZXh0LXNjYWxlLWFkanVzdCkNCiA7Ozsj IyNhdXRvbG9hZCAoZGVmaW5lLWtleSBjdGwteC1tYXAgWyhjb250cm9sIG1l dGEgPy0pXSAnZ2xvYmFsLXRleHQtc2NhbGUtYWRqdXN0KQ0KQEAgLTQ5OSwx NiArNTAxLDI0IEBAIGdsb2JhbC10ZXh0LXNjYWxlLWFkanVzdA0KICAgICAg ICAgICAgKGN1ciAoZmFjZS1hdHRyaWJ1dGUgJ2RlZmF1bHQgOmhlaWdodCkp DQogICAgICAgICAgICAoaW5jDQogICAgICAgICAgICAgKHBjYXNlIGtleQ0K LSAgICAgICAgICAgICAgKD8tICgqICgtIGluY3JlbWVudCkgNSkpDQorICAg ICAgICAgICAgICAoPy0gKCogKC0gaW5jcmVtZW50KQ0KKyAgICAgICAgICAg ICAgICAgICAgIGdsb2JhbC10ZXh0LXNjYWxlLWFkanVzdC0taW5jcmVtZW50 LWZhY3RvcikpDQogICAgICAgICAgICAgICAoPzAgKC0gZ2xvYmFsLXRleHQt c2NhbGUtYWRqdXN0LS1kZWZhdWx0LWhlaWdodCBjdXIpKQ0KLSAgICAgICAg ICAgICAgKF8gKCogaW5jcmVtZW50IDUpKSkpDQorICAgICAgICAgICAgICAo XyAoKiBpbmNyZW1lbnQNCisgICAgICAgICAgICAgICAgICAgIGdsb2JhbC10 ZXh0LXNjYWxlLWFkanVzdC0taW5jcmVtZW50LWZhY3RvcikpKSkNCiAgICAg ICAgICAgIChuZXcgKCsgY3VyIGluYykpKQ0KICAgICAgICh3aGVuICg8IChj YXIgZ2xvYmFsLXRleHQtc2NhbGUtYWRqdXN0LWxpbWl0cykNCiAgICAgICAg ICAgICAgICBuZXcNCiAgICAgICAgICAgICAgICAoY2RyIGdsb2JhbC10ZXh0 LXNjYWxlLWFkanVzdC1saW1pdHMpKQ0KICAgICAgICAgKGxldCAoKGZyYW1l LWluaGliaXQtaW1wbGllZC1yZXNpemUNCiAgICAgICAgICAgICAgICAobm90 IGdsb2JhbC10ZXh0LXNjYWxlLWFkanVzdC1yZXNpemVzLWZyYW1lcykpKQ0K LSAgICAgICAgICAoc2V0LWZhY2UtYXR0cmlidXRlICdkZWZhdWx0IG5pbCA6 aGVpZ2h0IG5ldykpKQ0KKyAgICAgICAgICAoc2V0LWZhY2UtYXR0cmlidXRl ICdkZWZhdWx0IG5pbCA6aGVpZ2h0IG5ldykNCisgICAgICAgICAgKHJlZGlz cGxheSAnZm9yY2UpDQorICAgICAgICAgICh3aGVuIChhbmQgKG5vdCAoPSBr ZXkgPzApKQ0KKyAgICAgICAgICAgICAgICAgICAgICg9IGN1ciAoZmFjZS1h dHRyaWJ1dGUgJ2RlZmF1bHQgOmhlaWdodCkpKQ0KKyAgICAgICAgICAgIChz ZXRxIGdsb2JhbC10ZXh0LXNjYWxlLWFkanVzdC0taW5jcmVtZW50LWZhY3Rv cg0KKyAgICAgICAgICAgICAgICAgICgxKyBnbG9iYWwtdGV4dC1zY2FsZS1h ZGp1c3QtLWluY3JlbWVudC1mYWN0b3IpKQ0KKyAgICAgICAgICAgIChnbG9i YWwtdGV4dC1zY2FsZS1hZGp1c3QgaW5jcmVtZW50KSkpKQ0KICAgICAgICh3 aGVuIChjaGFyYWN0ZXJwIGtleSkNCiAgICAgICAgIChzZXQtdHJhbnNpZW50 LW1hcA0KICAgICAgICAgIChsZXQgKChtYXAgKG1ha2Utc3BhcnNlLWtleW1h cCkpKQ0KLS0gDQoyLjM1LjENCg0K --76xooc5fXB--