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


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

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: Re: bug#19576: write-file writes the wrong buffer
Date: Mon, 30 Nov 2015 18:28:52 +0200
> Date: Mon, 30 Nov 2015 14:30:31 +0100
> From: martin rudalics <rudalics <at> gmx.at>
> CC: acm <at> muc.de, 19576 <at> debbugs.gnu.org, andlind <at> gmail.com, 
>  juri <at> linkov.net
> 
>  >> Here with emacs -Q evaluating
>  >>
>  >> (message "...\n")
>  >>
>  >> runs ‘window-size-change-functions’.  Evaluating
>  >>
>  >> (read-file-name "...\n")
>  >>
>  >> doesn't.  If this is intentional it should be documented.
>  >
>  > I don't know if it's intentional.  Could you please look into this and
>  > publish what you find?  I really could use some help here.
> 
> The attached patch runs ‘window-size-change-functions’ for any call of
> ‘read-from-minibuffer’ that changes the size of the minibuffer window
> either via the prompt or user input.  I have no idea whether it handles
> all possible cases nor whether it might baldy interact with the part
> that traces messages resizing the echo area.

Thanks, please push to the emacs-25 branch.




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.