Sébastien Vauban <wxhgmqzgw...@spammotel.com> 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 _______________________________________________ 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