From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#41423: 27.0.91; eshell file completion in tramp dir is slow (3 minutes) [regression on pretest] Date: Sat, 29 Aug 2020 23:55:05 -0400 Message-ID: References: <87mu2d7hka.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22232"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Michael Albinus , rrandresf@gmail.com, Tim Vaughan , 41423@debbugs.gnu.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 30 05:56:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kCERw-0005em-4q for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 Aug 2020 05:56:12 +0200 Original-Received: from localhost ([::1]:60566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kCERu-0001Zj-Pq for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Aug 2020 23:56:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kCERm-0001Zb-08 for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2020 23:56:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37807) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kCERl-0003fX-OQ for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2020 23:56:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kCERl-0007bc-N6 for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2020 23:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Aug 2020 03:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41423 X-GNU-PR-Package: emacs Original-Received: via spool by 41423-submit@debbugs.gnu.org id=B41423.159875971629181 (code B ref 41423); Sun, 30 Aug 2020 03:56:01 +0000 Original-Received: (at 41423) by debbugs.gnu.org; 30 Aug 2020 03:55:16 +0000 Original-Received: from localhost ([127.0.0.1]:49353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCER1-0007ab-Ue for submit@debbugs.gnu.org; Sat, 29 Aug 2020 23:55:16 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:20327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kCER0-0007aP-Sc for 41423@debbugs.gnu.org; Sat, 29 Aug 2020 23:55:15 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 51468809C0; Sat, 29 Aug 2020 23:55:09 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 87FA380855; Sat, 29 Aug 2020 23:55:07 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1598759707; bh=OEUyx7UZASVoTjFTxToe+cVgX/XLB/rSIT0U4zK+3PU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=U1Zjjc6I/uWI2CUbiNSptGRBI3ZtZgwcn9qV4OZriFJDcUzCarEe3Kq52LNI0L5nn OFXfC8/efd+zCAVWwIN9hDNeWlbGMqF3S0732xGlDWD6DHYVcEI+Ymc+BN5AR5Dvic bM+OSjZ9NWcovRWNFjxJ5LBG3dsqKTjhvzUOoF+QerlLZWMBwuGJcvy2mZHmcdRj8P K+PUL8GpRabxJ/nhbTBTNUqj+u5pQsyLUUW10Shjx63fcf5UbyBJnWz3nwUm27QnYT 5e8mNgEDa5K5NMjQTZ9AtcgW/HSUkT+1aNIUPtrJLLKVy4EQdtyW16pbIcvGhdvoHW pYN0bRn7VgLMg== Original-Received: from alfajor (unknown [45.72.232.131]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 3621A120397; Sat, 29 Aug 2020 23:55:07 -0400 (EDT) In-Reply-To: (Gregory Heytings's message of "Sat, 29 Aug 2020 16:12:15 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:186681 Archived-At: > Please don't take my words too literally. "This completes the directory > name" does not mean that `pcomplete/cd' performs the completion > itself. Indeed it returns something with which the completion is performed. Hmm... any hope you could refine your description accordingly? > The bug is clearly not there (at step 2), but later (in the fact that > `completion-at-point' calls `pcomplete-completions-at-point' three times). Calling `pcomplete-completions-at-point` several times is not necessarily a problem. E.g. it's normal to call it a second time after completion to check whether we're still in the same completion area (in order to detect when completion is "finished"). Stefan