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


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

From: Konstantin Kharlamov <hi-angel <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 36250 <at> debbugs.gnu.org
Subject: Re: bug#36250: [PATCH] Allow Emacs to be resized arbitrarily
Date: Sun, 16 Jun 2019 21:42:25 +0300

В Вс, июн 16, 2019 at 21:24, Eli Zaretskii <eliz <at> gnu.org> 
написал:
>>  From: Konstantin Kharlamov <Hi-Angel <at> yandex.ru>
>>  Date: Sun, 16 Jun 2019 21:01:22 +0300
>> 
>>  This constraint disallows standard compliant window managers to make
>>  Emacs fullscreen on certain screen resolutions (ones that are not
>>  multiple of width_inc and height_inc), or to expand Emacs to fill 
>> free
>>  space on the screen (on certain sizes too).
>> 
>>  It doesn't seem to do anything useful otherwise; besides some WMs
>>  (like i3wm) just ignore this property anyway.
>> 
>>  * src/xterm.c (x_wm_set_size_hint): don't set width_inc, 
>> height_inc, and
>>    GDK_HINT_RESIZE_INC.
>>  * src/gtkutil.c (x_wm_set_size_hint): don't set width_inc, 
>> height_inc, and
>>    PResizeInc.
>>  * src/emacsgtkfixed.c (XSetWMSizeHints): don't set width_inc and 
>> height_inc.
> 
> Thanks, but after so many years of doing this stuff the way we do, and
> without any experts in this domain on board, I think we need to leave
> behind a "fire escape" -- a variable that users could set from Lisp to
> get back the old behavior.  There are too many window managers out
> there, and we cannot be sure none of them need the old code.

As I noted, "unconstrained behavior" is widely tested. At the very 
least, it's tested by users of i3wm.

We always can revert the code. Let's not pile up maintainance burden by 
adding lots of variables for unnecessary behavior unless it's really 
needed.






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.