From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathieu Boespflug Newsgroups: gmane.emacs.devel Subject: Re: Slow/poor responsiveness in org files Date: Tue, 13 Sep 2011 00:36:25 -0400 Message-ID: <20110913043625.GA17869@santiago> References: <87fwkzcg7d.fsf@gnu.org> <87r54j5426.fsf@gmail.com> <87ty9dylqo.fsf@altern.org> <83d3fyxa52.fsf@gnu.org> <83ty8hw3iu.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1315892633 6256 80.91.229.12 (13 Sep 2011 05:43:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 13 Sep 2011 05:43:53 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 13 07:43:48 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R3Lmd-0007ha-OB for ged-emacs-devel@m.gmane.org; Tue, 13 Sep 2011 07:43:47 +0200 Original-Received: from localhost ([::1]:59224 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3Lmc-0002My-W2 for ged-emacs-devel@m.gmane.org; Tue, 13 Sep 2011 01:43:46 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:41161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <0xbadcode@gmail.com>) id 1R3Kjd-0004C4-AW for emacs-devel@gnu.org; Tue, 13 Sep 2011 00:36:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <0xbadcode@gmail.com>) id 1R3KjU-0003Qj-SZ for emacs-devel@gnu.org; Tue, 13 Sep 2011 00:36:37 -0400 Original-Received: from mail-vw0-f52.google.com ([209.85.212.52]:55363) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <0xbadcode@gmail.com>) id 1R3KjU-0003PB-QJ; Tue, 13 Sep 2011 00:36:28 -0400 Original-Received: by mail-vw0-f52.google.com with SMTP id 16so235746vws.39 for ; Mon, 12 Sep 2011 21:36:28 -0700 (PDT) Original-Received: by 10.52.76.170 with SMTP id l10mr2892271vdw.479.1315888588068; Mon, 12 Sep 2011 21:36:28 -0700 (PDT) Original-Received: from santiago (modemcable051.118-160-184.mc.videotron.ca [184.160.118.51]) by mx.google.com with ESMTPS id t13sm323251vdj.17.2011.09.12.21.36.26 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Sep 2011 21:36:27 -0700 (PDT) Content-Disposition: inline In-Reply-To: <83ty8hw3iu.fsf@gnu.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.212.52 X-Mailman-Approved-At: Tue, 13 Sep 2011 01:43:45 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:143961 Archived-At: On Tue, Sep 13, 2011 at 05:59:53AM +0300, Eli Zaretskii wrote: > > From: Mathieu Boespflug > > Date: Tue, 13 Sep 2011 00:22:26 +0000 (UTC) > > > > I have experienced precisely the same behaviour in some of my org files. Here is > > a link to a large (redacted) org file that exhibits this problem: > > > > http://www.cs.mcgill.ca/~mboes/test.org > > Thanks, I will take a look. > > > With latest emacs 24, reading this file in org-mode is noticeably slower than in > > org-mode, even when all trees are folded. However that's behaviour I don't see > > with emacs -Q. > > Can you try to find the customization(s) in your .emacs that cause the > slowdown not observed in "emacs -Q"? I believed I tracked at least one customization that causes a very noticeable slowdown: global-hl-line-mode. On the org file linked above, navigation is slow even with all trees folded with this minor mode enabled. > > > . Does setting bidi-paragraph-direction to `left-to-right' eliminate > > > the slowdown? > > > > Yes. > > I will propose to Org mode developers a change to set > bidi-paragraph-direction automatically on all Org buffers. Ok. Thank you for looking into this. However, does this mean it won't be possible to have R2L text in Org buffers? -- Mathieu