From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: window-scroll-functions and performance Date: Tue, 16 Aug 2011 12:12:04 +0300 Message-ID: <83mxf9u3dn.fsf@gnu.org> References: <878vqu1mof.fsf@gmail.com> <831uwmv2q1.fsf@gnu.org> <87ei0mxub1.fsf@gmail.com> <87d3g5yk54.fsf@gmail.com> <83wreduahf.fsf@gnu.org> <87wred236t.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1313485934 31632 80.91.229.12 (16 Aug 2011 09:12:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 16 Aug 2011 09:12:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 16 11:12:11 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 1QtFgw-0001GB-GJ for ged-emacs-devel@m.gmane.org; Tue, 16 Aug 2011 11:12:10 +0200 Original-Received: from localhost ([::1]:58021 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtFgv-0008JI-SR for ged-emacs-devel@m.gmane.org; Tue, 16 Aug 2011 05:12:09 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtFgt-0008JB-NB for emacs-devel@gnu.org; Tue, 16 Aug 2011 05:12:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QtFgs-0001hH-OE for emacs-devel@gnu.org; Tue, 16 Aug 2011 05:12:07 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:42876) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtFgs-0001gp-EA for emacs-devel@gnu.org; Tue, 16 Aug 2011 05:12:06 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LQ000B00K6DNV00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Tue, 16 Aug 2011 12:12:04 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.171.158]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LQ000BULK82NA10@a-mtaout22.012.net.il>; Tue, 16 Aug 2011 12:12:04 +0300 (IDT) In-reply-to: <87wred236t.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 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:143292 Archived-At: > From: Thierry Volpiatto > Cc: emacs-devel@gnu.org > Date: Tue, 16 Aug 2011 10:03:38 +0200 > > This happen in emacs -Q too. > All scrolling commands, but also next/previous-line are affected. Please do list those scrolling commands. I've found from bitter experience that making assumptions here leads to wrong conclusions. > Unfortunately i have no example file to send. My org files are quite big > and contain personal notes and infos. Does this happen only in large files? Can you try in progressively smaller fragments of those files, and see if the problem gets worse with the size? If size is the key factor, I'd need to know at least the size where it becomes unbearably slow, and the approximate number of entries at each level. Then I could try generating a dummy Org file with a similar structure, and see if I can reproduce the problem. One more thing to try: leave `bidi-display-reordering' on, but set `bidi-paragraph-direction' to `left-to-right', then tell me if the slow-down goes away, at least partially. > Perhaps, do you have things like > > #+BEGIN_SRC lisp > ;; some lisp code here > #+END_SRC > > in your org files? No. Does the mere presence of this even in small Org files trigger the slow-down? Does removing this cause the slow-down to go away? If yes, please show the Lisp you've got there, or at least describe enough of it so I could recreate it here. Thanks.