From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: trunk r114834: Tweak Tramp method definition syntax to allow overriding check for localhost-only methods Date: Tue, 29 Oct 2013 08:10:16 +0100 Message-ID: <8761sgy2lj.fsf@gmx.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1383030641 27894 80.91.229.3 (29 Oct 2013 07:10:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Oct 2013 07:10:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 29 08:10:44 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vb3Rr-0002aY-D1 for ged-emacs-devel@m.gmane.org; Tue, 29 Oct 2013 08:10:43 +0100 Original-Received: from localhost ([::1]:44553 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb3Rq-0005ja-Q4 for ged-emacs-devel@m.gmane.org; Tue, 29 Oct 2013 03:10:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb3Rf-0005jD-SM for emacs-devel@gnu.org; Tue, 29 Oct 2013 03:10:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vb3RV-0004PO-KV for emacs-devel@gnu.org; Tue, 29 Oct 2013 03:10:31 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:56885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb3RV-0004Ox-BC for emacs-devel@gnu.org; Tue, 29 Oct 2013 03:10:21 -0400 Original-Received: from detlef.gmx.de ([93.202.57.105]) by mail.gmx.com (mrgmx102) with ESMTPS (Nemesis) id 0LvzF3-1VkkdT1Dmn-017lUI for ; Tue, 29 Oct 2013 08:10:18 +0100 In-Reply-To: (Daniel Colascione's message of "Tue, 29 Oct 2013 02:50:57 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Provags-ID: V03:K0:F0PwWW5Pp9McQGSU5wypqhEmla27Ht33WCihhHsn5rNnAgCenwn 7kgzm28q1GIAUiG09KJTXqFgJod+wpSFlDNuV6hWV1rQSaO02umVPlWV3fsSinah4A3TTDi EmSh1B/MT3geBd82CtrUp52M02sb/YQp8zTwg/OD4ZJZ9EV6TjOdb3CmhlJn2sASgBCnWDn DeHIJHukwsbMDfMU9oSYg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.15.18 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164610 Archived-At: Daniel Colascione writes: Hi Daniel, > + * `tramp-hostname-checker' > + This is a function that tramp calls while setting > + up a connection. It is called with three arguments: > + the target, the host, and the method description. If > + the hostname is unacceptable, this function should signal > + using `tramp-error'. If a method does not provide > + a value here, then Tramp looks at whether the method's > + login program uses a \"%h\" parameter. If not, then Tramp > + requires that the given hostname match `tramp-local-host-regexp'. I don't follow. What is this change good for? Do you have a use case? Best regards, Michael.