From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: tramp Date: 23 Aug 2002 12:10:03 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <5x8z2xc2dg.fsf@kfs2.cua.dk> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1030093792 5728 127.0.0.1 (23 Aug 2002 09:09:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 23 Aug 2002 09:09:52 +0000 (UTC) Cc: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-15?q?Gro=DFjohann?=), emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17iARw-0001U0-00 for ; Fri, 23 Aug 2002 11:09:48 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17iAvE-0005ou-00 for ; Fri, 23 Aug 2002 11:40:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17iAT8-00027Z-00; Fri, 23 Aug 2002 05:11:02 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17iARo-00025c-00 for emacs-devel@gnu.org; Fri, 23 Aug 2002 05:09:40 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17iARm-00025Q-00 for emacs-devel@gnu.org; Fri, 23 Aug 2002 05:09:39 -0400 Original-Received: from mail.filanet.dk ([195.215.206.179]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17iARm-00025K-00; Fri, 23 Aug 2002 05:09:38 -0400 Original-Received: from kfs2.cua.dk.cua.dk (kfs2.local.filanet.dk [192.168.1.182]) by mail.filanet.dk (Postfix) with SMTP id 2ADAF7C016; Fri, 23 Aug 2002 09:09:37 +0000 (GMT) Original-To: Miles Bader In-Reply-To: Original-Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6786 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6786 Miles Bader writes: > Since there definitely are parameters which will have to be host/method > specific, and that you're better off simply making a general mechanism by > which _all_ parameters can be set on a host/method specific manner. > > E.g., just an alist containing machine/method/user specs, and variables > and values, which tramp will run down and do > (set (make-local-variable VAR) val) > inside the tramp work buffer. Then the code can use simple variables, > but the user still gets max flexibility where needed. > > An example format might be: > > ((SPEC (VAR . VAL) ...) ...) > > where SPEC is either a regexp matching the hostname, or a tuple like > (HOST USER METHOD) where the components are regexps or nil (meaning > match anything). > > That's what I want. > So do I. I have actually very few remote machines I connect to, so I would like to be able to configure tramp for each of those with the optimal set of parameters (and faster connect times). -- Kim F. Storm http://www.cua.dk