From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Phil Sainty 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 03:07:58 +1200 Message-ID: <576806CE.8080007@orcon.net.nz> References: <57666E36.6030809@orcon.net.nz> <83pord87rp.fsf@gnu.org> <83d1nc7x44.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1466439392 32387 80.91.229.3 (20 Jun 2016 16:16:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Jun 2016 16:16:32 +0000 (UTC) To: 23801@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 20 18:16:20 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 1bF1s4-0005Op-8g for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Jun 2016 18:16:20 +0200 Original-Received: from localhost ([::1]:44755 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF1s3-00070O-Gu for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Jun 2016 12:16:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF0oz-0001eg-Hs for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2016 11:09:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bF0ow-0004GD-5W for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2016 11:09:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF0ow-0004G8-37 for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2016 11:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bF0ov-0000DM-Vt for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2016 11:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Phil Sainty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jun 2016 15:09:01 +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.1466435288766 (code B ref 23801); Mon, 20 Jun 2016 15:09:01 +0000 Original-Received: (at 23801) by debbugs.gnu.org; 20 Jun 2016 15:08:08 +0000 Original-Received: from localhost ([127.0.0.1]:47857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bF0o4-0000CH-7r for submit@debbugs.gnu.org; Mon, 20 Jun 2016 11:08:08 -0400 Original-Received: from [219.88.242.59] (port=53608 helo=mail.orcon.net.nz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bF0o1-0000C9-T9 for 23801@debbugs.gnu.org; Mon, 20 Jun 2016 11:08:06 -0400 Original-Received: from [192.168.20.100] (host-203-94-60-222.xdsl.kinect.net.nz [203.94.60.222] (may be forged)) (authenticated bits=0) by mail.orcon.net.nz (8.14.3/8.14.3/Debian-9.4) with ESMTP id u5KF7w7c034664; Tue, 21 Jun 2016 03:08:00 +1200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 In-Reply-To: <83d1nc7x44.fsf@gnu.org> X-Bayes-Prob: 0.0001 (Score 0: No Bayes scoring rules defined, tokens from: outbound) X-CanIt-Geo: ip=203.94.60.222; country=NZ; region=Auckland; city=Auckland; latitude=-36.8667; longitude=174.7667; http://maps.google.com/maps?q=-36.8667,174.7667&z=6 X-CanItPRO-Stream: base:outbound X-Canit-Stats-ID: 02R937X4T - dee50e4af541 - 20160621 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:119843 Archived-At: On 21/06/16 02:28, Eli Zaretskii wrote: >> I suspect you'll need to do something which repaints the entire >> terminal. > > I don't understand what that means. The output from "ls" repaints the > entire terminal as well, as it produces 1500 lines, much more than is > shown in the window. Yes, in hindsight the slow redraws with a background colour were so blatantly drawing every single character in the terminal that I was imagining that other kinds of command output (with less colourful results) did not need to do that; and that the problem was therefore connected to the slow redraws processing many more characters than was necessary for other kinds of screen update. Now that I've (AFAICS) isolated the issue to whitespace, I can see that my earlier presumption doesn't actually make much sense. Apologies for the confusion. Let me know if you'd still like me to provide profiler or elp results? I'm well and truly done for the night, but I can follow up tomorrow. (I'm hoping that with the prior email you're now able to replicate the issue, though?)