From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Ido and hosts named with a single letter. Date: Mon, 27 Nov 2006 10:43:38 +0100 Message-ID: References: <877ixinfkp.fsf@lrde.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1164620944 14312 80.91.229.2 (27 Nov 2006 09:49:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Nov 2006 09:49:04 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 27 10:48:58 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1God6a-0004aa-63 for ged-emacs-devel@m.gmane.org; Mon, 27 Nov 2006 10:48:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1God6Z-0005g1-EX for ged-emacs-devel@m.gmane.org; Mon, 27 Nov 2006 04:48:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1God1s-0002YW-Ap for emacs-devel@gnu.org; Mon, 27 Nov 2006 04:44:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1God1n-0002Qv-H8 for emacs-devel@gnu.org; Mon, 27 Nov 2006 04:43:57 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1God1m-0002QR-Hn for emacs-devel@gnu.org; Mon, 27 Nov 2006 04:43:54 -0500 Original-Received: from [195.41.46.236] (helo=pfepb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1God1m-0000BE-E1 for emacs-devel@gnu.org; Mon, 27 Nov 2006 04:43:54 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepb.post.tele.dk (Postfix) with SMTP id 5E402A5004B; Mon, 27 Nov 2006 10:43:52 +0100 (CET) Original-To: michael@cadilhac.name (=?utf-8?Q?Micha=C3=ABl?= Cadilhac) In-Reply-To: <877ixinfkp.fsf@lrde.org> (=?utf-8?Q?Micha=C3=ABl?= Cadilhac's message of "Sun\, 26 Nov 2006 21\:00\:38 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:62852 Archived-At: michael@cadilhac.name (Micha=C3=ABl Cadilhac) writes: > Try this : > emacs -Q > M-x ido-mode > C-x C-f /tmp > > Everything's okey. > Now, do the same but before, add a line with a `w' in your known hosts: > echo w >> ~/.ssh/known_hosts > > It will result in the error =C2=AB Login failed =C2=BB. Disgracious. Thank you for the report. > > I propose the following patch, which makes ido allow such host names. I have not checked, but IIRC, the .. is deliberate. I would fear that this change will break ido on Windoze as it may then confuse single letter hostnames and drive letters, e.g. c: vs. c: ... I'll look for another way to fix this. --=20 Kim F. Storm http://www.cua.dk