From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Tim Vaughan" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#41423: 27.0.91; eshell file completion in tramp dir is slow (3 minutes) [regression on pretest] Date: Wed, 19 Aug 2020 12:24:03 +0200 Message-ID: <4272ba22-6331-4bdc-914a-82df3ab870f1@www.fastmail.com> References: <86k116inmr.fsf@sacsa.i-did-not-set--mail-host-address--so-tickle-me> Reply-To: "Tim Vaughan" Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26995"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Cyrus-JMAP/3.3.0-191-gef79d59-fm-20200818.001-gef79d590 To: 41423@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 19 19:54:26 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 1k8SI5-0006sG-Bt for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Aug 2020 19:54:25 +0200 Original-Received: from localhost ([::1]:54034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8SI4-0007Eb-Br for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Aug 2020 13:54:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51122) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8SHk-0006jg-4e for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2020 13:54:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57630) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k8SHj-0005b5-Ql for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2020 13:54:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k8SHi-0006tB-Pr for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2020 13:54:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <86k116inmr.fsf@sacsa.i-did-not-set--mail-host-address--so-tickle-me> Resent-From: "Tim Vaughan" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Aug 2020 17:54:02 +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.159785961426425 (code B ref 41423); Wed, 19 Aug 2020 17:54:02 +0000 Original-Received: (at 41423) by debbugs.gnu.org; 19 Aug 2020 17:53:34 +0000 Original-Received: from localhost ([127.0.0.1]:40939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8SHF-0006s7-5b for submit@debbugs.gnu.org; Wed, 19 Aug 2020 13:53:34 -0400 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:39175) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8LGg-0005yw-0H for 41423@debbugs.gnu.org; Wed, 19 Aug 2020 06:24:31 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 04DBA5C0160 for <41423@debbugs.gnu.org>; Wed, 19 Aug 2020 06:24:24 -0400 (EDT) Original-Received: from imap34 ([10.202.2.84]) by compute1.internal (MEProxy); Wed, 19 Aug 2020 06:24:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ughan.xyz; h= mime-version:message-id:date:from:to:subject:content-type; s= fm3; bh=e9QZsnQIwHqaysmtYzP047oU6Z7ABrUzrg1IBbBjOKQ=; b=iwAhFfox 3Fo0sYlWoi178gpz4J0GMeZsWrHGjUfKyFZx3KM2wtJozgI0M+MB6xqmtATWTlQK jPty42bL89dLDng2lhDsUBE3ukzGQlV5EmUuyN5K5AO8r1Tbdw4ydXeQA+7znAsD 0Gu97nBXIKLOv0QetPczc8WNZR0+U9wfFu2llWAfVI8WreazKx0eS7E5/DxSlmoi b3krwL0z6EU2H2CxNQIfZILhkvm138RqHPLs9t28zDiXD1JL7Z4y7Ow6OoIPbx7G 5i3AEdbshpglZrtewyRqP7tkKWUqhwfkGYkIpJGcAIwdkiBmhP/KQJLsFZ2yyIdG EaDAfYC8xgpuNQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=e9QZsnQIwHqaysmtYzP047oU6Z7AB rUzrg1IBbBjOKQ=; b=iRbhdeU1G7t3M5I65AByKFAujBlM4J0F4BMjdHsaFxx3s Gh0S0IfwZ+u+JijSA+e2Q9NxqTQ/j5ikG34B8lrBGp6Kk4PZs0Av2AiOZKgoiLW3 tYpnXkJ+vkIsY70G66jwB7wQHw3xDN8WJ687t7xH1f/Q4QiAgXKrDe9NbQmqudAF TN9fwJIQdJR4VRYBaj2Lw8YkXfHtPMHdm8+lW8zjLQRMJWnJ6TwIEYbozKUuTY/P 7y7MsojD4ZIZ8NG/vEToEq74EquuXMrQRa2eFqjsukToLfmJ4/Pd6hrBde8fX+cL mnxd8d/nBhpg1OI9olsblCgNsCaFNFeCrmDuLdBaQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedruddtkedgvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdlfeehmdenucfjughrpefofg ggkfffhffvufgtsehttdertderreejnecuhfhrohhmpedfvfhimhcugggruhhghhgrnhdf uceothhimhhvsehughhhrghnrdighiiiqeenucggtffrrghtthgvrhhnpefhueejiedvhf egfeegffetteehveehleffudffieetgfdttdehveffieetfffgveenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehtihhmvhesuhhghhgrnhdrgi ihii X-ME-Proxy: Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id AFFAA1460062; Wed, 19 Aug 2020 06:24:23 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface X-Mailman-Approved-At: Wed, 19 Aug 2020 13:53:31 -0400 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:185645 Archived-At: Just a heads up: I believe I'm experiencing this bug under 27.1. (Before finding this bug report I also did a bisection and found the same culprit commit that Andres did.). Thus I expect it somehow manage to escape pretest. Additionally, I've noticed that although the effect is severe only in tramp directories, there is a noticeable (~0.5s) pause when executing commands in local directories, provided autocompletion has been used to create the command string. (The exact same command does not seem to cause the delay when typed in without invoking autocompletion.) I'm not at all familiar with the eshell code, but I spent some time trying to identify the cause. Weirdly the behaviour does not seem to occur when I instrument `eshell-send-input', making it a bit of a heisenbug. Tim