unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Romain Francoise <romain@orebokech.com>, 9554@debbugs.gnu.org
Subject: bug#9554: 24.0.50; shell-mode completion broken
Date: Sun, 25 Sep 2011 09:08:56 +0200	[thread overview]
Message-ID: <8762kh85fb.fsf@gmx.de> (raw)
In-Reply-To: <jwvhb48htxq.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Mon, 19 Sep 2011 21:44:32 -0400")

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.





  parent reply	other threads:[~2011-09-25  7:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-19 21:30 bug#9554: 24.0.50; shell-mode completion broken Romain Francoise
2011-09-19 21:46 ` Glenn Morris
2011-09-20  1:44 ` Stefan Monnier
2011-09-20  5:56   ` Romain Francoise
2011-09-25  7:08   ` Michael Albinus [this message]
2011-10-01  2:45     ` Glenn Morris
     [not found]   ` <jwvk48mnhoo.fsf-monnier+emacs@gnu.org>
2011-10-03 17:26     ` bug#9377: " Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8762kh85fb.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=9554@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=romain@orebokech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).