From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Abrahams Subject: Re: Feature Requests: `org-refile-targets' Date: Thu, 22 Sep 2011 15:22:33 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6rVh-00051A-2q for emacs-orgmode@gnu.org; Thu, 22 Sep 2011 18:12:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R6rVf-0005pt-7l for emacs-orgmode@gnu.org; Thu, 22 Sep 2011 18:12:49 -0400 Received: from lo.gmane.org ([80.91.229.12]:56465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6rVf-0005oy-1S for emacs-orgmode@gnu.org; Thu, 22 Sep 2011 18:12:47 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R6rVc-0000lU-Jh for emacs-orgmode@gnu.org; Fri, 23 Sep 2011 00:12:44 +0200 Received: from 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com ([207.172.223.249]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Sep 2011 00:12:44 +0200 Received: from dave by 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Sep 2011 00:12:44 +0200 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: emacs-orgmode@gnu.org on Wed Sep 14 2011, Dave Abrahams wrote: > Hi all, > > I have two related feature requests: > > 1. The ability to refile based on properties. I have a bunch of items > with a :CATEGORY: entry in their property drawer. I would like such > items always to be refile targets. So I'd like, perhaps, a regexp > for property matching, e.g. "\\`:CATEGORY:.*" > > 2. In-buffer settings for `org-refile-targets'. What makes an > appropriate target in one file may not be a good target in another, > and I want to be able to distribute the file with it refiling options > built-in. > > I can live without #2, since I can always use Emacs' file-local > variables to set `org-refile-targets', but #1 feels more urgent. Actually, I can't live without #2. Setting a file-local variable works fine until I am in the agenda, because the setting doesn't get translated to the agenda buffer(!) -- Dave Abrahams BoostPro Computing http://www.boostpro.com