GNU bug report logs - #19576
24.4; Broken function in `window-size-change-functions' cause `write-file' to write the wrong buffer

Previous Next

Package: emacs;

Reported by: Anders Lindgren <andlind <at> gmail.com>

Date: Mon, 12 Jan 2015 23:39:02 UTC

Severity: normal

Found in version 24.4

Done: Anders Lindgren <andlind <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: acm <at> muc.de, 19576 <at> debbugs.gnu.org, andlind <at> gmail.com, juri <at> linkov.net
Subject: bug#19576: write-file writes the wrong buffer
Date: Sat, 21 Nov 2015 19:44:07 +0100
> We could run both types of hooks, couldn't we?

As I said we do that already for splitting and deleting windows.  So we
obviously could.  But this means that packages run the same function
twice because they are used to run the same function in both hooks.

> The documentation
> seems to suggest that both of them should be run in this situation.

‘window-configuration-change-hook’ shouldn't run since the window
configuration does not change.

> As for "can of worms", we could make that change on master and see
> what breaks.  WDYT?

It won't break anything.  But why should we OT1H make
‘window-size-change-functions’ more efficient when OTOH we call it after
we already called ‘window-configuration-change-hook’?

martin





This bug report was last modified 9 years and 179 days ago.

Previous Next


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