[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19576: write-file writes the wrong buffer
From: |
martin rudalics |
Subject: |
bug#19576: write-file writes the wrong buffer |
Date: |
Mon, 30 Nov 2015 14:30:31 +0100 |
>> 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
Description: Text document
- bug#21333: bug#19576: write-file writes the wrong buffer, (continued)
- bug#21333: bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/21
- bug#19576: write-file writes the wrong buffer, martin rudalics, 2015/11/22
- bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/22
- bug#19576: write-file writes the wrong buffer, martin rudalics, 2015/11/22
- bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/23
- bug#19576: write-file writes the wrong buffer, Alan Mackenzie, 2015/11/23
- bug#19576: write-file writes the wrong buffer, martin rudalics, 2015/11/24
- bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/24
- bug#19576: write-file writes the wrong buffer, martin rudalics, 2015/11/28
- bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/28
- bug#19576: write-file writes the wrong buffer,
martin rudalics <=
- bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/30
- bug#19576: write-file writes the wrong buffer, martin rudalics, 2015/11/30
- bug#19576: write-file writes the wrong buffer, martin rudalics, 2015/11/19
- bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/19
- bug#19576: write-file writes the wrong buffer, martin rudalics, 2015/11/20
- bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/20
- bug#19576: write-file writes the wrong buffer, martin rudalics, 2015/11/20
- bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/20
- bug#19576: write-file writes the wrong buffer, martin rudalics, 2015/11/20
- bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/20