GNU bug report logs - #24980
Fwd: tramp (2.2.13.25.1); ido virtual buffer interaction

Previous Next

Package: emacs;

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

Date: Mon, 21 Nov 2016 18:39:02 UTC

Severity: normal

Tags: patch

Fixed in version 26.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Dave Abrahams <dave <at> boostpro.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: bug#24980 <24980 <at> debbugs.gnu.org>
Subject: Re: Fwd: tramp (2.2.13.25.1); ido virtual buffer interaction
Date: Mon, 21 Nov 2016 13:33:24 -0800
on Mon Nov 21 2016, Michael Albinus <michael.albinus-AT-gmx.de> wrote:

> From:  Michael Albinus <michael.albinus <at> gmx.de>
> Subject: Re: tramp (2.2.13.25.1); ido virtual buffer interaction
> To:  Dave Abrahams <dave <at> boostpro.com>
> Cc: tramp-devel <at> gnu.org
> Date: Mon, 21 Nov 2016 19:34:04 +0100 (2 hours, 52 minutes, 15 seconds ago)
>
> Dave Abrahams <dave <at> boostpro.com> writes:
>
> Hi Dave,
>
>> VoilĂ :
>
> Thanks. And here is the story:
>
>>   expand-file-name("/wingy:tmp" nil)
>>   apply(expand-file-name ("/wingy:tmp" nil))
>>   tramp-completion-run-real-handler(expand-file-name ("/wingy:tmp" nil))
>>   tramp-completion-file-name-handler(expand-file-name "/wingy:tmp" nil)
>>   get-file-buffer("/wingy:tmp")
>>   ido-add-virtual-buffers-to-list()
>
> ido-add-virtual-buffers-to-list calls get-file-buffer. This calls
> expand-file-name, and Tramp becomes active. "/wingy:tmp" seems to be the
> file name related to the (still existing) buffer with the dead connection.
>
> There is no obvious solution, I will forward your report as Emacs bug,
> therefore.

Best workaround I have for now is to set `ido-use-virtual-buffers' to
'auto, which at least prevents it from invoking TRAMP until such a time
as I type a name for which there are no matches.  However, I'm guessing
`recentf-keep-default-predicate' might be fixed up to avoid this.

Thanks again,

-- 
-Dave




This bug report was last modified 8 years and 235 days ago.

Previous Next


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