emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Possible bug with refile
@ 2009-07-12 17:51 Richard Riley
  2009-07-17 15:54 ` Bastien
  2009-08-03  4:32 ` Carsten Dominik
  0 siblings, 2 replies; 3+ messages in thread
From: Richard Riley @ 2009-07-12 17:51 UTC (permalink / raw)
  To: Emacs-orgmode mailing list


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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Possible bug with refile
  2009-07-12 17:51 Possible bug with refile Richard Riley
@ 2009-07-17 15:54 ` Bastien
  2009-08-03  4:32 ` Carsten Dominik
  1 sibling, 0 replies; 3+ messages in thread
From: Bastien @ 2009-07-17 15:54 UTC (permalink / raw)
  To: Richard Riley; +Cc: Emacs-orgmode mailing list

Hi Richard,

are you still encountering the issue described below?

Richard Riley <rileyrgdev@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Possible bug with refile
  2009-07-12 17:51 Possible bug with refile Richard Riley
  2009-07-17 15:54 ` Bastien
@ 2009-08-03  4:32 ` Carsten Dominik
  1 sibling, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2009-08-03  4:32 UTC (permalink / raw)
  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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-03  4:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-12 17:51 Possible bug with refile Richard Riley
2009-07-17 15:54 ` Bastien
2009-08-03  4:32 ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).