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:51:29 -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 1LDJHq-0000Zl-BC for emacs-orgmode@gnu.org; Thu, 18 Dec 2008 08:51:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LDJHp-0000YJ-Kz for emacs-orgmode@gnu.org; Thu, 18 Dec 2008 08:51:33 -0500 Received: from [199.232.76.173] (port=51878 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDJHp-0000Y9-HF for emacs-orgmode@gnu.org; Thu, 18 Dec 2008 08:51:33 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:35222) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LDJHp-0005KL-7g for emacs-orgmode@gnu.org; Thu, 18 Dec 2008 08:51:33 -0500 In-Reply-To: (Matthew Lundin's message of "Thu\, 18 Dec 2008 07\:43\:43 -0600") 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: Matthew Lundin Cc: emacs-orgmode@gnu.org, charles_cave@optusnet.com.au Matthew Lundin writes: > > 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:) Oops, that should be: (:level . 2) (:maxlevel . 2) [Thank goodness for smileys in gnus, which alerted me to my own error. I'm afraid I'm too used to PmWiki markup, so I tried to close the opening parenthesis-colon.] For good measure my own full setting is: (setq org-refile-targets '((org-agenda-files :maxlevel . 2))) Best, Matt > > 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 > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode