GNU bug report logs - #10085
24.0.91; completion-pcm--find-all-completions returns wrong remote file names

Previous Next

Package: emacs;

Reported by: Michael Albinus <michael.albinus <at> gmx.de>

Date: Sun, 20 Nov 2011 16:00:01 UTC

Severity: normal

Found in version 24.0.91

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 10085 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 10085 <at> debbugs.gnu.org
Subject: Re: bug#10085: 24.0.91;
	completion-pcm--find-all-completions returns wrong remote file names
Date: Tue, 22 Nov 2011 18:05:52 -0500
>>> Start "emacs -Q". Apply "C-x C-f /sudo:: TAB". This results in
>>> "/sudo:sudo:root@". A correct expansion would be "/sudo:root@".
>> 
>> I haven't tracked this down yet, but while trying to I bumped into the
>> following problem:
>> 
>> emacs -Q
>> (completion-try-completion "/sudo::" 'completion-file-name-table nil t)
                                                                       ^^^
                                                                       7
Sorry!

> `expand-file-name' seems to access the remote host. This can be
> suppressed by let-binding of `non-essential' to t.

I think adding non-essential to rfn-eshadow.el would be even more
correct (but it doesn't fix the underlying problem).


        Stefan




This bug report was last modified 9 years and 22 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.