From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Morgan Subject: Re: Persistent filters in Org mode Date: Wed, 19 May 2010 19:23:50 -0400 Message-ID: <87iq6j79x5.fsf@ziiuu.com> References: <87mxwd7j90.fsf@ziiuu.com> <78236561-007D-4F32-AAA0-578773001D21@gmail.com> <874oi83l7q.fsf@ziiuu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=50188 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEscG-00055m-IX for emacs-orgmode@gnu.org; Wed, 19 May 2010 19:23:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OEscF-0003Tu-4f for emacs-orgmode@gnu.org; Wed, 19 May 2010 19:23:56 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:56069) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEscF-0003Tf-1j for emacs-orgmode@gnu.org; Wed, 19 May 2010 19:23:55 -0400 Received: by vws12 with SMTP id 12so2408794vws.0 for ; Wed, 19 May 2010 16:23:53 -0700 (PDT) In-Reply-To: (Carsten Dominik's message of "Wed, 19 May 2010 11:46:56 +0200") 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: emacs-orgmode@gnu.org Hi, Carsten, > I think this is good - so if you agree, I will apply your patch > and rename the variable to ...persistent-filter That would be great, thanks. >> The main thing I am missing now is a command to edit the filter >> in the minibuffer. Or, if there's a separate persistent filter, >> perhaps the command could edit that if given an argument. >> >> It might also be useful to save filters to registers and restore >> them later. > > I guess a command to edit the filter, and a dedicated history variable > for that command would be good enough? Would you like to make this > command and send me a combined patch with both changes? Alternatively, what do you think of the idea of saving a complete agenda view to a register (including the filter)? The register would contain all the information necessary to recreate the agenda view, and there would be a command to restore it. Thomas