GNU bug report logs -
#22844
24.4; ido confused by leading ~ in dir names
Previous Next
Reported by: trentbuck <at> gmail.com (Trent W. Buck)
Date: Sun, 28 Feb 2016 23:57:01 UTC
Severity: normal
Merged with 45257
Found in versions 24.4, 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
trentbuck <at> gmail.com (Trent W. Buck) writes:
> Because I use wget -x, I have directories like this:
> ~/Desktop/www.cl.cam.ac.uk/~rja14/Papers/SEv2-c01.pdf
>
> If I open dired in ~/Desktop, I can browse to that just fine.
>
> If I use C-x C-f (ido-find-file) from ~/Desktop/www.cl.cam.ac.uk/,
> I can press ^M and got into ~rja14 just fine:
>
> Find file: ~/Desktop/www.cl.cam.ac.uk/{~rja14/ | ~sjm217/}
> ^M Find file: ~/Desktop/www.cl.cam.ac.uk/~rja14/{Papers/ | book/ | book.html}
>
> But if I try to navigate via C-x C-f from somewhere else (like ~/Desktop), ido goes haywire:
>
> Find file: ~/Desktop/{www.cl.cam.ac.uk/ | ...
> ^M Find file: ~/Desktop/www.cl.cam.ac.uk/{~rja14/ | ~sjm217/}
> ^M Find file: ~/Desktop/~rja14/ [No match]
(This bug report unfortunately got no response at the time.)
I can confirm that this bug is still present in Emacs 28, but I have not
tried to debug it. It looks like ido is treating ~foo as a home
directory? Normal Emacs completion does the same, I guess, but only if
~foo exists...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 354 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.