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.

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

Reply via email to