From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: org-refile failing Date: Wed, 05 Sep 2012 21:48:52 -0400 Message-ID: <17180.1346896132@alphaville.americas.hpqcorp.net> References: <87mx145937.fsf@altern.org> <16353.1346893039@alphaville.americas.hpqcorp.net> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9RDG-0006Qi-7J for emacs-orgmode@gnu.org; Wed, 05 Sep 2012 21:48:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9RDE-0007Tb-Ut for emacs-orgmode@gnu.org; Wed, 05 Sep 2012 21:48:58 -0400 Received: from g1t0027.austin.hp.com ([15.216.28.34]:11653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9RDE-0007TW-Pi for emacs-orgmode@gnu.org; Wed, 05 Sep 2012 21:48:56 -0400 In-Reply-To: Message from Marcelo de Moraes Serpa of "Wed, 05 Sep 2012 20:32:37 CDT." 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: Marcelo de Moraes Serpa Cc: Bastien , Org Mode Marcelo de Moraes Serpa wrote: > Hi Nick, thanks for the reply. > > I don't remember customizing the org-refile-targets var. When I evaluate it, I get the following: > > ((org-agenda-files :maxlevel . 0)) > You must have customized it since the original value is nil. I have customized it too and C-h v on it gives me: ,---- | org-refile-targets is a variable defined in `org.el'. | Its value is ((org-agenda-files :level . 1)) | Original value was nil `---- The difference probably accounts for the error you are getting (even though you are setting maxlevel and I'm setting level), so try changing the 0 to 1 or larger. Note that if you set maxlevel to 1 that means that only top-level headlines are eligible as refiling targets. Nick