From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#44007: 26.3; Strange shell mode performance Date: Sat, 29 Jan 2022 08:52:25 +0200 Message-ID: <83wnijav9y.fsf@gnu.org> References: <499ab53f-7c23-b5ed-6105-3072fffb4bfe@gmail.com> <83imbby3yt.fsf@gnu.org> <87czkbg9u7.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24044"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44007@debbugs.gnu.org, larsi@gnus.org, Herman@debbugs.gnu.org To: Herman@debbugs.gnu.org, =?UTF-8?Q?G=C3=A9za?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 29 08:03:59 2022 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 1nDhmA-00061U-TV for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Jan 2022 08:03:59 +0100 Original-Received: from localhost ([::1]:37618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDhm6-0002HZ-Lv for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Jan 2022 02:03:56 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDhbg-0001V8-Sh for bug-gnu-emacs@gnu.org; Sat, 29 Jan 2022 01:53:11 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39758) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nDhba-0002ZB-HB for bug-gnu-emacs@gnu.org; Sat, 29 Jan 2022 01:53:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nDhba-00065W-CT for bug-gnu-emacs@gnu.org; Sat, 29 Jan 2022 01:53:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Jan 2022 06:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44007 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 44007-submit@debbugs.gnu.org id=B44007.164343917423384 (code B ref 44007); Sat, 29 Jan 2022 06:53:02 +0000 Original-Received: (at 44007) by debbugs.gnu.org; 29 Jan 2022 06:52:54 +0000 Original-Received: from localhost ([127.0.0.1]:60894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDhbS-000656-J6 for submit@debbugs.gnu.org; Sat, 29 Jan 2022 01:52:54 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDhbR-00064u-CF for 44007@debbugs.gnu.org; Sat, 29 Jan 2022 01:52:53 -0500 Original-Received: from [2001:470:142:3::e] (port=41212 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDhbC-0002Tn-TV; Sat, 29 Jan 2022 01:52:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=wbQe+r5H/hwxYk+5kKQmwgW3LM1YvIp/C7kGgVr4Em0=; b=hO408o/oS4PSQ0rYmgIZ IF3Hfhhm0UQFAP6m1YpcMWb/XZPZ41KYkSWZAPlGdyJBkPTDifz21T1I6oDwYcrLjQn5RrztAeSsX 73ZqO6Se4Z/kM8eaAGsLrqu/MRkwUASTG4f/t8Wa1DCo3lnfe6pAEMc5wPS6r8oW8+T0mCrcyM6oM RW2QHvPP91X41wyMFT+M25+1oWCwPbmc4ENin1J64MsgyiikqpFUtPndjA2hXQp95acUAuOUr5/Mr 7D2yy+0s28o7R9WzbbuTOe5lTmN9X2oGYV6UUmQqYks6BNsLrXNVq8Jgi4JEz5Bv4vdZhtXHJTTHc d0KbuqT1vqLMZQ==; Original-Received: from [87.69.77.57] (port=3134 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDhb8-0006tC-R5; Sat, 29 Jan 2022 01:52:36 -0500 In-Reply-To: (message from Herman, =?UTF-8?Q?G=C3=A9za?= on Fri, 28 Jan 2022 23:33:47 +0100) 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:225507 Archived-At: > Cc: Eli Zaretskii , Herman@debbugs.gnu.org, > 44007@debbugs.gnu.org > From: Herman, Géza > Date: Fri, 28 Jan 2022 23:33:47 +0100 > > Yes, it still happens on current master for me. > > By default, "seq 100000" takes ~3 sec. Pressing enter immediately after > executing the seq can make seq to take ~0.4 sec. Or if press enter > during "seq" several times, time can easily increase to >20 sec (this > issue seems to be related to bidi-paragraph-direction. If I set it to > left-to-right, this doesn't happen anymore - I've no idea why it matters). If setting bidi-paragraph-direction to left-to-right fixes the slowdown, then this is expected and not a bug. When bidi-paragraph-direction is nil, Emacs needs to determine the paragraph direction from the strong directional characters in the preceding paragraph of text, but "seq 100000" produces a long paragraph that has no strong directional characters at all (digits have "weak" directionality).