From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Re: [PATCH] New variable to speed up custom agendas Date: Wed, 10 Mar 2010 23:12:17 -0500 Message-ID: <87r5nrcx9a.fsf@fastmail.fm> References: <87eiju152a.fsf@fastmail.fm> <45979DDE-C07B-48AC-94A9-6FE530EF495C@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NpZkV-0006T3-67 for emacs-orgmode@gnu.org; Wed, 10 Mar 2010 23:11:51 -0500 Received: from [140.186.70.92] (port=34230 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NpZkT-0006Sv-9z for emacs-orgmode@gnu.org; Wed, 10 Mar 2010 23:11:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NpZkS-000289-76 for emacs-orgmode@gnu.org; Wed, 10 Mar 2010 23:11:49 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:46183) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NpZkS-000285-5H for emacs-orgmode@gnu.org; Wed, 10 Mar 2010 23:11:48 -0500 In-Reply-To: <45979DDE-C07B-48AC-94A9-6FE530EF495C@gmail.com> (Carsten Dominik's message of "Wed, 10 Mar 2010 17:15:58 +0100") 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: Carsten Dominik Cc: Org Mode Hi Carsten, Carsten Dominik writes: > wow, you have proven me wrong. There is a way to get > a significant speedup in agenda construction, for special > cases like you mentioned in an earlier message. This is > brilliant. > > I have taken the patch, with a few small modifications: > > 1. I changed the constant `org-agenda-custom-commands-local-options' > so that it will become a lot easier to bind this variable as an > an option when configuring `org-agenda-custom-commands' using > the customize interface. > > 2. I modified the docstring of the new variable so that the first line > is a stand-alone sentence, as required in Emacs. > > 3. I moved the description of the symbols into your new variable, > and made org-diary point to it. I think the new location is > a better place for this. Thanks for applying the patch and for making these additional modifications! > Excellent, thank you very much. Will you add an example to > your org-agenda-custom-commands tutorial? I would be glad to. I'll put it on my todo list. :) - Matt