GNU bug report logs -
#9554
24.0.50; shell-mode completion broken
Previous Next
Reported by: Romain Francoise <romain <at> orebokech.com>
Date: Mon, 19 Sep 2011 21:36:02 UTC
Severity: normal
Found in version 24.0.50
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>> It results in broken completion in two cases that I've noticed (before
>> disabling it) and probably in lots of other cases. pcomplete had
>> practically no users until now, it's not good enough to be enabled by
>> default in Emacs 24.
>
> It's been enabled by default for several months now.
>
>> The two cases I've noticed:
>> 1) Create two files with `touch foo bar'. Then type `rm foo b' and try
>> to complete 'bar'.
>
> That was reported a few weeks ago by Kenichi Handa, and I happen to fix
> it just a few minutes ago.
>
>> 2) Try to scp a local file (e.g. `scp /<TAB>'). pcomplete insists on
>> completing host names, not file names.
>
> Yes, that's an instance of a more general problem with pcomplete.
> I have a fix in the works for it (but don't hold your breath, my
> progress is fairly slow on this front).
There is at least another broken use case, reported on the Tramp mailing
list:
3) Open a buffer dedicated to a remote host, for example "C-x f
/scp:host:". Start `shell', it runs on the remote host. Goto a
directory which does exist on the remote host, but not on the local
one, for example "cd /sh <TAB>". It does not expand to "/share" as
expected, instead it tries to complete the filename on the local host.
This did work before.
> Stefan
Best regards, Michael.
This bug report was last modified 13 years and 297 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.