From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus 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 18:54:52 +0200 Message-ID: <87imd175pf.fsf@gmx.de> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12305"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: rrandresf@gmail.com, Tim Vaughan , 41423@debbugs.gnu.org, Stefan Monnier To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 29 18:56:20 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 1kC49M-00035a-9e for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Aug 2020 18:56:20 +0200 Original-Received: from localhost ([::1]:42682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kC49K-0005xo-NY for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Aug 2020 12:56:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kC494-0005xV-04 for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2020 12:56:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37496) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kC493-00023W-Kv for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2020 12:56:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kC493-0000dT-Ia for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2020 12:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Aug 2020 16: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.15987201102377 (code B ref 41423); Sat, 29 Aug 2020 16:56:01 +0000 Original-Received: (at 41423) by debbugs.gnu.org; 29 Aug 2020 16:55:10 +0000 Original-Received: from localhost ([127.0.0.1]:49042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kC48D-0000cH-RJ for submit@debbugs.gnu.org; Sat, 29 Aug 2020 12:55:10 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:44849) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kC48C-0000bz-HQ for 41423@debbugs.gnu.org; Sat, 29 Aug 2020 12:55:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1598720095; bh=jUTlkxu20GkF7iRAaqKrgw3Jj1HQ2mHVFSmIgPdt3so=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=Hjt+KiZJxS6CzirIoGusbQcOKR98Ueudr2ZIY40g/5CErt3/fyjKHi9NfjSw77JCD AQAM3NCIL0zD0UXP1Co7OFtGI/+61eZNt4yEh/53iIzHDykszYwiWFvTssgGO7abZS FJEiHfpuT4IMKDHp+CwzOwu1rrzJXvkH4GSTh3S0= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([212.86.51.69]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MkYXs-1ksJAe39J8-00m0zz; Sat, 29 Aug 2020 18:54:54 +0200 In-Reply-To: (Gregory Heytings's message of "Sat, 29 Aug 2020 13:08:55 +0000") X-Provags-ID: V03:K1:Qmhnz9I+o5tQkgpDDI/cLjbGU/rCmtuuJbhtKa6IU1D0siPSY0m Y8v9TaDliV7x8XZiIxEniNklMO0nc9xxcEPFZyxzWGU/O8S+kFG7EweGBF7S2rU44t3VBW8 6+z+hLksMi4kVaeNfGpFVadEMkaecL9gZEkMw+GhaLoDlHQioE3PtG6Vk/SpphH83pkbT0Y Anr0aaNrXaONspi0slzOw== X-UI-Out-Filterresults: notjunk:1;V03:K0:XW2+hs4as6s=:AfotO/7iJ0uyneH/0KIM6D +n80/ZewOgI2yRxlW82dht40pOIaNZ5f1LPleGrRGXUbMO5xWgOWxO675SMowisytA0WhnPem ACEoetnKrGdMFaH2yaWs3Am6sNA5cIo3Gqw2hI+otg40YkdoRFW22/fitPlVyNw9mWj8gg+Xl dx3s+p5LysVUJSyvu7V880exG1Z8QLclGhJpBEVPmVlYHRAJ5gUnpHMXRVERBYX30/2tzjeUe ecIB/H1BzQMfcwO0GyfZ5fMijjg8XhqJhCQQYMjtdnyCAO6QJCCEWRaLTs6oh4MUbOagppeV/ 2LGoBp3PClFVp3LLs8POlf2qPQRP67XGGXXUQS8wonfcaHvuDLiIHen6V4QXtjGF0mxfOmkaT 2CcS9YLyX/byuT/iqpXpAs8Iw+I0+KL0HbpMHI1bnXswH2jYc2MbRVf8p8t8iAfXFq5gzNhBI 0Fo0e3kg0Ja5AGmP3ppofj/ZjG8JP/f5m8Feyvpf0y3mT5ggDUl/cdf6gqpwG3C40j0UxQyLe CkGu+qmlqF1B/gT9bhKCc7CxiGrnwDfs64ijwdFj1U8vxRL4XmFAcz0YZEixbR/g59qRf8X0J zy98XP0nwKHm+c0WQoxDNckZh3CUqmSyz2G9y+N+by5f8wBx1aSLES9y2ZGsThylwyKwYaJGA s73Hs2BHn9SGWtv44Vs3+8fSzik72wIRaicxWY62CWOH5UOw8PxAojQOYOsZaDp4bUvE2WmO8 WMRUUHGwWfeFyBUZgPfQjRL58smPc1J7FSnoEcEv64KHE2OvoYYiwW8+Ff1rSroBMsgOPwpk 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:186661 Archived-At: Gregory Heytings writes: > Hi Michael, Hi Gregory, >> However, the remote case could be improved. Tramp uses caches. They >> expire after a while (10 seconds per default), but this might be >> improved. The appended patch disables Tramp cache expiry while being >> in eshell-complete-commands-list, so completion might be faster once >> the cache has been filled. Could you pls check? >> > > I just checked, and see no visible improvement. The first time you try completion, there's no difference. The cache must be filled. But all next times you complete, it shall be faster for remote directoriues. > That being said, I don't think this bug should be fixed on the eshell > level. It's a bug in the completion mechanisms, and > `eshell-complete-commands-list' should simply not be called here. I do not claim my patch is the solution. But it shall be useful, if eshell-complete-commands-list is called somewhere. > Gregory Best regards, Michael.