From: Daniel Colascione <dancol@dancol.org>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: emacs-devel@gnu.org
Subject: Re: trunk r114834: Tweak Tramp method definition syntax to allow overriding check for localhost-only methods
Date: Tue, 29 Oct 2013 00:15:29 -0700 [thread overview]
Message-ID: <526F6091.5000307@dancol.org> (raw)
In-Reply-To: <8761sgy2lj.fsf@gmx.de>
On 10/29/2013 12:10 AM, Michael Albinus wrote:
> Daniel Colascione <dan.colascione@gmail.com> 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?
>
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.
next prev parent reply other threads:[~2013-10-29 7:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1VazOT-0004Zq-Lq@vcs.savannah.gnu.org>
2013-10-29 7:10 ` trunk r114834: Tweak Tramp method definition syntax to allow overriding check for localhost-only methods Michael Albinus
2013-10-29 7:15 ` Daniel Colascione [this message]
2013-10-29 7:26 ` Michael Albinus
2013-10-29 7:42 ` Daniel Colascione
2013-10-29 8:29 ` Michael Albinus
2013-11-03 9:20 ` Michael Albinus
2013-11-10 8:36 ` Michael Albinus
2013-11-10 8:52 ` Daniel Colascione
2013-11-10 9:01 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=526F6091.5000307@dancol.org \
--to=dancol@dancol.org \
--cc=emacs-devel@gnu.org \
--cc=michael.albinus@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.