From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione 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 00:42:12 -0700 Message-ID: <526F66D4.4010400@dancol.org> References: <8761sgy2lj.fsf@gmx.de> <526F6091.5000307@dancol.org> <871u34y1us.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1383032550 15523 80.91.229.3 (29 Oct 2013 07:42:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Oct 2013 07:42:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 29 08:42:35 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 1Vb3wh-0004Eb-LW for ged-emacs-devel@m.gmane.org; Tue, 29 Oct 2013 08:42:35 +0100 Original-Received: from localhost ([::1]:45083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb3wh-0002p6-7B for ged-emacs-devel@m.gmane.org; Tue, 29 Oct 2013 03:42:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb3wZ-0002n6-Oz for emacs-devel@gnu.org; Tue, 29 Oct 2013 03:42:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vb3wR-0006sg-S8 for emacs-devel@gnu.org; Tue, 29 Oct 2013 03:42:27 -0400 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:47606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb3wR-0006sX-JG for emacs-devel@gnu.org; Tue, 29 Oct 2013 03:42:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=VDgogxJ9xLTV4sOMLb5kqDMm5el1fdZ8flxUdmEd1MM=; b=YCc9fKzonjK/pkEctIAmSGjbc8k4WDppb0b08DvhXQDXfYwWMpfWFacQqXOul8I7hDEowf7QDSnKaxLbI84IsJL7o5qT3kfueFcD8d8Kfwl2pSx6xf3aOu669IcnTjwbomHqLMXNzsuLvYfXTrDSnBmosTycrcnP2NKR45l3imYseug9c+9EiKxTdHIxU7PANeMzvypd7y+tgZyIrYh4M496wG4qMexq7NtQDJzDzbvFGtXoAR2Sbuysvt6R5dTSdP561RHUInFCwaQrDQ61x/0PDTVmxfL8bZWLUHLyFMlHjsk4Qutn8yUm+Zfc3IhBS/tHFW71UiRVTIPvJ0m+pQ==; Original-Received: from c-69-181-250-160.hsd1.ca.comcast.net ([69.181.250.160] helo=[10.0.0.8]) by dancol.org with esmtpsa (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Vb3wQ-0008JM-Fp; Tue, 29 Oct 2013 00:42:18 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: <871u34y1us.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2600:3c01::f03c:91ff:fedf:adf3 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:164613 Archived-At: On 10/29/2013 12:26 AM, Michael Albinus wrote: > Daniel Colascione writes: >> I do locally --- a custom tramp method that connects to just one host >> and therefore doesn't refer to %h --- but more generally, it seems odd >> to tie the local- versus remote-capable distinction to just referring >> to %h. > > That's what you have said in the docstring, more or less. Could you, > please, show me your use case? 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. > 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. In the meantime, it seems perfectly amenable to customization by ambitious end users.