unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>, Emre Yolcu <mail@emreyolcu.com>
Cc: "71085@debbugs.gnu.org" <71085@debbugs.gnu.org>
Subject: bug#71085: text-scale-adjust does not adjust margin width
Date: Tue, 21 May 2024 16:14:35 +0000	[thread overview]
Message-ID: <SJ0PR10MB54889E901AA48A5B0E2E8D6BF3EA2@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <86r0dv8kes.fsf@gnu.org>

> tags 71085 notabug

> I don't understand the expectations: the window and frame geometry are
> not changed by text-scale-adjust, so why did you expect the window
> margins to change?  The margins are part of the window geometry.
> 
> Since Emacs 29.1, we have global-text-scale-adjust-resizes-frames,
> which, if non-nil, causes the frame to resize when you change the
> text-size globally (e.g., with C-M-+ or C-M-mouse-wheel).  If you do
> that, the window-margins resize as well, which in this case is indeed
> expected (and works for me).

> I see no bug here.

FWIW, I've previously proposed an optional enhancement
of resizing the window when you change text size by
scaling.  I implemented this and proposed the code, as
soon as text-scaling was introduced to Emacs. The
suggestion/request was summarily rejected.

The current request (#71085) is in the same vein.  Yes,
you can say there's no bug here, because text scaling,
as provided so far, is independent of windows, margins,
etc.

Nevertheless, some users might find it useful to be
able to resize such things when they resize the text.
Think _enhancement request_, not bug per se.

See also "bugs" 7342, 8379, 19194, 39901, 48307,
56357, 57313.





  reply	other threads:[~2024-05-21 16:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-20 22:50 bug#71085: text-scale-adjust does not adjust margin width Emre Yolcu
2024-05-21 11:38 ` Eli Zaretskii
2024-05-21 16:14   ` Drew Adams via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-05-21 16:14   ` Emre Yolcu
2024-05-21 18:17     ` Eli Zaretskii
2024-05-21 20:10       ` Emre Yolcu
2024-05-22 12:03         ` Eli Zaretskii
2024-05-22 17:05           ` Emre Yolcu

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=SJ0PR10MB54889E901AA48A5B0E2E8D6BF3EA2@SJ0PR10MB5488.namprd10.prod.outlook.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=71085@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=eliz@gnu.org \
    --cc=mail@emreyolcu.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).