GNU bug report logs -
#19576
24.4; Broken function in `window-size-change-functions' cause `write-file' to write the wrong buffer
Previous Next
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 #226 received at 19576 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
>> 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.
Also, saving match data around the ‘window-size-change-functions’ calls
and not saving current buffer and selected window constitutes a gross
inconsistency IMHO. So I'd rather prefer to close my eyes to this part
of the code, if possible.
martin
[xdisp.diff (text/plain, attachment)]
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.