bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29440: Tramp put drive_c in the backup file name when backuping in l


From: Michael Albinus
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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]