From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Disable agenda file autoload? Date: Thu, 28 May 2009 07:43:32 +0200 Message-ID: <1D89E96D-B0FC-4956-B848-C906F012B25A@gmail.com> References: <20090528053448.GU10324@thinkpad.adamsinfoserv.com> Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M9YOz-0001Hf-Sr for emacs-orgmode@gnu.org; Thu, 28 May 2009 01:43:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M9YOv-0001Ez-FG for emacs-orgmode@gnu.org; Thu, 28 May 2009 01:43:41 -0400 Received: from [199.232.76.173] (port=37764 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9YOv-0001Es-45 for emacs-orgmode@gnu.org; Thu, 28 May 2009 01:43:37 -0400 Received: from mail-ew0-f162.google.com ([209.85.219.162]:50257) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M9YOu-0004YU-Ml for emacs-orgmode@gnu.org; Thu, 28 May 2009 01:43:36 -0400 Received: by ewy6 with SMTP id 6so5496979ewy.42 for ; Wed, 27 May 2009 22:43:35 -0700 (PDT) In-Reply-To: <20090528053448.GU10324@thinkpad.adamsinfoserv.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: Russell Adams Cc: Org Mode List On May 28, 2009, at 7:34 AM, Russell Adams wrote: > I tend to run multiple emacs sessions and I've noticed that if I load > Org (no I do not require it on each load), that I get lock contention > on agenda files. > > Only one of these emacs instances is used for Org, I keep an Org > session up separate from my coding... > > Is there a way that I can configure Org to not load the agenda files > until the first time the agenda is called? > > Perhaps just by delaying setting the agenda file list until the agenda > is called by hook? > > My only other option would be to use a separate config for the Org > window vs the others. > > I welcome suggestions. I believe the agenda files are only loaded for agenda and related commands, i.e. commands that also need to access the agenda files. It is definitely not so that loading the Org package will load the agenda files. Or am I wrong here??? Maybe you are running org-agenda-to-appt or something like this? - Carsten