From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oscar Fuentes Newsgroups: gmane.emacs.devel Subject: Re: Emacs unconditionally loads tramp.el Date: Sun, 30 Apr 2006 15:03:24 +0200 Message-ID: References: <4453EFB3.4050306@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1146402247 22752 80.91.229.2 (30 Apr 2006 13:04:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Apr 2006 13:04:07 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 30 15:04:05 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FaBai-0008L3-Q3 for ged-emacs-devel@m.gmane.org; Sun, 30 Apr 2006 15:04:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FaBai-0008W9-4H for ged-emacs-devel@m.gmane.org; Sun, 30 Apr 2006 09:04:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FaBaW-0008TQ-B3 for emacs-devel@gnu.org; Sun, 30 Apr 2006 09:03:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FaBaU-0008Py-EK for emacs-devel@gnu.org; Sun, 30 Apr 2006 09:03:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FaBaU-0008Po-5j for emacs-devel@gnu.org; Sun, 30 Apr 2006 09:03:46 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FaBe4-0002zI-HO for emacs-devel@gnu.org; Sun, 30 Apr 2006 09:07:28 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FaBaN-0008Hl-BF for emacs-devel@gnu.org; Sun, 30 Apr 2006 15:03:39 +0200 Original-Received: from 236.red-83-61-144.dynamicip.rima-tde.net ([83.61.144.236]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Apr 2006 15:03:39 +0200 Original-Received: from oscarfv by 236.red-83-61-144.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Apr 2006 15:03:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 45 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 236.red-83-61-144.dynamicip.rima-tde.net User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:MFkLIS+iXo2fiMqDXjrKMkVx334= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:53653 Archived-At: Jason Rumney writes: > Oscar Fuentes writes: > >> (setq tramp-default-method "plink") >> >> and you are done. > > That is the default if plink is in your path. See the definition of > tramp-default-method. I see no reference to PATH on that variable's help: C-h v tramp-default-method tramp-default-method is a variable defined in `tramp.el'. Its value is "plink" Documentation: *Default method to use for transferring files. See `tramp-methods' for possibilities. Also see `tramp-default-method-alist'. You can customize this variable. [back] M-x version GNU Emacs 22.0.50.1 (i386-msvc-nt5.0.2195) of 2006-04-13 on K7 And now that we are at it, copying archives is broken (with dired buffer showing the remote files, using `C' over a binary file, copy to local system. Remote is NetBSD, local is WindowsXP, the file copied to local machine has lots of bytes inserted here and there. It seems not a line-end conversion problem). Assigning pscp (PuTTY's copy program) to tramp-copy-program makes no difference: Tramp keeps uuencoding-uudecoding the file. Furthermore, Tramp seems to have problems detecting the coding system of a remote file: loading a remote file with accented chars and saving it again, converts the accented chars to something else, without notice. -- Oscar