emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Nick Dokos
Subject: Re: [Orgmode] Re: Having (too) many files in org-agenda-files
Date: Thu, 30 Sep 2010 11:33:43 -0400

Sébastien Vauban <address@hidden> wrote:

> >>> Also, you might consider to remove (org-agenda-list) from .emacs. I think
> >>> it is pretty much always a bad idea to put a command like this into your
> >>> startup. Just make it a habit to call it early after starting Emacs.
> >>
> >> Honestly, that would not change that much. Having to wait 92 seconds at
> >> startup, or a long time just a few minutes later has the same impact for
> >> me. And: don't try to make me stop using Org ;-))
> >
> > :-)
> >
> > The reason why I am suggesting to remove this command is more that it make
> > emacs more usable for command line usage etc.
> 
> Not convinced yet ;-)
> 
> For command-line Emacs, either I use emacsclient or emacs without my config
> file, so that's not the problem there.
> 
> And the fact is I need my agenda quite early in the process (after firing up
> Emacs).
> 

Maybe you should try adding  a call to the profiler to your .emacs
and try to measure e.g. how much the font locking costs. Off the top of
my head and entirely untested, adding

,----
| (require 'elp)
| (elp-instrument-package "font-lock")
| 
| ;; rest of your .emacs
| 
| (elp-results)
`----

might be enough.

HTH,
Nick





reply via email to

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