GNU bug report logs - #29440
Tramp put drive_c in the backup file name when backuping in local PC/windows

Previous Next

Package: emacs;

Reported by: Shuguang Sun <shuguang <at> gmail.com>

Date: Sat, 25 Nov 2017 17:27:01 UTC

Severity: minor

Fixed in version 26.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 29440 <at> debbugs.gnu.org, shuguang <at> gmail.com
Subject: bug#29440: Tramp put drive_c in the backup file name when backuping in local PC/windows
Date: Mon, 27 Nov 2017 21:21:02 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

Hi Eli,

> With your example, this produces
>
>   "c:/Users/lb01177/AppData/Roaming/.emacs.d/backup/plink!!albinus <at> 192.168.178.30!!!home!albinus!tmp!123"
>
> Or maybe prepend a slashe before calling subst-char-in-string?  That
> would produce
>
>   "c:/Users/lb01177/AppData/Roaming/.emacs.d/backup/!plink!!albinus <at> 192.168.178.30!!!home!albinus!tmp!123"
>
> WDYT?

I'd prefer the second variant. It makes it more obvious where the file
name is transformed from, keeping the leading slash.

Best regards, Michael.




This bug report was last modified 7 years and 184 days ago.

Previous Next


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