From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#36733: 27.0.50; Eshell taking long time to enter directory after TAB completion Date: Sat, 20 Jul 2019 13:08:13 +0300 Message-ID: <83d0i5t3w2.fsf@gnu.org> References: <86ftn1iuuf.fsf@protected.rcdrun.com> <83tvbhtbus.fsf@gnu.org> <20190720075007.GA24669@protected.rcdrun.com> <83o91pt8dg.fsf@gnu.org> <20190720090720.GD24669@protected.rcdrun.com> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="247303"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36733@debbugs.gnu.org To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 20 12:09:07 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1homId-0012FD-NN for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Jul 2019 12:09:07 +0200 Original-Received: from localhost ([::1]:50362 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1homIc-00065T-C7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Jul 2019 06:09:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37906) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1homIZ-00065A-7I for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2019 06:09:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1homIY-0007C4-BX for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2019 06:09:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48050) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1homIY-0007Bx-82 for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2019 06:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1homIX-0002Zy-VZ for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2019 06:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Jul 2019 10:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36733 X-GNU-PR-Package: emacs Original-Received: via spool by 36733-submit@debbugs.gnu.org id=B36733.15636173089874 (code B ref 36733); Sat, 20 Jul 2019 10:09:01 +0000 Original-Received: (at 36733) by debbugs.gnu.org; 20 Jul 2019 10:08:28 +0000 Original-Received: from localhost ([127.0.0.1]:56870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1homI0-0002ZB-H2 for submit@debbugs.gnu.org; Sat, 20 Jul 2019 06:08:28 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53721) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1homHy-0002Yx-GF for 36733@debbugs.gnu.org; Sat, 20 Jul 2019 06:08:26 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48269) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1homHt-0006yv-5F; Sat, 20 Jul 2019 06:08:21 -0400 Original-Received: from [176.228.60.248] (port=4471 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1homHs-00068v-FG; Sat, 20 Jul 2019 06:08:20 -0400 In-reply-to: <20190720090720.GD24669@protected.rcdrun.com> (message from Jean Louis on Sat, 20 Jul 2019 11:07:20 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:163456 Archived-At: > Date: Sat, 20 Jul 2019 11:07:20 +0200 > From: Jean Louis > Cc: 36733@debbugs.gnu.org > > This is what I have done: > > $ emacs -Q > > Then I started profiler, and within Emacs I went > to em-dirs.el.gz and clicked L to load the file > > Then I started eshell and did following: > > Welcome to the Emacs shell > > ~ $ cd Programming/ > ~/Programming $ cd .. > ~ $ cd Documents/ > ~/Documents $ cd .. > ~ $ cd tmp > ~/tmp $ cd .. > ~ $ cd tmp/ > ~/tmp $ cd .. > ~ $ cd Media/ > ~/Media $ > > Here is the report: Thanks. I don't see eshell/cd anywhere in this report, so it's hard to glean anything useful from the profile. Please modify your procedure as follows: emacs -Q M-x load-library RET em-dirs.el RET M-x eshell RET M-x profiler-start RET RET ~ $ cd Programming/ ~/Programming $ cd .. ~ $ cd Documents/ ~/Documents $ cd .. ~ $ cd tmp ~/tmp $ cd .. ~ $ cd tmp/ ~/tmp $ cd .. ~ $ cd Media/ ~/Media $ M-x profiler-report RET IOW, start the profiler just before you start the Eshell commands. If the results don't show eshell/cd in the profile, or if the percentage for that is too low, perhaps repeat the recipe with more "cd" commands. Thanks.