From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Agenda optimization: new option `org-agenda-inhibit-startup' Date: Sun, 27 Jan 2013 10:04:04 +0100 Message-ID: <2EF34481-8E30-406C-A469-76D9E0F69E3B@gmail.com> References: <871ud8dkby.fsf@bzg.ath.cx> Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49989) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TzO9s-0001Qv-HH for emacs-orgmode@gnu.org; Sun, 27 Jan 2013 04:04:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TzO9p-0002xi-Hj for emacs-orgmode@gnu.org; Sun, 27 Jan 2013 04:04:12 -0500 Received: from mail-wg0-f52.google.com ([74.125.82.52]:39055) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TzO9p-0002x8-Aa for emacs-orgmode@gnu.org; Sun, 27 Jan 2013 04:04:09 -0500 Received: by mail-wg0-f52.google.com with SMTP id 12so1101488wgh.19 for ; Sun, 27 Jan 2013 01:04:07 -0800 (PST) In-Reply-To: <871ud8dkby.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: Nicolas Goaziou , "emacs-orgmode@gnu.org Mailing List" Hi Bastien, yes, this will lead to a speedup of the first agenda in an Emacs = session. Once the buffers have been pulled in, this should not make a = difference anymore. Maybe it would be useful to exempt initializing org-indent-mode from = this. I think (Nicolas?) that this will cost no time as long as the = buffer is not visible, but it will help to make the buffer look "right" = when the user gets to it. - Carsten On 26.1.2013, at 16:40, Bastien wrote: > Hi all, >=20 > in the maint and master branch, there is `org-agenda-inhibit-startup', > a new option defaulting to t which prevent the agenda buffers to run > some startup initialization when called for generating an agenda -- > e.g. opening the buffer with a specific cycling state is not honored. >=20 > This will speed up agenda generation *a lot*, especially for people > who have lots of agenda files. >=20 > Please check and let me know. >=20 > For those who want the previous behavior, simply set it to nil. >=20 > I want the default to be t so newbies enjoy a fast agenda early on. >=20 > All best, >=20 > --=20 > Bastien >=20 >=20