bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19412: 24.3; ido-write-file sometimes writes to a different director


From: Ryan C. Thompson
Subject: bug#19412: 24.3; ido-write-file sometimes writes to a different directory than, it says it will
Date: Mon, 4 Nov 2019 06:52:19 -0800
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

I think I have found a fix for this issue. A patch for ido.el is attached. The solution is essentially to simulate re-typing the current ido input into the fallback command's prompt rather than modifying dynamic variables to trick the fallback command into starting in the right place.

Note that this is NOT thoroughly tested yet. It seems to work for the specific case described in this bug (ido-write-file), but I need to test it for some time to make sure it isn't breaking other cases at the same time. I will use this fix in my Emacs for some time and report back.

Attachment: 0001-Ensure-correct-behavior-in-ido-file-fallback-complet.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]