GNU bug report logs - #36250
Allow Emacs to be resized arbitrarily

Previous Next

Package: emacs;

Reported by: Konstantin Kharlamov <hi-angel <at> yandex.ru>

Date: Sun, 16 Jun 2019 18:01:02 UTC

Severity: wishlist

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: Konstantin Kharlamov <hi-angel <at> yandex.ru>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 36250 <at> debbugs.gnu.org
Subject: bug#36250: Allow Emacs to be resized arbitrarily
Date: Mon, 17 Jun 2019 12:14:28 +0300

On Пн, июн 17, 2019 at 10:44, martin rudalics <rudalics <at> gmx.at> 
wrote:
>  >  From cursory reading of the code, frame_resize_pixelwise is only
> >  used on window creation.
> 
> Right.
> 
> > Either way, you can easily reproduce it the following way:
> >
> > 1. Evaluate in Emacs (setq frame-resize-pixelwise t)
> > 2. Execute `xprop | grep "program specified resize increment"`
> >
> > You will see something like "program specified resize increment: 7 
> by 15"; both 7 and 15 are certainly bigger than 1 :)
> 
> You either have to set it in your initial file (like I do, for
> example) or before a new frame is created.

I just tested it, and it works. However I've always wondered, is there 
a place in .emacs file, which is guaranteed to be executed before a 
window is created? I may be mistaken, but it looks to me like Emacs 
tries to create window almost immediately on start, and that the (setq 
frame-resize-pixelwise t) line at the beginning of the config being 
executed before window is created is pure luck.






This bug report was last modified 4 years and 268 days ago.

Previous Next


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