GNU bug report logs - #32720
term-mode ignores certain window size changes

Previous Next

Package: emacs;

Reported by: Gary Fredericks <fredericksgary <at> gmail.com>

Date: Wed, 12 Sep 2018 15:24:01 UTC

Severity: minor

Fixed in version 26.2

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

Bug is archived. No further changes may be made.

Full log


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

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: fredericksgary <at> gmail.com, 32720 <at> debbugs.gnu.org
Subject: Re: bug#32720: term-mode ignores certain window size changes
Date: Sat, 17 Nov 2018 19:40:01 +0100
> OK (although I don't like putting functions on hooks in the core).

Neither do I.

>> +;; Remove the following call in Emacs 27, running
>> +;; 'window-size-change-functions' should suffice.
>>   (add-hook 'window-configuration-change-hook 'window--adjust-process-windows)
>
> Why not do that now?

Because Gary has not tested it ;-)

More seriously: I have no idea how 'adjust-window-size-function' and
the function specified by 'window-adjust-process-window-size-function'
work in practice.  If they rely on anything beyond a window's
dimensions (for example, on which other buffers are displayed on a
frame), then not calling 'window--adjust-process-windows' for
'window-configuration-change-hook' might miss something.  I'd rather
reserve such subtleties for Emacs 27.

martin




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

Previous Next


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