From: Michael Albinus <michael.albinus@gmx.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 29440@debbugs.gnu.org, shuguang@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 [thread overview]
Message-ID: <87bmjnmq1d.fsf@gmx.de> (raw)
In-Reply-To: <83efoj61f5.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 27 Nov 2017 20:07:10 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
Hi Eli,
> With your example, this produces
>
> "c:/Users/lb01177/AppData/Roaming/.emacs.d/backup/plink!!albinus@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@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.
next prev parent reply other threads:[~2017-11-27 20:21 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
2017-11-27 17:24 ` Michael Albinus
2017-11-27 18:07 ` Eli Zaretskii
2017-11-27 20:21 ` Michael Albinus [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bmjnmq1d.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=29440@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=shuguang@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).