all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Phil Hagelberg <phil@hagelb.org>
Cc: Glenn Morris <rgm@gnu.org>, Emacs developers <emacs-devel@gnu.org>
Subject: Re: 23.0.50; pcmpl-ssh-hosts breaks when known_hosts file has a space in the wrong place
Date: Wed, 09 Apr 2008 21:29:46 +0200	[thread overview]
Message-ID: <87abk2akt1.fsf@gmx.de> (raw)
In-Reply-To: <87hcebngak.fsf@hagelb.org> (Phil Hagelberg's message of "Wed, 09 Apr 2008 09:28:51 -0700")

Phil Hagelberg <phil@hagelb.org> writes:

> Recently it's come to my attention that there's already a function that
> does this in tramp: tramp-parse-hosts will return a list of user/host
> pairs, though on my machine it also returns some key signatures. (I
> imagine it could use some debugging as well.)

Do you mean tramp-parse-shosts? However, this function cannot work
when hostnames in known_hosts are stored in a hashed form like this:

|1|qgSiQ74dNQtRpDaIQHcQgREbNgs=|jwi3ho8zMuJlFvEEiyufB/wVHeU= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAqIGXkE+SgOSOmLqSQHSpsZEVm9Nm2lDzZ0h2RVvtiTzluHYIyuIkMPANvoeFhtmTpXbIllkcXoTUYCCFBc0fpO4O+nTsZmqY0kr52HCmMfMmTvhi+4dlKeLp8UBSaso9XODohFqYyzbMna1sG9S5osSKFHzrKfh4IdLr1fspw97JhSyY1/hzWL2xRR+ljtlwRs3Z1evyasH1UhI/8zyTGv5dUUgCZiNcZyMS5va2FsUChkE2Xjoh1zmDzSmtN62Me7kZCg3+FftH8PT3WMvaGBfLRPfKjwJ3y2KkbodU2z4XMBkFMXNRL9/d5DPkrDc+4vFmKRieKVWBBwr87k7o1Q==

> Clearly this shows some redundancy that should be removed. But I'm not
> sure what the best way to go about this is. I don't think pcomplete
> should require tramp, nor vice-versa. Perhaps it should be spun out into
> a third file that the other two require? I don't feel I have a great
> grasp on how files are organized within Emacs.
>
> Thoughts?

In principle, I agree. But Tramp has also a life outside GNU Emacs 23 ...

> -Phil

Best regards, Michael.




  reply	other threads:[~2008-04-09 19:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-19 21:14 23.0.50; pcmpl-ssh-hosts breaks when known_hosts file has a space in the wrong place Phil Hagelberg
2008-03-20 17:51 ` Glenn Morris
     [not found]   ` <87iqzgx77t.fsf@hagelb.org>
2008-03-24 20:28     ` Glenn Morris
2008-04-09 16:28       ` Phil Hagelberg
2008-04-09 19:29         ` Michael Albinus [this message]
2008-04-10 19:52           ` Phil Hagelberg

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=87abk2akt1.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@gnu.org \
    --cc=phil@hagelb.org \
    --cc=rgm@gnu.org \
    /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.