From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Re: Having (too) many files in org-agenda-files Date: Thu, 30 Sep 2010 11:33:43 -0400 Message-ID: <30320.1285860823@gamaville.dokosmarshall.org> References: <878w2lso50.fsf@mundaneum.com> <877hi56jc0.fsf@mundaneum.com> <87fwwsfazb.fsf@mundaneum.com> <493C67F4-E312-43F3-B5D2-62F740EADD72@gmail.com> <87hbh7v46b.fsf@mundaneum.com> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=36131 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1L9C-0004Hb-Ak for emacs-orgmode@gnu.org; Thu, 30 Sep 2010 11:34:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P1L96-0005sr-3Q for emacs-orgmode@gnu.org; Thu, 30 Sep 2010 11:34:14 -0400 Received: from vms173017pub.verizon.net ([206.46.173.17]:59146) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1L95-0005sn-V9 for emacs-orgmode@gnu.org; Thu, 30 Sep 2010 11:34:08 -0400 Received: from gamaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173017.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0L9K00IT0GK7L040@vms173017.mailsrvcs.net> for emacs-orgmode@gnu.org; Thu, 30 Sep 2010 10:33:45 -0500 (CDT) In-reply-to: Message from =?us-ascii?Q?=3D=3Futf-8=3FQ=3FS=3DC3=3DA9bastie?= =?us-ascii?Q?n=5FVauban=3F=3D?= of "Thu\, 30 Sep 2010 13\:53\:00 +0200." <87hbh7v46b.fsf@mundaneum.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?us-ascii?Q?=3D=3Futf-8=3FQ=3FS=3DC3=3DA9bastien=5FVauban=3F=3D?= Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org S=C3=A9bastien Vauban wrote: > >>> Also, you might consider to remove (org-agenda-list) from .emacs. I t= hink > >>> it is pretty much always a bad idea to put a command like this into y= our > >>> 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 f= or > >> 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 m= ake > > emacs more usable for command line usage etc. >=20 > Not convinced yet=C2=A0;-) >=20 > For command-line Emacs, either I use emacsclient or emacs without my conf= ig > file, so that's not the problem there. >=20 > And the fact is I need my agenda quite early in the process (after firing= up > Emacs). >=20 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") |=20 | ;; rest of your .emacs |=20 | (elp-results) `---- might be enough. HTH, Nick