From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Svend Sorensen Newsgroups: gmane.emacs.bugs Subject: bug#17284: Host name completion in shell mode take 45 seconds Date: Thu, 02 Apr 2015 10:36:09 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1427996328 10549 80.91.229.3 (2 Apr 2015 17:38:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Apr 2015 17:38:48 +0000 (UTC) To: 17284@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 02 19:38:34 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Ydj4Y-00045i-5d for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Apr 2015 19:38:30 +0200 Original-Received: from localhost ([::1]:59630 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ydj4X-0007jX-KT for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Apr 2015 13:38:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ydj3B-0005DL-7y for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2015 13:37:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ydj38-0002yX-Eu for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2015 13:37:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53702) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ydj38-0002yO-CE for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2015 13:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Ydj37-0002Qz-Ry for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2015 13:37:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Svend Sorensen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Apr 2015 17:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17284 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17284-submit@debbugs.gnu.org id=B17284.14279961849308 (code B ref 17284); Thu, 02 Apr 2015 17:37:01 +0000 Original-Received: (at 17284) by debbugs.gnu.org; 2 Apr 2015 17:36:24 +0000 Original-Received: from localhost ([127.0.0.1]:43478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ydj2V-0002Q4-MY for submit@debbugs.gnu.org; Thu, 02 Apr 2015 13:36:23 -0400 Original-Received: from mail-pa0-f41.google.com ([209.85.220.41]:36098) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ydj2T-0002Pn-Bg for 17284@debbugs.gnu.org; Thu, 02 Apr 2015 13:36:21 -0400 Original-Received: by padcy3 with SMTP id cy3so90399857pad.3 for <17284@debbugs.gnu.org>; Thu, 02 Apr 2015 10:36:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type; bh=6Q8abdWeNshzbkxiogHKepHEe/SSo0IvxVctzT2WkUA=; b=KVq0FJeAxWn0C5qjv5QrxluDRDrJnXvFwpp9HsroAE2RIeuzjr2naQb4zMyqA4/axw D7A/F7fypzRyMVYlQNfIMCMvZBaO3j3jxJysztaTxzhvbeIZqowaq8ihZ5CFKjeR8Kk4 rCwy6rvo6YWblr1CJZzcA5Ilz59aCa6Kh/+3PFMo1GfVxfSLfCTsSjuGDFJlU2sWVD/U 8Oc/aFw4KmCHQX6zpoRnsRR/13jFvNpfiySSj5VZYJ92HMKUZ3OLqq9AzBwRNJs5MNN7 7vklFlWTaVCuO8nhQR/JracToob89S+ExDr+S242EorzZVtclcV/okQavYw+ZwTj7sUe 3yBA== X-Gm-Message-State: ALoCoQk4eHiZwgxtF3UD15vpSnCMf+Bp3oKsaindxaLPG39V+TFNKkN/07+qEuD+lIWhiNYI8ZhP X-Received: by 10.66.65.234 with SMTP id a10mr48242651pat.120.1427996175183; Thu, 02 Apr 2015 10:36:15 -0700 (PDT) Original-Received: from svesorm0.corp.w3data.com ([64.124.61.215]) by mx.google.com with ESMTPSA id 5sm5824646pdg.45.2015.04.02.10.36.13 for <17284@debbugs.gnu.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Apr 2015 10:36:13 -0700 (PDT) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:101142 Archived-At: This delay is happening in the pcmpl-ssh-known-hosts function, during the second while: (while (and (looking-back ",") (re-search-forward host-re (line-end-position) t)) (add-to-list 'ssh-hosts-list (concat (match-string 1) (match-string 2)))) If I remove this, I get back a list of hosts immediately. My known_hosts file has 3600 lines.