emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Having (too) many files in org-agenda-files


From: Shelagh Manton
Subject: [Orgmode] Re: Having (too) many files in org-agenda-files
Date: Wed, 29 Sep 2010 13:39:00 +1000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Sébastien Vauban <address@hidden>
writes:

> Hi,
>
> Of course, I have many, many files in Org mode. All files I write (or touch)
> in fact.
>
> Of course, I would like to search through my files at some point in time.
> I even would like to search through your files at some point in time, I mean
> through =org-mode/contrib/babel= and =Worg= for example.
[snip]
>
> You'll tell me: not a problem, you do that only once a day, and you use Emacs
> client/server for the rest of the time. True. A bit, because I sometimes have
> to restart Emacs for testing a fresh one (not impacted by defvars already
> defined, or deffaces, etc.).
>
> Having to wait almost 4 minutes is a real pain. So, here my
> comments/questions:
>
> - Isn't it possible to delay the fontification/ispell/etc. to when we really
>   display (i.e., pop up) the buffer?  I guess this must be a major component
>   of the time this takes.
>
> - Couldn't we have 2 vars: =org-agenda-files= for the files you know you want
>   have scanned for the agenda construction, and an extra list such as
>   =org-search-files= for files not containing any dates?  Then, some time
>   would have to be taken when =C-c a s=, but not before. And not if you don't
>   search for anything in your Org files during that Emacs session...
>
> Any other idea?

I use the jit-lock package that comes with emacs. "Stealth fontifying"

It makes font-lock only happen after the buffer is loaded and when you
are not doing anything else. You can access the variables through
customize-group RET jit-lock. It may be helpful here.

Shelagh
>
> Best regards,
>   Seb





reply via email to

[Prev in Thread] Current Thread [Next in Thread]