all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#25979: 25.1; be able to have buffer of same name use same text scaling when re-created
@ 2017-03-05 16:25 Drew Adams
  2022-05-13 15:02 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2017-03-05 16:25 UTC (permalink / raw)
  To: 25979

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''





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#25979: 25.1; be able to have buffer of same name use same text scaling when re-created
  2017-03-05 16:25 bug#25979: 25.1; be able to have buffer of same name use same text scaling when re-created Drew Adams
@ 2022-05-13 15:02 ` Lars Ingebrigtsen
  2022-05-13 15:16   ` Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-13 15:02 UTC (permalink / raw)
  To: Drew Adams; +Cc: 25979

Drew Adams <drew.adams@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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#25979: 25.1; be able to have buffer of same name use same text scaling when re-created
  2022-05-13 15:02 ` Lars Ingebrigtsen
@ 2022-05-13 15:16   ` Drew Adams
  0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2022-05-13 15:16 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 25979@debbugs.gnu.org

> > 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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-13 15:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-05 16:25 bug#25979: 25.1; be able to have buffer of same name use same text scaling when re-created Drew Adams
2022-05-13 15:02 ` Lars Ingebrigtsen
2022-05-13 15:16   ` Drew Adams

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.