From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: Pcompletion for ssh and scp Date: Wed, 05 Dec 2007 19:07:20 -0500 Message-ID: <5y63zcsn2f.fsf@fencepost.gnu.org> References: <85d4tmm6pc.fsf@evri.com> <85zlwolwwy.fsf@evri.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196899661 4947 80.91.229.12 (6 Dec 2007 00:07:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Dec 2007 00:07:41 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Phil Hagelberg Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 06 01:07:48 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J04HL-0005ek-VS for ged-emacs-devel@m.gmane.org; Thu, 06 Dec 2007 01:07:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J04H1-00071y-0o for ged-emacs-devel@m.gmane.org; Wed, 05 Dec 2007 19:07:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J04Gx-0006yO-Ge for emacs-devel@gnu.org; Wed, 05 Dec 2007 19:07:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J04Gw-0006w0-2Y for emacs-devel@gnu.org; Wed, 05 Dec 2007 19:07:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J04Gv-0006vi-Qw for emacs-devel@gnu.org; Wed, 05 Dec 2007 19:07:21 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J04Gv-0004y0-Cy for emacs-devel@gnu.org; Wed, 05 Dec 2007 19:07:21 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1J04Gu-0008SU-W2; Wed, 05 Dec 2007 19:07:21 -0500 X-Spook: assassination PLO eavesdropping terrorist ASLET ISEC X-Ran: OeKu&Z5s!p.uYl1YR%=emdo:|O8qO\8@Vg>8m/VNS^C[0QP26zG^0r6:?TITJ!v",`0g.& X-Hue: cyan X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:84761 Archived-At: Phil Hagelberg wrote: > I would like to remove hashed entries, but I'm not sure if there's a > reliable programmatic way to distinguish them from actual hostnames. On my system, the hashes always start with |1|. If this is not universal, you could add a customizable regexp for "hostnames" to be ignored.