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

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

bug#9554: 24.0.50; shell-mode completion broken


From: Michael Albinus
Subject: bug#9554: 24.0.50; shell-mode completion broken
Date: Sun, 25 Sep 2011 09:08:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Stefan Monnier <monnier@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.





reply via email to

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