From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Org file rendering/manipulation too slow Date: Sat, 28 Aug 2010 17:20:02 -0400 Message-ID: <87zkw6wi2l.fsf@gollum.intra.norang.ca> References: <871vak112n.fsf@altern.org> <87iq3o86s4.fsf@gnu.org> <19549.21434.7688.225279@gazelle-32.local> <87zkwamkn9.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=53822 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OpSp1-00006t-3A for emacs-orgmode@gnu.org; Sat, 28 Aug 2010 17:20:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OpSoz-0003dh-8u for emacs-orgmode@gnu.org; Sat, 28 Aug 2010 17:20:18 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:65401) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OpSoz-0003cq-4u for emacs-orgmode@gnu.org; Sat, 28 Aug 2010 17:20:17 -0400 In-Reply-To: (Marcelo de Moraes Serpa's message of "Sat, 28 Aug 2010 11:53:09 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Marcelo de Moraes Serpa Cc: Org Mode , Bastien I think it's something like this: It's a variable not a function. I think it controls how much stuff is written out via (message ...) calls in the implementation of font lock code on your mac version of emacs lisp. Calls to message are slow and there are lots of them in this implementation. This is just making it skip these calls. If anyone has better information than this speculation please chime in :) -Bernt Marcelo de Moraes Serpa writes: > Hi Bernt, > > It did help a lot, the rendering is faster and I can actually navigate > through my reference org file. > > Would someone mind explaining me what this function does and why does > disabling it would make things faster. > > Marcelo. > > On Wed, Aug 25, 2010 at 2:45 PM, Bernt Hansen wrote: >> Hi Marcelo, >> >> I don't use a Mac but someone on the #org-mode IRC channel mentioned >> trying this: >> >> (setq font-lock-verbose nil) >> >> HTH, >> Bernt >> >> >> Marcelo de Moraes Serpa writes: >> >>> Any hints on this one? It's really annoying to handle (not so) large >>> org files in the OSX version of emacs. Maybe recompiling it with >>> different options? >>> >>> Marcelo. >>> >>> On Sat, Aug 7, 2010 at 5:38 AM, Manuel Hermenegildo w= rote: >>>> >>>> =C2=A0> Might be related to the OSX build -- any other OSX users aroun= d? :) >>>> >>>> I also use Mac OS and I also see very slow performance when navigating >>>> through large org files. Basically, sometimes emacs will freeze for 20 >>>> seconds or so when I switch to a large org buffer (about 30,000 lines, >>>> 1M --large but should be workable, see below). The strange thing is >>>> that it happens only sometimes. =C2=A0When I get desperate (it can be = very >>>> annoying) I switch to a -nw session inside a terminal and then >>>> everything works fine, so I do get the impression that it has to do >>>> with screen rendering in the OS X build. My current emacs version is >>>> 23.2.1. --Manuel >>>> >>>> -- >>>> ----------------------------------------------------------------------= --------- >>>> =C2=A0Manuel Hermenegildo =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 | Prof., C.S.Dept., T.U. Madrid (UPM) >>>> =C2=A0Director, IMDEA Software and CLIP Group | +34-91-336-7435 (W) -3= 52-4819 (Fax) >>>> ----------------------------------------------------------------------= --------- >>>> >>>> >>> >>> _______________________________________________ >>> Emacs-orgmode mailing list >>> Please use `Reply All' to send replies to the list. >>> Emacs-orgmode@gnu.org >>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >>