emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] refiling with helm


From: Leo Ufimtsev
Subject: Re: [O] refiling with helm
Date: Thu, 5 Mar 2015 10:13:41 -0500 (EST)

Hello Xebar, 

I had the same issue. I used the file-expand-wildcards function to make a list of all my org-mode files.

The only thing is that I have to reload my .emacs when adding org files for refile to work properly.

(setq myvar/org-dir "~/git/LeoUfimtsev.github.io/org/")

(setq myvar/org-files (file-expand-wildcards (concat myvar/org-dir "*.org")))

...customize..:

'(org-refile-targets
(quote
((org-agenda-files :maxlevel . 10)
(nil :maxlevel . 10)
(myvar/org-files :maxlevel . 10))))



Leo Ufimtsev | Intern Software Engineer @ Eclipse Team


From: "Xebar Saram" <address@hidden>
To: "Stefan-W. Hahn" <address@hidden>
Cc: "Kyle Meyer" <address@hidden>, "org mode" <address@hidden>
Sent: Thursday, March 5, 2015 12:50:29 AM
Subject: Re: [O] refiling with helm

thank you all, most of the code here was overkill for me (im very un-technical :)) but i found the last bit of code:
>     (setq org-outline-path-complete-in-steps nil)
>
>     (require 'helm)
>     (require 'helm-config)
>     (helm-mode 1)

to work great for me

the only problem remaining is that it seems it does not give me refile option for all my agenda files just a few (which i cant understand why it chooses these). i have this in my refile config:

(setq org-goto-max-level 10)

also i have this in my config

(setq org-agenda-files '("~/org/files/agenda/"))

what am i missing here?

thx alot!

z



On Wed, Mar 4, 2015 at 4:54 PM, Stefan-W. Hahn <address@hidden> wrote:
Mail von Kyle Meyer, Sun, 01 Mar 2015 at 11:17:47 -0500:
> "Stefan-W. Hahn" <address@hidden> wrote:

> So, given the default values, I think the only setup needed to get
> generic helm completion is
>
>     (setq org-outline-path-complete-in-steps nil)
>
>     (require 'helm)
>     (require 'helm-config)
>     (helm-mode 1)

Yes, you are right. I tested it and it worked.

Thanks
Stefan

--
Stefan-W. Hahn                          It is easy to make things.
                                        It is hard to make things simple.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]