GNU bug report logs - #19412
24.3; ido-write-file sometimes writes to a different directory than it says it will

Previous Next

Package: emacs;

Reported by: Don Morrison <dfm <at> ringing.org>

Date: Fri, 19 Dec 2014 20:57:01 UTC

Severity: normal

Merged with 20248

Found in version 24.3

Full log


View this message in rfc822 format

From: "Ryan C. Thompson" <rct <at> thompsonclan.org>
To: 19412 <at> debbugs.gnu.org
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
[Message part 1 (text/plain, inline)]
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.
[0001-Ensure-correct-behavior-in-ido-file-fallback-complet.patch (text/plain, attachment)]

This bug report was last modified 4 years and 219 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.