From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23801: 25.0.95; term.el redraws extremely slow with bidi support enabled, and large buffers Date: Tue, 21 Jun 2016 21:47:32 +0300 Message-ID: <83r3bq5qgr.fsf@gnu.org> References: <57666E36.6030809@orcon.net.nz> <83pord87rp.fsf@gnu.org> <0b5cd701be526f2391bb8fe15bb120c7@mail.orcon.net.nz> <5767FF42.10208@orcon.net.nz> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1466534980 26547 80.91.229.3 (21 Jun 2016 18:49:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Jun 2016 18:49:40 +0000 (UTC) Cc: 23801@debbugs.gnu.org To: Phil Sainty Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 21 20:49:28 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bFQjc-0004gS-Ho for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Jun 2016 20:49:16 +0200 Original-Received: from localhost ([::1]:53673 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFQjb-00039C-Rx for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Jun 2016 14:49:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFQjS-00037I-NL for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2016 14:49:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFQjO-00067Q-IF for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2016 14:49:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFQjO-00067G-EW for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2016 14:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bFQjO-0003CR-60 for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2016 14:49: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: Tue, 21 Jun 2016 18:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23801 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23801-submit@debbugs.gnu.org id=B23801.146653493212283 (code B ref 23801); Tue, 21 Jun 2016 18:49:02 +0000 Original-Received: (at 23801) by debbugs.gnu.org; 21 Jun 2016 18:48:52 +0000 Original-Received: from localhost ([127.0.0.1]:50045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFQjD-0003C2-RN for submit@debbugs.gnu.org; Tue, 21 Jun 2016 14:48:52 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56183) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFQjC-0003Bo-0B for 23801@debbugs.gnu.org; Tue, 21 Jun 2016 14:48:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFQj3-00060m-Qo for 23801@debbugs.gnu.org; Tue, 21 Jun 2016 14:48:44 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFQj3-00060T-No; Tue, 21 Jun 2016 14:48:41 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1101 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bFQix-0000jv-T2; Tue, 21 Jun 2016 14:48:40 -0400 In-reply-to: <5767FF42.10208@orcon.net.nz> (message from Phil Sainty on Tue, 21 Jun 2016 02:35:46 +1200) 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: 208.118.235.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:119900 Archived-At: > From: Phil Sainty > Cc: Eli Zaretskii > Date: Tue, 21 Jun 2016 02:35:46 +1200 > > emacs -Q (and maximise the terminal or GUI frame) > M-x term (and run a shell) > printf "%10000s" x > > (to insert an 'x' preceded by 9,999 spaces.) > > That's not as obvious without a background colour, but we can > provide that easily enough: > > printf "\033[41m%10000s\033[47m" x > > (Drawing in red, and reverting to a white background. Use 40m > in the final sequence if you need to revert to black instead.) > > > Bash supports numeric prefix arguments for repetition just like > Emacs, so you can also insert lots of spaces like so: > > M-10000 SPC > > You can insert 1,000 TABs with: > M-1000 C-v C-i > > > With this approach we are entering (but not yet submitting) a > command, and I further note that using C-u at this point to erase > our input is also really slow to complete -- but again, only when > it is whitespace being 'erased'. > > e.g. M-10000 x C-u is perfectly speedy. Can you try this in an Emacs built from the latest master branch of the Emacs Git repository? It could be that the current development sources already provide improvement in these cases.