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 #61 received at 10085-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 10085-done <at> debbugs.gnu.org
Subject: Re: bug#10085: 24.0.91;
 completion-pcm--find-all-completions returns wrong remote file names
Date: Mon, 02 May 2016 09:19:11 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>> Hmm, "/sudo:" is a valid remote file name. It uses as method the value
>> of `tramp-default-host', and as host the string between "/" and
>> ":".  That's how it is specified.
>
> Where/who specifies it?  AFAIK *you* specify it, so you can change it.

This was specified even before I've entered the Tramp camp, back in 2002.
And I'm very conservative in changing the interface.

Anyway, I've fixed in Tramp the implementation for `file-name-as-directory',
`file-name-directory' and `file-name-nondirectory' in completion mode.
This solves this bug, I'm closing it.

Thanks for pointing me into the right direction with `file-name-directory'!

>         Stefan

Best regards, Michael.




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.