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: Eli Zaretskii <eliz <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
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: Sun, 22 Nov 2015 17:39:27 +0200
> Date: Sun, 22 Nov 2015 12:08:42 +0100
> From: martin rudalics <rudalics <at> gmx.at>
> CC: 19576 <at> debbugs.gnu.org, andlind <at> gmail.com, juri <at> linkov.net
> 
>  > I also modified the documentation to be consistent with what
>  > the code does.
> 
> The Elisp manual now says
> 
>       The functions are called at the
>       beginning of a redisplay cycle, and just once for each frame on
>                                           ^^^^^^^^^
>       which size changes have occurred.
> 
> IIUC the functions may now be called twice for the selected frame: A
> first time when a "normal" size changed occurred and a second time when
> the mini-window got resized.  Or am I missing something?

I couldn't think of any situation that would cause that.  It would
require a resize of windows outside redisplay that would also cause
redisplay to decide that the mini-window needs to be resized.  If you
can come up with a recipe for this, we should indeed remove the "just
once" promise.




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.