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 09:29:10 +0100 Message-ID: <87wqkwwkdl.fsf@gmx.de> References: <8761sgy2lj.fsf@gmx.de> <526F6091.5000307@dancol.org> <871u34y1us.fsf@gmx.de> <526F66D4.4010400@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1383035370 13146 80.91.229.3 (29 Oct 2013 08:29:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Oct 2013 08:29:30 +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 09:29:34 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 1Vb4g8-00021p-QT for ged-emacs-devel@m.gmane.org; Tue, 29 Oct 2013 09:29:32 +0100 Original-Received: from localhost ([::1]:45273 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb4g8-0004bn-DQ for ged-emacs-devel@m.gmane.org; Tue, 29 Oct 2013 04:29:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb4fz-0004ad-NP for emacs-devel@gnu.org; Tue, 29 Oct 2013 04:29:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vb4fq-0003ie-Fw for emacs-devel@gnu.org; Tue, 29 Oct 2013 04:29:23 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:64652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb4fq-0003iY-5y for emacs-devel@gnu.org; Tue, 29 Oct 2013 04:29:14 -0400 Original-Received: from detlef.gmx.de ([93.202.57.105]) by mail.gmx.com (mrgmx102) with ESMTPS (Nemesis) id 0Mam2Q-1VGfRK1beE-00KLeo for ; Tue, 29 Oct 2013 09:29:12 +0100 In-Reply-To: <526F66D4.4010400@dancol.org> (Daniel Colascione's message of "Tue, 29 Oct 2013 00:42:12 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Provags-ID: V03:K0:3gIJO+h79EXgd+einQXikuiVpRDoFzUvysBO9o3lrRd3HcWDZQ+ ktItCZ+8HJ7QiG9vXQsnd2JMKWME+2VIEbXgSGYFtFWmLwRW2RoTzKTVObmU0bx3AVr8J8a uV63HJTkT3G99DPf7Ky5B78RafOiHHv/rGIFcEmGVKWhW4zjjpjHqQRDCEjfKirpH3jzWlF JM/0T7RtkCvz7/n59ZDXA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.17.21 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:164615 Archived-At: Daniel Colascione writes: > It's largely a copy of sshx with some pre-connection twiddling and > out-of-band host selection. I'd rather not actually reproduce it > here. If you object strongly to my change, I can back it out of > course; I'll have to figure out a way to insert a dummy %h. I do not object strongly, I just want to understand. You could send it to me off-list (with anonymous user and host names), that I understand it better. Then we might decide, which is the best way to fit your needs. >> Note, that I have converted tramp-methods from defcustom to defvar a >> while ago. It's meanwhile too complex, to offer it as general purpose >> config mean. > > Then it might be worthwhile to remove the section about non-standard > methods from the manual entirely. Right. > In the meantime, it seems perfectly amenable to customization by > ambitious end users. Yep, despite the fact that you have changed also the code in tramp-compute-multi-hops. This is far from what was intended. And I also don't understand, what's the effect of tramp-error in your tramp-hostname-checker. >From time to time, new attributes appear in tramp-methods, which are important to be set. People do not change their config, because they are not aware of the changes. This could (and did) raise problems. Best regards, Michael.