From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Possible bug with refile Date: Mon, 3 Aug 2009 06:32:37 +0200 Message-ID: References: <4a5a22a3.1438560a.16e5.ffff8a9b@mx.google.com> Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXpE8-0005Zz-LE for emacs-orgmode@gnu.org; Mon, 03 Aug 2009 00:32:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXpE3-0005YO-Ay for emacs-orgmode@gnu.org; Mon, 03 Aug 2009 00:32:47 -0400 Received: from [199.232.76.173] (port=41504 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXpE3-0005YH-5R for emacs-orgmode@gnu.org; Mon, 03 Aug 2009 00:32:43 -0400 Received: from mail-ew0-f211.google.com ([209.85.219.211]:47818) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXpE2-00029W-OP for emacs-orgmode@gnu.org; Mon, 03 Aug 2009 00:32:42 -0400 Received: by ewy7 with SMTP id 7so1039117ewy.42 for ; Sun, 02 Aug 2009 21:32:42 -0700 (PDT) In-Reply-To: <4a5a22a3.1438560a.16e5.ffff8a9b@mx.google.com> 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: Richard Riley Cc: Emacs-orgmode mailing list On Jul 12, 2009, at 7:51 PM, Richard Riley wrote: > > My org-mode usage had become a bit messy so I decided to go back to > first principles and follow through Bernd Hansen's tutorial here > > http://doc.norang.ca/org-mode.html#sec-1 > > One real eye opener was the completion on category levels inside > files as > described here: > > http://doc.norang.ca/org-mode.html#Refiling > > (The use of refile as a staging area makes everything a lot easier > IMO too). > > Anyway I removed my numerous agenda-files from my org.el settings > and have: > > (setq org-refile-targets (quote ((org-agenda-files :maxlevel . 5) > (nil :maxlevel . 5)))) > > where org-agenda-files is set to a *directory name* as described in > the > manual. What exactly is your setting for org-agenda-files? Is it a directory, or a one-element list with a directory as the element? - Carsten > > This set up causes the following error when trying to refile from > within > a new org item buffer (C-c C-w). > > ,---- > | expand-file-name(nil) > | org-get-refile-targets(nil) > | org-refile-get-location("Refile to: " nil nil) > | org-refile(nil) > | call-interactively(org-refile nil nil) > `---- > > regards > > r. > > > _______________________________________________ > 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