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: Gregory Heytings <gregory <at> heytings.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: rudalics <at> gmx.at, cpitclaudel <at> gmail.com, 48307 <at> debbugs.gnu.org
Subject: bug#48307: Feature request: provide default keybindings to change the font size in all windows
Date: Mon, 10 May 2021 14:34:49 +0000
>> +        (let ((frame-inhibit-implied-resize t))
>> +          (set-face-attribute 'default nil :height
>> +                              (+ (face-attribute 'default :height) inc)))
>
> Why does it make sense to inhibit frame resizing in this case?  I think 
> it will make an ugly display: mode-line text will spill over, lines will 
> become wrapped, etc.
>

Because (1) it's what other programs do, (2) it's also what 
text-scale-adjust does, (3) it's much faster, (4) if you do not inhibit 
frame resizing the frame can easily become larger than your screen.  Note 
that global-text-scale-adjust uses smaller steps than text-scale-adjust, 
so the user can more easily control the potential undesirable effects.




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.