From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Persistent filters in Org mode Date: Thu, 20 May 2010 09:40:22 +0200 Message-ID: References: <87mxwd7j90.fsf@ziiuu.com> <78236561-007D-4F32-AAA0-578773001D21@gmail.com> <874oi83l7q.fsf@ziiuu.com> <87iq6j79x5.fsf@ziiuu.com> 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 [140.186.70.92] (port=58431 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OF3On-0000Ec-ER for emacs-orgmode@gnu.org; Thu, 20 May 2010 06:54:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OF3Oh-0000Pf-8t for emacs-orgmode@gnu.org; Thu, 20 May 2010 06:54:45 -0400 Received: from pony.ic.uva.nl ([145.18.40.181]:47790) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OF3Oh-0000OZ-0G for emacs-orgmode@gnu.org; Thu, 20 May 2010 06:54:39 -0400 In-Reply-To: <87iq6j79x5.fsf@ziiuu.com> 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: Thomas Morgan Cc: emacs-orgmode@gnu.org On May 20, 2010, at 1:23 AM, Thomas Morgan wrote: > 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. That might be nice! Or a way to interactively create a view and then turn it into a custom command with one key... - Carsten