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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#29440: closed (Tramp put drive_c in the backup file name when
 backuping in local PC/windows)
Date: Wed, 07 Feb 2018 07:38:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 07 Feb 2018 08:37:24 +0100
with message-id <878tc5b68b.fsf <at> gmx.de>
and subject line Re: bug#29440: Tramp put drive_c in the backup file name when backuping in local PC/windows
has caused the debbugs.gnu.org bug report #29440,
regarding Tramp put drive_c in the backup file name when backuping in local PC/windows
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
29440: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29440
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Shuguang Sun <shuguang <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Tramp put drive_c in the backup file name when backuping in local
 PC/windows
Date: Sun, 26 Nov 2017 00:08:42 +0800
[Message part 3 (text/plain, inline)]
Hi,

Windows 7
GNU Emacs 27.0.50 (build 1, x86_64-w64-mingw32) of 2017-11-24

I didn't set tramp-backup-directory-alist which means the fiile will be
backuped locally instead of being backup in server side.

backup-directory-alist:
     ("\\.[rR]\\(md\\)?$" . "~/.emacs.d/autosave/Rfiles")

When I open a file in tramp and edit it, the backup file will be and was
backuped in the local direcory: ~/.emacs.d/autosave/Rfiles
(c:/Users/username/HOME/.emacs.d/autosave/Rfiles). However the backfile is
named
"c:/Users/username/HOME/.emacs.d/autosave/Rfiles/!drive_c!plink!!username <at> host!!!opt!bee!home!username!test!coxph_bench.r.~2~",
where "dirve_c" was put in.

I attached the log file, and it may be anchored by find "c:/plink" and
"drive_c".
[Message part 4 (text/html, inline)]
[tramp_local_backup_traceing.txt (text/plain, attachment)]
[Message part 6 (message/rfc822, inline)]
From: Michael Albinus <michael.albinus <at> gmx.de>
To: Shuguang Sun <shuguang <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 29440-done <at> debbugs.gnu.org
Subject: Re: bug#29440: Tramp put drive_c in the backup file name when
 backuping in local PC/windows
Date: Wed, 07 Feb 2018 08:37:24 +0100
Version: 26.1

Shuguang Sun <shuguang <at> gmail.com> writes:

Hi Shuguang,

> Now it works correctly.
>
> !plink!!username <at> host!!!path!to!file.r.~2~

Thanks for the feedback. I'm closing the bug.

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.