emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Refile not working as desired
@ 2015-02-17 18:20 Michael Ziems
  2015-02-17 19:34 ` Kyle Meyer
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Ziems @ 2015-02-17 18:20 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

i am using the following in my .emacs:

  (setq org-refile-use-outline-path 'file)
  (setq org-refile-targets '((org-agenda-files :level . 4)))

i would now like to drop a certain headline when pressing C-c C-w anywhere:

maybe directly in:

work.org as first headline
work.org/routine/customerABC/
or maybe
work.org/routine/customerABC/Calls/meeting20150217/notes/whatever

but ord mode is only allowing me to go exactly to one level deep (i 
assume level 4)
but when i leave:

  (setq org-refile-targets '((org-agenda-files :level . 4))) out

it is still not allowing it.

Do you have any idea, what could be the reason?

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

* Re: Refile not working as desired
  2015-02-17 18:20 Refile not working as desired Michael Ziems
@ 2015-02-17 19:34 ` Kyle Meyer
  2015-02-17 19:59   ` Michael Ziems
  0 siblings, 1 reply; 4+ messages in thread
From: Kyle Meyer @ 2015-02-17 19:34 UTC (permalink / raw)
  To: Michael Ziems; +Cc: emacs-orgmode

Michael Ziems <sane@xiron.de> wrote:
[...]
>  (setq org-refile-use-outline-path 'file)
>  (setq org-refile-targets '((org-agenda-files :level . 4)))
[...]
> but ord mode is only allowing me to go exactly to one level deep (i
> assume level 4)
> but when i leave:
[...]
> Do you have any idea, what could be the reason?

Have your tried :maxlevel instead of :level?

-- 
Kyle

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

* Re: Refile not working as desired
  2015-02-17 19:34 ` Kyle Meyer
@ 2015-02-17 19:59   ` Michael Ziems
  2015-02-17 20:08     ` Kyle Meyer
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Ziems @ 2015-02-17 19:59 UTC (permalink / raw)
  To: Kyle Meyer; +Cc: emacs-orgmode

Awesome :)

Thank you so much, that was the solution!

  (setq org-refile-use-outline-path 'file)
  (setq org-refile-targets '((org-agenda-files :maxlevel . 24)))

the command ist taking quite a while during "Getting targets" can i 
speed this actualy up?

Am 17.02.2015 um 20:34 schrieb Kyle Meyer:
> Michael Ziems <sane@xiron.de> wrote:
> [...]
>>   (setq org-refile-use-outline-path 'file)
>>   (setq org-refile-targets '((org-agenda-files :level . 4)))
> [...]
>> but ord mode is only allowing me to go exactly to one level deep (i
>> assume level 4)
>> but when i leave:
> [...]
>> Do you have any idea, what could be the reason?
> Have your tried :maxlevel instead of :level?
>

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

* Re: Refile not working as desired
  2015-02-17 19:59   ` Michael Ziems
@ 2015-02-17 20:08     ` Kyle Meyer
  0 siblings, 0 replies; 4+ messages in thread
From: Kyle Meyer @ 2015-02-17 20:08 UTC (permalink / raw)
  To: Michael Ziems; +Cc: emacs-orgmode

Michael Ziems <sane@xiron.de> wrote:
> Awesome :)
>
> Thank you so much, that was the solution!
>
>  (setq org-refile-use-outline-path 'file)
>  (setq org-refile-targets '((org-agenda-files :maxlevel . 24)))
>
> the command ist taking quite a while during "Getting targets" can i
> speed this actualy up?

You could try
1. decreasing maxlevel, unless you really refile to levels that deep
2. setting `org-refile-cache' to a non-nil value

-- 
Kyle

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

end of thread, other threads:[~2015-02-17 20:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-17 18:20 Refile not working as desired Michael Ziems
2015-02-17 19:34 ` Kyle Meyer
2015-02-17 19:59   ` Michael Ziems
2015-02-17 20:08     ` Kyle Meyer

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).