[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp (2.0.38); Saving remote file loses coding system information
From: |
Michael Albinus |
Subject: |
Re: tramp (2.0.38); Saving remote file loses coding system information |
Date: |
Wed, 31 Mar 2004 14:06:35 +0200 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/20.7 (hpux) |
Colin Marquardt <address@hidden> writes:
> Hi ex-colleague :),
Hi Colin,
"ex" is correct. Likely I'll leave the company soon as well.
> Actually, I'm not sure how to do this. I tried the following:
>
> ;; disable tramp - from
> ;; http://mail.gnu.org/archive/html/emacs-devel/2002-11/msg00683.html,
> ;; typo "delelete" fixed:
> (setq file-name-handler-alist
> (delete (assq 'tramp-completion-file-name-handler
> file-name-handler-alist)
> file-name-handler-alist))
> (setq file-name-handler-alist
> (delete (assq 'tramp-file-name-handler
> file-name-handler-alist)
> file-name-handler-alist))
>
> but it doesn't seem to take effect?
Try this one:
(setq file-name-handler-alist
(delete (rassq 'tramp-completion-file-name-handler
file-name-handler-alist)
(delete (rassq 'tramp-file-name-handler
file-name-handler-alist)
(cons '("^/[^/:]*\\'" . ange-ftp-completion-hook-function)
(cons '("^/[^/:]*[^/:.]:" . ange-ftp-hook-function)
file-name-handler-alist)))))
> Cheers,
> Colin
Best regards, Michael.