GNU bug report logs - #29149
Tramp shell uses local shell setting in windows

Previous Next

Package: emacs;

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

Date: Sun, 5 Nov 2017 04:11:01 UTC

Severity: normal

Merged with 29442

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

Bug is archived. No further changes may be made.

Full log


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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 29149 <at> debbugs.gnu.org, Shuguang Sun <shuguang <at> gmail.com>
Subject: Re: bug#29149: Tramp shell uses local shell setting in windows
Date: Tue, 14 Nov 2017 16:44:41 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> A further information: it is about backup. When I setup
>> tramp-backup-directory-alist which will make it backup
>> serverside. However, It concat !driver_c to the backup file name.
>> 
>> I have setting ("\\.md$" . "~/.emacs.d/backup-tramp/mdfiles") in
>> tramp-backup-directory-alist. The backup file
>> in the server is 
>> "!drive_c!plink!!user <at> host!!!opt!host!path!Ava!_summary.md.~1~"
>> 
>> The "!drive_c" comes very strange.
>
> Michael, any advice on this one?  Do you understand where did
> !drive_c! come from?  AFAIU, it should only be used for backups of
> local files.

Since I cannot test under MS Windows, I need traces. Shuguang, could
you, pls, apply the settings as described in the Tramp manual, at the
bottom of (info "(tramp) Traces and Profiles") . Rerun your tests,
provoking a remote backup file. This produces a buffer *trace-output*,
which should tell us where the mysterious !drive_c! is prepended.

Best regards, Michael.




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

Previous Next


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