GNU bug report logs - #48307
Feature request: provide default keybindings to change the font size in all windows

Previous Next

Package: emacs;

Reported by: Clément Pit-Claudel <cpitclaudel <at> gmail.com>

Date: Sun, 9 May 2021 07:10:02 UTC

Severity: wishlist

Fixed in version 29.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Clément Pit-Claudel <cpitclaudel <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 48307 <at> debbugs.gnu.org
Subject: bug#48307: Feature request: provide default keybindings to change the font size in all windows
Date: Sun, 9 May 2021 11:31:57 -0400
On 5/9/21 4:23 AM, Eli Zaretskii wrote:
> So: what should be the effect of this "global" change of the "font
> size"?  Some thought-provoking questions:

Thanks.  Some wild guesses:

>  . should this affect only the faces whose fonts don't define their
>    own size, or should it affect _all_ fonts?

Probably all of them except the ones that specify an absolute height?

>  . should this really affect _all_ the buffers? e.g., what about the
>    minibuffer and the echo-area buffers?

Yes, certainly.

>  . should this affect all the frames or just the currently selected
>    frame? what about future frames?

I'm guessing all frames.

>  . should this affect the mode line?

Absolutely.

>  . should this affect tooltips?

Yes, to the extent that we have control over that.

>  . should this affect the fringes and their bitmaps?

That would be nice.

>  . should this affect the menu bar, the drop-down menus, and the GUI
>    dialogs?

That's extra credit; I guess it could be nice?

> We need a clear understanding of the feature before we implement it,
> IMO.

Indeed, although starting with an implementation and refining it over time could be good, too (to some extent I think the specifics matter less than having something available).  For example, just including any one of the short implementations into Emacs by default would work to solve the concrete issue that I'm talking about (with the pandemic we do screen-sharing all the time, and I hear "how do I resize the font in Emacs again?" more than once a week these days ^^).

A good approximation of what I would like that command to do is what menu-set-font does if you ignore the part about changing the face and only change the size part.  Something similar to doing text-scale-adjust in every buffer would also work, too (I've noticed that changing the :height attribute of the default face is slow, while text-scale-adjust is fast).  







This bug report was last modified 2 years and 327 days ago.

Previous Next


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