From: Shuguang Sun <shuguang@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 29440@debbugs.gnu.org
Subject: bug#29440: Tramp put drive_c in the backup file name when backuping in local PC/windows
Date: Sun, 26 Nov 2017 14:00:48 +0800 [thread overview]
Message-ID: <CACspjXf6op_Gd7AAqR1cV=fuGcLR_yGZw2K-O=pVWuH3zgR_9w@mail.gmail.com> (raw)
In-Reply-To: <831skm88vm.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1309 bytes --]
It should be "c:/Users/username/HOME/.
emacs.d/autosave/Rfiles/!plink!!username@host!!!opt!bee!home!username!test!coxph_bench.r.~2~",
because it is in server in not in "c:/plink...." and there should be "!drive_c"
added.
On Sun, Nov 26, 2017 at 3:18 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> > From: Shuguang Sun <shuguang@gmail.com>
> > Date: Sun, 26 Nov 2017 00:08:42 +0800
> >
> > 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@host!!!opt!bee!home!username!test!
> coxph_bench.r.~2~",
> > where "dirve_c" was put in.
>
> Maybe I'm confused, but what did you expect to happen instead? When
> files are backed-up in a single directory, the drive letters cannot be
> kept because Windows doesn't allow colons in file names.
>
[-- Attachment #2: Type: text/html, Size: 1877 bytes --]
next prev parent reply other threads:[~2017-11-26 6:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-25 16:08 bug#29440: Tramp put drive_c in the backup file name when backuping in local PC/windows Shuguang Sun
2017-11-25 19:18 ` Eli Zaretskii
2017-11-26 6:00 ` Shuguang Sun [this message]
2017-11-27 17:24 ` Michael Albinus
2017-11-27 18:07 ` Eli Zaretskii
2017-11-27 20:21 ` Michael Albinus
2017-11-30 19:23 ` Michael Albinus
2017-12-01 18:20 ` Eli Zaretskii
2017-12-01 10:42 ` Eli Zaretskii
2017-12-02 11:34 ` Michael Albinus
2018-02-05 13:31 ` Michael Albinus
2018-02-06 9:12 ` Shuguang Sun
2018-02-07 7:37 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CACspjXf6op_Gd7AAqR1cV=fuGcLR_yGZw2K-O=pVWuH3zgR_9w@mail.gmail.com' \
--to=shuguang@gmail.com \
--cc=29440@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.