From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bruno Tavernier Newsgroups: gmane.emacs.devel Subject: Re: Slow/poor responsiveness in org files Date: Wed, 14 Sep 2011 20:00:43 +0200 Message-ID: <87d3f357hw.fsf@gmail.com> References: <87fwkzcg7d.fsf@gnu.org> <87r54j5426.fsf@gmail.com> <87ty9dylqo.fsf@altern.org> <83d3fyxa52.fsf@gnu.org> <83ty8hw3iu.fsf@gnu.org> <20110913043625.GA17869@santiago> <87wrdcpekx.fsf@gmail.com> <83hb4fw2wi.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1316035136 4508 80.91.229.12 (14 Sep 2011 21:18:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Sep 2011 21:18:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 14 23:18:53 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 1R3wr2-0006wM-Kd for ged-emacs-devel@m.gmane.org; Wed, 14 Sep 2011 23:18:48 +0200 Original-Received: from localhost ([::1]:35513 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3wr1-00011c-Sq for ged-emacs-devel@m.gmane.org; Wed, 14 Sep 2011 17:18:47 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3tmL-0005Ez-Uo for emacs-devel@gnu.org; Wed, 14 Sep 2011 14:01:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3tmL-00036K-0p for emacs-devel@gnu.org; Wed, 14 Sep 2011 14:01:45 -0400 Original-Received: from mail-bw0-f41.google.com ([209.85.214.41]:62148) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3tmK-00034K-RY; Wed, 14 Sep 2011 14:01:44 -0400 Original-Received: by bkbzs2 with SMTP id zs2so2012614bkb.0 for ; Wed, 14 Sep 2011 11:01:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=47wozc7OegBqY0FcIe+VR/cbuTt2732Nv9IEAOTlTSQ=; b=g4aJZCkN3Ff6klM1rEIJgVCgnIUkumS+RhEC8LjfSKJ62oqx9zH54IdKAS1hsHY988 dy6pWpijL/fSUBP4FXwxq7WYqWlhJEahcZECD2bllv6q1GvkfbrmjEAejYId8vl+drKz Ac2+vGJugeFmpIYobyGTg8IKtN3bDq5rCq4Jk= Original-Received: by 10.204.152.154 with SMTP id g26mr98591bkw.34.1316023303019; Wed, 14 Sep 2011 11:01:43 -0700 (PDT) Original-Received: from ortank (ALyon-158-1-110-141.w90-29.abo.wanadoo.fr. [90.29.237.141]) by mx.google.com with ESMTPS id af16sm897725bkc.10.2011.09.14.11.01.40 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Sep 2011 11:01:42 -0700 (PDT) In-Reply-To: <83hb4fw2wi.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 14 Sep 2011 18:37:49 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.41 X-Mailman-Approved-At: Wed, 14 Sep 2011 17:18:46 -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:144040 Archived-At: Eli Zaretskii writes: >> From: Bruno Tavernier >> Date: Tue, 13 Sep 2011 18:55:10 +0200 >> >> > 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. >> >> +1 to Mathieu's observation >> >> After checking for the effect of several customizations, >> `global-hl-line-mode' is the customization that impact most the >> navigation in large org file. > > Do you also see, like I do, that with `global-hl-line-mode' turned on, > navigation backwards is considerably faster than forward? E.g., try > C-p and C-n. Nope. C-p and C-n appears to be equally fast. What I notice however, is that if I unfold all the headlines displayed on the screen, the navigation is perfectly normal. The cursor movement only stutter when the headlines are folded (whatever the headline level). Finally, I tried `outline-next-visible-heading' and it turns out to works like a charm. Hope that helps -- Bruno