From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Re: Seeking further clarification of org-refile-targets variable Date: Thu, 18 Dec 2008 07:43:43 -0600 Message-ID: References: <200812180627.mBI6RfNi009606@mail01.syd.optusnet.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LDJAL-0004HF-2f for emacs-orgmode@gnu.org; Thu, 18 Dec 2008 08:43:49 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LDJAJ-0004G5-JY for emacs-orgmode@gnu.org; Thu, 18 Dec 2008 08:43:48 -0500 Received: from [199.232.76.173] (port=60870 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDJAJ-0004Fu-BI for emacs-orgmode@gnu.org; Thu, 18 Dec 2008 08:43:47 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:34717) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LDJAI-0003yG-Tm for emacs-orgmode@gnu.org; Thu, 18 Dec 2008 08:43:47 -0500 In-Reply-To: <200812180627.mBI6RfNi009606@mail01.syd.optusnet.com.au> (Charles Cave's message of "Thu\, 18 Dec 2008 17\:27\:41 +1100") 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: charles_cave@optusnet.com.au Cc: emacs-orgmode@gnu.org Hi Charles, Charles Cave writes: > I am having trouble understanding the help text for org-refile-targets. > I don't know what a "cons cell" is and I would like to see some examples > of customising the variable. > > For example, how can I specify headings of levels 1 and 2? > I entered the value of > (:level . N). > in the customization prompt but now I get a message > "No refile targets". > I believe you need to substitute a number for N, such as: (:level . 2:) But I think the setting you're looking for is: (:maxlevel . 2:) As I understand it, the difference between level and maxlevel is that the level setting only offers level 2 headlines as targets, while the maxlevel offers both level 1 or level 2 headlines as targets. I think this is a good candidate for an FAQ entry. I'll put it up on Worg. > Perhaps some examples for non-Lisp programmers would be helpful. > > As org-mode popularity increases, the users are not necessarily > Lisp-literate, and I have read messages from users willing to learn > Emacs just to use org-mode! Yes, as a long-time vim user, I was certainly in that category. And I have to say that your very helpful and accessible tutorials were one of the first things that drew me to org-mode (and emacs) in the first place. Best, Matt