However, while it works fine for tramp's ftp option, for ssh, it fails when saving. The 'Not a tramp file' error still appears.
Initially, I thought it was the "!" which causes the problem this time but when using the code below to translate "!" to "#", it still failed. Actually, perhaps it's not a valid guess because with 'ftp' option, the full filename does get saved to the backup dir. The error msg:
Not a tramp file name: /home/woop/.emacs.d/autoback/!ssh:[EMAIL PROTECTED]:!home!subnet142.com!admin!test~
So... Many thanks, P.
Michael Albinus wrote:
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))
Best regards, Michael.
_______________________________________________ Tramp-devel mailing list [EMAIL PROTECTED] http://mail.nongnu.org/mailman/listinfo/tramp-devel
