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


View this message in rfc822 format

From: Shuguang Sun <shuguang <at> gmail.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 29149 <at> debbugs.gnu.org
Subject: bug#29149: Tramp shell uses local shell setting in windows
Date: Thu, 16 Nov 2017 10:20:41 +0800
[Message part 1 (text/plain, inline)]
Hi Michael,

I attached the trace log which has actions: open the file coxph_bench.r,
and edit it, and save it. If you need the full log, please let me know.


Occur: c:/\|drive my help.

Looks like something of "| | | | | | 7 -> (tramp-drop-volume-letter
"c:/opt/home/username/test/coxph_bench.r")" was not applied.



On Tue, Nov 14, 2017 at 11:44 PM, Michael Albinus <michael.albinus <at> gmx.de>
wrote:

> 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.
>
[Message part 2 (text/html, inline)]
[tramp_backup_trace_small.txt (text/plain, attachment)]

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

Previous Next


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