From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [PATCH] New variable to speed up custom agendas Date: Thu, 11 Mar 2010 11:33:38 +0100 Message-ID: <3620D2E1-454E-495A-AA05-CC43EF94B27E@gmail.com> References: <87eiju152a.fsf@fastmail.fm> <45979DDE-C07B-48AC-94A9-6FE530EF495C@gmail.com> <87r5nrcx9a.fsf@fastmail.fm> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Npfi7-000513-Pq for emacs-orgmode@gnu.org; Thu, 11 Mar 2010 05:33:47 -0500 Received: from [140.186.70.92] (port=44813 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Npfi6-0004zo-EB for emacs-orgmode@gnu.org; Thu, 11 Mar 2010 05:33:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Npfi5-0007RD-7c for emacs-orgmode@gnu.org; Thu, 11 Mar 2010 05:33:46 -0500 Received: from pony.ic.uva.nl ([145.18.40.181]:34134) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Npfi5-0007Qv-0g for emacs-orgmode@gnu.org; Thu, 11 Mar 2010 05:33:45 -0500 In-Reply-To: <87r5nrcx9a.fsf@fastmail.fm> 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: Matthew Lundin Cc: Org Mode Hi Matt, sorry, it looks like I forgot to push yesterday evening. Done now... - Carsten On Mar 11, 2010, at 5:12 AM, Matthew Lundin wrote: > 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 > - Carsten