unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 62275-done@debbugs.gnu.org
Subject: bug#62275: 28.2; Changing major mode changes the current text scaling
Date: Mon, 20 Mar 2023 19:00:37 +0200	[thread overview]
Message-ID: <831qlj8iiy.fsf@gnu.org> (raw)
In-Reply-To: <SJ0PR10MB548801D93A0FCBD71187613EF3809@SJ0PR10MB5488.namprd10.prod.outlook.com> (message from Drew Adams on Mon, 20 Mar 2023 16:19:22 +0000)

> From: Drew Adams <drew.adams@oracle.com>
> 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.





  reply	other threads:[~2023-03-20 17:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-19 16:03 bug#62275: 28.2; Changing major mode changes the current text scaling Drew Adams
2023-03-19 16:47 ` Eli Zaretskii
2023-03-19 17:22   ` Drew Adams
2023-03-19 17:40     ` Eli Zaretskii
2023-03-19 21:50       ` Drew Adams
2023-03-20 11:58         ` Eli Zaretskii
2023-03-20 16:19           ` Drew Adams
2023-03-20 17:00             ` Eli Zaretskii [this message]
2023-03-20 17:24               ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=831qlj8iiy.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=62275-done@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).