GNU bug report logs - #25979
25.1; be able to have buffer of same name use same text scaling when re-created

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 5 Mar 2017 16:26:02 UTC

Severity: wishlist

Found in version 25.1

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25979 in the body.
You can then email your comments to 25979 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#25979; Package emacs. (Sun, 05 Mar 2017 16:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Drew Adams <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 05 Mar 2017 16:26:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1; be able to have buffer of same name use same text scaling when
 re-created
Date: Sun, 5 Mar 2017 08:25:08 -0800 (PST)
Use `C-h v' or whatever to show buffer *Help*.

Use `C-x C--' t shrink display of *Help*.

Use `C-h v' or whatever to show buffer *Help* again, for something
different.  The text is no longer scaled the same as it was.

Enhancement request: Add a user option to let someone choose to impose
the same text scaling on the same buffer (or another buffer of the same
name), when it is redrawn (or re-created).

(This just extends the idea that text scaling applies to all displays of
the same buffer, i.e., it is buffer-dependent, not window-dependent or
dependent on something else.)

In GNU Emacs 25.1.1 (x86_64-w64-mingw32)
 of 2016-11-15
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --without-dbus --without-compress-install 'CFLAGS=-O2
 -static -g3''




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25979; Package emacs. (Fri, 13 May 2022 15:03:02 GMT) Full text and rfc822 format available.

Message #8 received at 25979 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 25979 <at> debbugs.gnu.org
Subject: Re: bug#25979: 25.1; be able to have buffer of same name use same
 text scaling when re-created
Date: Fri, 13 May 2022 17:02:28 +0200
Drew Adams <drew.adams <at> oracle.com> writes:

> Use `C-h v' or whatever to show buffer *Help*.
>
> Use `C-x C--' t shrink display of *Help*.
>
> Use `C-h v' or whatever to show buffer *Help* again, for something
> different.  The text is no longer scaled the same as it was.
>
> Enhancement request: Add a user option to let someone choose to impose
> the same text scaling on the same buffer (or another buffer of the same
> name), when it is redrawn (or re-created).
>
> (This just extends the idea that text scaling applies to all displays of
> the same buffer, i.e., it is buffer-dependent, not window-dependent or
> dependent on something else.)

As a general feature, I don't think there's that much use for it,
because it's a bug if a mode clears out `text-scale-mode' (and other
minor modes) when the command regenerates the buffer.

So I've now fixed that in the help functions in Emacs 29 -- by finally
rewriting `with-help-window', which is something I've been planning to
do for years, anyway.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 25979 <at> debbugs.gnu.org and Drew Adams <drew.adams <at> oracle.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 13 May 2022 15:03:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25979; Package emacs. (Fri, 13 May 2022 15:17:02 GMT) Full text and rfc822 format available.

Message #13 received at 25979 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: "25979 <at> debbugs.gnu.org" <25979 <at> debbugs.gnu.org>
Subject: RE: [External] : Re: bug#25979: 25.1; be able to have buffer of same
 name use same text scaling when re-created
Date: Fri, 13 May 2022 15:16:43 +0000
> > Enhancement request: Add a user option to let someone choose...
> 
> As a general feature, I don't think there's that much use for it,
> because it's a bug if a mode clears out `text-scale-mode' (and other
> minor modes) when the command regenerates the buffer.
> 
> So I've now fixed that in the help functions in Emacs 29 -- by finally
> rewriting `with-help-window', which is something I've been planning to
> do for years, anyway.

I guess you're saying that users still don't have
the choice requested, and that instead of getting
only the behavior of starting over they only get
the behavior of starting with the same scaling
last used.

I don't think either behavior makes sense for all
users, or even for the same user all the time.
Which is why I requested a way for users to choose.

The fact that a buffer has the same name - or the
same mode (dunno which you're using for the choice
you've made) - is not determinate in terms of what
a user wants.

E.g., *Help* might in one case show lots of text,
and a user might want to scale it down, to show
all of it (just one example).  But it doesn't
follow that that same user wants *Help* with some
other content to be shown at the last scaling.

Please reconsider, to let users easily choose the
default behavior _they_ prefer.  That's what this
enhancement request is.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 11 Jun 2022 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 313 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.