From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#62275: 28.2; Changing major mode changes the current text scaling Date: Mon, 20 Mar 2023 19:00:37 +0200 Message-ID: <831qlj8iiy.fsf@gnu.org> References: <83bkkoadt1.fsf@gnu.org> <835yawabc3.fsf@gnu.org> <83o7on8who.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25383"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62275-done@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 20 18:01:25 2023 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 1peIsu-0006Ne-OE for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Mar 2023 18:01:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peIsc-0000av-Ao; Mon, 20 Mar 2023 13:01:06 -0400 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 1peIsZ-0000a3-09 for bug-gnu-emacs@gnu.org; Mon, 20 Mar 2023 13:01:03 -0400 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 1peIsY-0003Vh-Nq for bug-gnu-emacs@gnu.org; Mon, 20 Mar 2023 13:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peIsY-0002nD-9p for bug-gnu-emacs@gnu.org; Mon, 20 Mar 2023 13:01:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Mar 2023 17:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 62275 X-GNU-PR-Package: emacs Mail-Followup-To: 62275@debbugs.gnu.org, eliz@gnu.org, drew.adams@oracle.com Original-Received: via spool by 62275-done@debbugs.gnu.org id=D62275.167933165510712 (code D ref 62275); Mon, 20 Mar 2023 17:01:02 +0000 Original-Received: (at 62275-done) by debbugs.gnu.org; 20 Mar 2023 17:00:55 +0000 Original-Received: from localhost ([127.0.0.1]:55613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peIsR-0002mh-Fj for submit@debbugs.gnu.org; Mon, 20 Mar 2023 13:00:55 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peIsQ-0002mT-17 for 62275-done@debbugs.gnu.org; Mon, 20 Mar 2023 13:00:54 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1peIsJ-0003RP-Gm; Mon, 20 Mar 2023 13:00:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=cRulV8TsRkEf7hhYQctzadYWAO0Y8iEfW6HCnqIznC8=; b=mowtwDOqwvPp rosd/vzbq99TERx5TeraO6MMuVaKrLk/HwsNPOpYPMOBWGJ6C7P9MMTBz+mF949mNGT/QlPkUJRG/ MELopptZHgt/Xb6o+29bnaOkjS4VVGtYySW3Nc3EVHObJO5cqHfIg/Ddvncr9ZzLzQBb7WceLRDbq bjKopwXIVCJyXODwgzjTY5e3R3V9p9G/cOxzD4DHoRlG9rXbQ8YYlnvI++ggOV9Mg/zFB9VrPdXiW NKRDw03Wm5J4mDW5F36hZWsqNYZdbKrSgjWWmrBLuUSL3KQ9lWF+nCsoDyBElGmN2/DfLixXwIpIO Je44B9/QFAh6LNyUttAG4w==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1peIsA-0006D0-9o; Mon, 20 Mar 2023 13:00:47 -0400 In-Reply-To: (message from Drew Adams on Mon, 20 Mar 2023 16:19:22 +0000) 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:258302 Archived-At: > From: Drew Adams > CC: "62275@debbugs.gnu.org" <62275@debbugs.gnu.org> > Date: Mon, 20 Mar 2023 16:19:22 +0000 > > > > > But that's what text-scaling does: it enlarges > > > > the default face's font. > > > > > > You seem to be dancing around this. > > > > Why the sarcasm/insult? I don't have to have this conversation, and I > > certainly won't if you keep this attitude. > > There's neither any sarcasm nor any insult there. > You're apparently seeing what you want to see. > Why do that? I definitely wasn't "dancing". > > > Text-scaling does NOT "customize the default face". > > > > Of course, it does. > > For some meaning of "customize", perhaps. I didn't > see any use of any `custom*' functions. But I may > not have read the code carefully enough. Customization in our terminology doesn't necessarily mean one has to use "M-x customize-SOMETHING". A simple setq can also be a customization, as well as some others. > > Yes, as expected. Text-scaling, by contrast, is a buffer-local > > behavior, and buffer-local behaviors get reset when the major mode > > changes. > > I think you're confirming what I said. Text-scaling > doesn't just change face `default' for a given frame. Text-scaling is a buffer-local change of a face. > > > These are different things: (1) zooming a buffer > > > (everywhere) and (2) zooming a frame (all its > > > windows, whatever the buffers) and zooming > > > nothing in any other frame. > > > > Not very different, since we now have > > global-text-scale-adjust and friends. > > Interesting. I know nothing about such a command. > I don't see it in Emacs 28.2 (the latest release). It's new in Emacs 29. > Does it zoom all windows (any buffers) in a frame? > Does it zoom only the current frame? It affects all faces on all frames. > At any rate, feel free to close this bug Done.