GNU bug report logs - #29050
26.0; Change in when `window-configuration-change-hook' is run

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 29 Oct 2017 01:27:01 UTC

Severity: minor

Found in version 26.0

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: martin rudalics <rudalics <at> gmx.at>, 29050 <at> debbugs.gnu.org
Subject: bug#29050: 26.0; Change in when `window-configuration-change-hook' is run
Date: Sun, 29 Oct 2017 17:10:55 -0700 (PDT)
> In earlier Emacsen, changing the frame size was allowed to delete all
> windows but the selected one.  Nowadays, changing the frame size does
> not delete windows any more and so does no more change the window
> configuration proper but only the sizes of individual windows.
> 
> 'window-configuration-change-hook' is a quite expensive hook which is
> run for way too many functions in the windows area.  It's expensive
> because it's run for every single invocation of these functions and
> often even if nothing had changed at all.  I plan to run it exclusively
> for the following cases - window deletion and creation and displaying a
> different buffer in a window - which are all real changes.  Any window
> resizing is covered by ‘window-size-change-functions’ which is now run
> (almost) only when the size of a window really changed.

OK.




This bug report was last modified 7 years and 263 days ago.

Previous Next


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