From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Jaderholm Subject: Re: Ways to make org feasible for huge files Date: Fri, 14 Oct 2011 00:51:42 -0400 Message-ID: References: <4E9650AA.2080400@gmail.com> <87r52hjro6.fsf@thinkpad.tsdh.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0015173fe6a4dcb65304af3b059d Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39688) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REZkw-00022S-LU for emacs-orgmode@gnu.org; Fri, 14 Oct 2011 00:52:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1REZkv-0007WD-J2 for emacs-orgmode@gnu.org; Fri, 14 Oct 2011 00:52:26 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:57821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REZkv-0007Vz-5j for emacs-orgmode@gnu.org; Fri, 14 Oct 2011 00:52:25 -0400 Received: by bkbzu5 with SMTP id zu5so1941889bkb.0 for ; Thu, 13 Oct 2011 21:52:23 -0700 (PDT) In-Reply-To: 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: Marcelo de Moraes Serpa Cc: Tassilo Horn , emacs-orgmode@gnu.org --0015173fe6a4dcb65304af3b059d Content-Type: text/plain; charset=ISO-8859-1 For my org files my linum-overlays length is equal to the number of lines on the screen so perhaps there's something you can do to get better performance. I'm not sure what setting it would be, I'm running e24 with my own complicated linum-format. Scott On Thu, Oct 13, 2011 at 9:23 PM, Marcelo de Moraes Serpa < celoserpa@gmail.com> wrote: > 4328, exactly the same amount of lines I have in the file. > > > On Thu, Oct 13, 2011 at 2:07 AM, Tassilo Horn wrote: > >> Marcelo de Moraes Serpa writes: >> >> > Wow.. this worked Torsten. Thank you. I wonder why this happens... >> >> linum-mode works with overlays to embed the numbers at the beginnig of >> lines. Overlays are very flexible but not too efficient, you don't want >> to have too many of them. Looking at linum.el, it seems it already does >> pooling of overlays in order not to create one overlay for any line, but >> I'm not sure. Could you please do >> >> M-: (length linum-overlays) RET >> >> in that large org file with linum-mode enabled and say what it returns >> to satisfy my curiosity? >> >> Bye, >> Tassilo >> >> >> > --0015173fe6a4dcb65304af3b059d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable For my org files my linum-overlays length is equal to the number of lines o= n the screen so perhaps there's something you can do to get better perf= ormance. I'm not sure what setting it would be, I'm running e24 wit= h my own complicated linum-format.

Scott


On Thu, Oct 13, 2011 at 9:23 PM, Marcelo= de Moraes Serpa <celoserpa@gmail.com> wrote:
4328, exactly the same amount of lines I have in the file.
<= div class=3D"h5">

On Thu, Oct 13, 2011 at= 2:07 AM, Tassilo Horn <tassilo@member.fsf.org> wrote:<= br>
Marcelo de Moraes Serpa <celoserpa@gmail.com> w= rites:

> Wow.. this worked Torsten. Thank you. I wonder why this happens...

linum-mode works with overlays to embed the numbers at the beginnig o= f
lines. =A0Overlays are very flexible but not too efficient, you don't w= ant
to have too many of them. =A0Looking at linum.el, it seems it already does<= br> pooling of overlays in order not to create one overlay for any line, but I'm not sure. =A0Could you please do

=A0M-: (length linum-overlays) RET

in that large org file with linum-mode enabled and say what it returns
to satisfy my curiosity?

Bye,
Tassilo




--0015173fe6a4dcb65304af3b059d--