emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leo Ufimtsev <lufimtse@redhat.com>
To: Xebar Saram <zeltakc@gmail.com>
Cc: Kyle Meyer <kyle@kyleam.com>, org mode <emacs-orgmode@gnu.org>,
	"Stefan-W. Hahn" <stefan.hahn@s-hahn.de>
Subject: Re: refiling with helm
Date: Thu, 5 Mar 2015 10:13:41 -0500 (EST)	[thread overview]
Message-ID: <8712959.16664733.1425568421162.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <CAOQHXPptCor0jcBPvEc5g=52GV+yREaAgRXdec9FSFCGp4Tm3Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2016 bytes --]

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 

----- Original Message -----

From: "Xebar Saram" <zeltakc@gmail.com> 
To: "Stefan-W. Hahn" <stefan.hahn@s-hahn.de> 
Cc: "Kyle Meyer" <kyle@kyleam.com>, "org mode" <emacs-orgmode@gnu.org> 
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 < stefan.hahn@s-hahn.de > wrote: 


Mail von Kyle Meyer, Sun, 01 Mar 2015 at 11:17:47 -0500: 
> "Stefan-W. Hahn" < stefan.hahn@s-hahn.de > 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. 






[-- Attachment #2: Type: text/html, Size: 4417 bytes --]

  reply	other threads:[~2015-03-05 15:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-28  6:19 refiling with helm Xebar Saram
2015-03-01  8:13 ` Stefan-W. Hahn
2015-03-01  8:18   ` Stefan-W. Hahn
2015-03-01 16:17     ` Kyle Meyer
2015-03-04 14:54       ` Stefan-W. Hahn
2015-03-05  5:50         ` Xebar Saram
2015-03-05 15:13           ` Leo Ufimtsev [this message]
2015-03-06  2:17             ` Alexis
2015-03-01  8:53 ` Ian Barton
2015-03-02 17:28 ` Leo Ufimtsev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8712959.16664733.1425568421162.JavaMail.zimbra@redhat.com \
    --to=lufimtse@redhat.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kyle@kyleam.com \
    --cc=stefan.hahn@s-hahn.de \
    --cc=zeltakc@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).