[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Ways to make org feasible for huge files
From: |
Tassilo Horn |
Subject: |
Re: [O] Ways to make org feasible for huge files |
Date: |
Fri, 14 Oct 2011 09:00:22 +0200 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) |
Marcelo de Moraes Serpa <address@hidden> writes:
Hi Marcelo,
> 4328, exactly the same amount of lines I have in the file.
Didn't you say that you have 4000 *k* lines?
Anyway, as Scott mentiones, in emacs 24 the linum packages seems to be
more clever and only creates overlays for the visible area of a buffer.
For example, when opening a file with 1000 lines and enabling
linum-mode, I only have 35 overlays, because only 35 lines are visible
at a time.
Bye,
Tassilo
> On Thu, Oct 13, 2011 at 2:07 AM, Tassilo Horn <address@hidden>wrote:
>
>> Marcelo de Moraes Serpa <address@hidden> 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
>>
>>
>>
- [O] Ways to make org feasible for huge files, Marcelo de Moraes Serpa, 2011/10/12
- Re: [O] Ways to make org feasible for huge files, brian powell, 2011/10/12
- Re: [O] Ways to make org feasible for huge files, Torsten Wagner, 2011/10/12
- Re: [O] Ways to make org feasible for huge files, Marcelo de Moraes Serpa, 2011/10/12
- Re: [O] Ways to make org feasible for huge files, Tassilo Horn, 2011/10/13
- Re: [O] Ways to make org feasible for huge files, Marcelo de Moraes Serpa, 2011/10/13
- Re: [O] Ways to make org feasible for huge files, Scott Jaderholm, 2011/10/14
- Re: [O] Ways to make org feasible for huge files,
Tassilo Horn <=
- Re: [O] Ways to make org feasible for huge files, Scott Jaderholm, 2011/10/14
- Re: [O] Ways to make org feasible for huge files, Jude DaShiell, 2011/10/14
[O] GNU Emacs crashing on large Orgmode files (was: Ways to make org feasible for huge files), Karl Voit, 2011/10/13