GNU bug report logs - #57336
29.0.50; Tramp and recentf yet again

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Mon, 22 Aug 2022 09:00:02 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: Stefan Kangas <stefankangas <at> gmail.com>, miha <at> kamnitnik.top,
 57336 <at> debbugs.gnu.org
Subject: Re: bug#57336: 29.0.50; Tramp and recentf yet again
Date: Mon, 29 Aug 2022 12:28:40 +0200
On Mon, 29 Aug 2022 12:08:58 +0200 Michael Albinus <michael.albinus <at> gmx.de> wrote:

> Stefan Kangas <stefankangas <at> gmail.com> writes:
>
> Hi Stefan,
>
>>>> With my current build from master, when my ~/emacs.d/recentf file
>>>> contains an entry that uses ssh to connect to another machine and this
>>>> machine is offline when I start Emacs, then Tramp repeatedly tries to
>>>> connect to that machine.  [...]
>>>
>>> I suspect that this is due to
>>>
>>> commit c753e4cb2a2a5998626d48d85071c047cbab6c54
>>> Author: Stefan Kangas <stefan <at> marxist.se>
>>> Date:   Thu Jun 23 11:00:19 2022 +0200
>>>
>>>     Use shortened filenames in recentf-mode
>>>
>>>     * lisp/recentf.el (recentf-filename-handlers): Set to
>>>     'abbreviate-file-name' to get shortened names by default.  (Bug#56123)
>>>
>>> 'abbreviate-file-name' tries to establish a connection for remote file
>>> names.
>>
>> Hmm, maybe Michael knows what's going on here, added to Cc.
>
> The problem is rather expand-file-name, which goes remote when the file
> name contains a tilde "~". I've pushed a fix to master, could you pls
> check?

That fixes the problem I reported.  Thanks!

Steve Berman




This bug report was last modified 2 years and 360 days ago.

Previous Next


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