From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-15?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: Current Tramp plans Date: Mon, 24 Jun 2002 16:07:58 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1024927832 32466 127.0.0.1 (24 Jun 2002 14:10:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 24 Jun 2002 14:10:32 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17MUY3-0008RW-00 for ; Mon, 24 Jun 2002 16:10:31 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17MUZE-00040P-00 for ; Mon, 24 Jun 2002 16:11:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17MUXw-0001SX-00; Mon, 24 Jun 2002 10:10:24 -0400 Original-Received: from waldorf.cs.uni-dortmund.de ([129.217.4.42]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17MUVh-0001JW-00 for ; Mon, 24 Jun 2002 10:08:05 -0400 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id g5OE83b11459 for ; Mon, 24 Jun 2002 16:08:03 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id QAA09102; Mon, 24 Jun 2002 16:07:58 +0200 (MET DST) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id 2D5703B5E4; Mon, 24 Jun 2002 16:07:58 +0200 (CEST) Original-To: emacs-devel@gnu.org In-Reply-To: (Kai.Grossjohann@cs.uni-dortmund.de's message of "Fri, 21 Jun 2002 23:08:38 +0200") Original-Lines: 48 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i686-pc-linux-gnu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5148 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5148 Kai.Grossjohann@cs.uni-dortmund.de (Kai Gro=DFjohann) writes: > I would like to proceed in a step-by-step fashion: > > * First, I want to make it so that Tramp can forward requests to > Ange-FTP. I have now worked on this todo item. So you can now say C-x C-f /[ftp/user@host]/path/to/file RET and this will invoke Ange-FTP. This is committed to the Tramp CVS but not to the Emacs CVS. I'm not sure how well tested the code in Emacs CVS should be. (Another feature that's already done is to select methods based on user/host combination. But this is not general filename rewriting as suggested by somebody.) [time passes] Oh, boy. The code as it stands now won't work. What I do is to rewrite the file name to be in Ange-FTP format and then I invoke ange-ftp-hook-function. But this means that buffer-file-name in the new buffers will have the Ange-FTP format. This, of course, is highly bogus. Argh. Lessee. I think this can be solved by changing ange-ftp-name-format to be the same as tramp-file-name-structure. Then I don't need to change the filenames at all. So all the filename rewriting can be taken out again. > * Then I need to have Tramp accept the port number for the Ange-FTP > case. > > * Then comes an Ange-FTP-like filename format for the non-multi > methods. > > * Then comes a new format for the multi-hop filenames. These three items are still on my todo list. kai --=20 A large number of young women don't trust men with beards. (BFBS Radio)