Re: [Orgmode] Possible bug with refile

2009-08-02 Thread Carsten Dominik


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




___
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


Re: [Orgmode] Possible bug with refile

2009-07-17 Thread Bastien
Hi Richard,

are you still encountering the issue described below?

Richard Riley rileyrg...@googlemail.com writes:

 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.

Maybe double-check the value of `org-agenda-file-regexp' so that a
directory in `org-agenda-files' returns something sensible.

HTH,

-- 
 Bastien


___
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