DarwinAwardWinner / ido-completing-read-plus

Fancy completion all over Emacs, not just for buffers and files.
GNU General Public License v3.0
241 stars 31 forks source link

ido-everywhere breaks uncommon read-file-name case #165

Closed DarwinAwardWinner closed 4 years ago

DarwinAwardWinner commented 4 years ago

The following works with normal Emacs completion but breaks with ido-everywhere enabled:

(read-file-name
 "Pick a file (default /Users/ryan/temp/test.R): "
 "/Users/ryan/" "/Users/ryan/temp/test.R")

Note how the default file name isn't in the default directory. It might be possible to ido-cr+ to fix this, or it might not.

DarwinAwardWinner commented 4 years ago

See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19412

DarwinAwardWinner commented 4 years ago

Possible fix: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19412#19

DarwinAwardWinner commented 4 years ago

Note: it seems this must be patched in ido itself. There is no practical way to fix this with advice or wrapper functions.

DarwinAwardWinner commented 3 years ago

Also relevent: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28513