From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: bug#9610: 24.0.90; org-mode: sluggish response and high CPU utilization with large .org files Date: Tue, 27 Sep 2011 20:11:06 +0100 Message-ID: <87lit9vm0l.fsf@ucl.ac.uk> References: <20110927024957.GP23695@srevilak.net> <20110927134744.GA959__30964.7548631348$1317134682$gmane$org@KAYAK.com> <87wrcum36m.fsf@gmx.li> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:54751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8d3p-00055y-Rg for emacs-orgmode@gnu.org; Tue, 27 Sep 2011 15:11:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8d3o-0001DC-0u for emacs-orgmode@gnu.org; Tue, 27 Sep 2011 15:11:21 -0400 Received: from vscane-c.ucl.ac.uk ([144.82.108.43]:64020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8d3n-0001CZ-Si for emacs-orgmode@gnu.org; Tue, 27 Sep 2011 15:11:19 -0400 In-Reply-To: <87wrcum36m.fsf@gmx.li> (Lawrence Mitchell's message of "Tue, 27 Sep 2011 16:10:25 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Lawrence Mitchell Cc: Emacs Org mode mailing list Lawrence Mitchell writes: > Steve Revilak wrote: > >>>> I'd like to report an org-mode regression issue. When working with >>>> large .org files, Emacs 24.0.90 becomes sluggish, and consumes large >>>> amounts of CPU. > >>> If you type this: > >>> M-x set-variable RET bidi-paragraph-direction RET left-to-right RET > >>> does the problem go away? > >> My bug report contained two scenarios to produce sluggish response and >> high CPU utilization. These scenarios were > >> (1) move point to the end of buffer, and start typing > >> (2) Put point in line 1, column zero; press and hold the down (then up) >> arrows to move point down (then up) the org-mode buffer. > >> Setting bidi-paragraph-direction: left-to-right eliminates the problem >> with scenario (1). However, it has no effect on scenario (2). > > Setting bidi-display-reordering to nil in the buffer has the > effect that moving point is no longer jerky for me. Brilliant! I have been getting rather annoyed at the jerky movement in a number of buffers, mostly org, but I knew the problem wasn't due to org having done timings etc. Setting this to nil does the job. What do you recommend is the best way to handle this: in org-mode-hook for instance? thanks, eric -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.7 (release_7.7.328.g1a97)