From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: [Accepted] Bug: org-refile-targets doesn't say whether it's AND or OR [7.7 (release_7.7.351.gb8b5)] Date: Thu, 6 Oct 2011 10:13:16 +0200 (CEST) Message-ID: <20111006081316.11CB4588A75@u016822.science.uva.nl> References: <3103.1317268754@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBj4x-0005sR-DS for emacs-orgmode@gnu.org; Thu, 06 Oct 2011 04:13:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBj4v-00034B-T1 for emacs-orgmode@gnu.org; Thu, 06 Oct 2011 04:13:19 -0400 Received: from u016822.science.uva.nl ([146.50.39.34]:54274) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBj4v-00033J-Lj for emacs-orgmode@gnu.org; Thu, 06 Oct 2011 04:13:17 -0400 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 Patch 965 (http://patchwork.newartisans.com/patch/965/) is now "Accepted". Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C3103.1317268754%40alphaville.dokosmarshall.org%3E Here is the original message containing the patch: > Content-Type: text/plain; charset="utf-8" > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > Subject: [O] Bug: org-refile-targets doesn't say whether it's AND or OR [7.7 > (release_7.7.351.gb8b5)] > Date: Thu, 29 Sep 2011 08:59:14 -0000 > From: Nick Dokos > X-Patchwork-Id: 965 > Message-Id: <3103.1317268754@alphaville.dokosmarshall.org> > To: Dave Abrahams > Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org > > Dave Abrahams wrote: > > > I would change the doc for org-refile-targets to say that the resulting > > list of targets is the union of all the targets matched by each cons > > cell. I think you could take that pretty much verbatim. > > > > How's this? > > Nick > > --------------------------------------------------------------------------- > >From f853b04fb474493b3b7b8857794c9f120c5f7822 Mon Sep 17 00:00:00 2001 > From: Nick Dokos > Date: Wed, 28 Sep 2011 23:49:13 -0400 > Subject: [PATCH] Amplify the doc for org-refile-targets > > * lisp/org.el: (org-refile-targets) Elaborated the documentation of > the variable as suggested by Dave Abrahams. > > TINYCHANGE > > --- > lisp/org.el | 6 +++++- > 1 files changed, 5 insertions(+), 1 deletions(-) > > diff --git a/lisp/org.el b/lisp/org.el > index 945d759..68c6912 100644 > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -1864,7 +1864,7 @@ (defcustom org-log-refile nil > > (defcustom org-refile-targets nil > "Targets for refiling entries with \\[org-refile]. > -This is list of cons cells. Each cell contains: > +This is a list of cons cells. Each cell contains: > - a specification of the files to be considered, either a list of files, > or a symbol whose function or variable value will be used to retrieve > a file name or a list of file names. If you use `org-agenda-files' for > @@ -1886,6 +1886,10 @@ (defcustom org-refile-targets nil > Note that, when `org-odd-levels-only' is set, level corresponds to > order in hierarchy, not to the number of stars. > > +Each element of this list generates a set of possible targets. > +The union of these sets is presented (with completion) to > +the user by `org-refile'. > + > You can set the variable `org-refile-target-verify-function' to a function > to verify each headline found by the simple criteria above. > >