From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Bug: org-refile-targets doesn't say whether it's AND or OR [7.7 (release_7.7.351.gb8b5)] Date: Wed, 28 Sep 2011 20:33:27 -0400 Message-ID: <30476.1317256407@alphaville.dokosmarshall.org> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:46628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R94ZB-00083S-8K for emacs-orgmode@gnu.org; Wed, 28 Sep 2011 20:33:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R94Z9-0001Ts-LX for emacs-orgmode@gnu.org; Wed, 28 Sep 2011 20:33:33 -0400 Received: from g4t0017.houston.hp.com ([15.201.24.20]:41526) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R94Z9-0001Th-GX for emacs-orgmode@gnu.org; Wed, 28 Sep 2011 20:33:31 -0400 In-Reply-To: Message from Dave Abrahams of "Wed, 28 Sep 2011 19:43:26 EDT." 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: Dave Abrahams Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Dave Abrahams wrote: > > > Remember to cover the basics, that is, what you expected to happen and > what in fact did happen. You don't know how to make a good report? See > > http://orgmode.org/manual/Feedback.html#Feedback > > Your bug report will be posted to the Org-mode mailing list. > ------------------------------------------------------------------------ > > The documentation doesn't specify whether the cons cells are ANDed or > ORed together when selecting refile targets. > I'm not really sure what you mean, so let me tell you how I understand this variable and then come back to the question of what you would like to see. AFAIK, the variable is used to construct a set of possible targets: you select the items to refile and then you select *one* item from this set. There is completion: as you type, the set is cut down to whatever subset matches your current input - org does not let you finish until the refiling target has been specified uniquely. Each element of the org-refile-targets list generates a set of posssible targets. The whole set is the union of these partial sets. Since ORs map to unions and ANDs to intersections, I guess one could say that they are ORed together, but personally I find it confusing to think of it in these terms. Assuming that this is correct, does it help? And if it is correct and it does help, what would you change in the docs to incorporate this information? And how? Nick