From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Sticky Agenda buffer: Announcement and request for testing Date: Tue, 03 Apr 2012 07:37:05 +0200 Message-ID: <87iphhs7em.fsf@gnu.org> References: <65860CF1-3D9B-497B-8EF7-AA7E87B28BEE@uva.nl> <20319.33874.900923.628931@gazelle.local> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SEwPJ-0004Km-Pu for emacs-orgmode@gnu.org; Tue, 03 Apr 2012 01:35:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SEwPH-0008UC-RE for emacs-orgmode@gnu.org; Tue, 03 Apr 2012 01:35:53 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:54827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SEwPH-0008U2-Hw for emacs-orgmode@gnu.org; Tue, 03 Apr 2012 01:35:51 -0400 Received: by wgbdr1 with SMTP id dr1so2482882wgb.30 for ; Mon, 02 Apr 2012 22:35:49 -0700 (PDT) In-Reply-To: <20319.33874.900923.628931@gazelle.local> (Manuel Hermenegildo's message of "Tue, 13 Mar 2012 18:30:58 +0100") 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: Manuel Hermenegildo Cc: Org Mode List , "Dominik, Carsten" Hi Manuel, Manuel Hermenegildo writes: > But, would it be possible to achieve the behavior I had mistakenly > assumed? > > Going back to the week view example, Org would remember the rendering > of each week as you move from one week to another, not recomputing a > week that has already been visited. The different weeks would be kept > in different buffers (called, e.g., *Org Agenda (*). > All these buffers would be recomputed only when g is typed. It woudl > work the same with, say, day view. > > I at least would find that *very* useful (but I do not know how much > more complicated it is than the current stickiness). I played around with your idea, storing informations from each agenda view in a variable `org-agenda-listing' -- which is kind of a "cache" for agendas. While the idea is neat, the implementation has to be careful of keeping old agenda views in sync with the state of the .org buffers, as Samuel correctly pointed out. I've nothing mature yet in this area, but I'll surely digg again when the sticky agenda branch is merged. Please ping us with this idea again after the merge. Thanks, -- Bastien