tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp (2.0.39); backup file naming error (%backup% resulted)


From: Michael Albinus
Subject: Re: tramp (2.0.39); backup file naming error (%backup% resulted)
Date: Mon, 15 Mar 2004 21:26:49 +0100
User-agent: Gnus/5.09002 (Oort Gnus v0.20) Emacs/21.3.50 (gnu/linux)

Peter Woo <address@hidden> writes:

> Got you point also.  I guess for me, to convince the Emacs maintainers
> is more applicable to my case because I don't how to code my own
> function for hooking to tramp...  Besides, at files.el level, it
> probably could solve for all which uses ":" in filenames.  I'll check
> on the Emacs list.

As workaround you can try this one (together with setting
`backup-directory-alist'):

(defadvice make-backup-file-name
  (after tramp-advice-make-backup-file-name activate)
  "Converting \":\" for Tramp file names."
  (subst-char-in-string ?: ?! ad-return-value 'inplace))

> Many thanks,
> P.

Best regards, Michael.




reply via email to

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