Re: [O] Insert org-id Link at Point via Outline Path Completion

2015-08-02 Thread Xebar Saram
Perfect :D thx so much, as always really appreciate it! z On Sun, Aug 2, 2015 at 9:31 PM, John Kitchin wrote: > You are, that code modifies the helm-org-agenda-files-headings function by > adding a new action to it. So, try: > > M-x helm-org-agenda-files-headings > > select a heading, press ta

Re: [O] Insert org-id Link at Point via Outline Path Completion

2015-08-02 Thread John Kitchin
You are, that code modifies the helm-org-agenda-files-headings function by adding a new action to it. So, try: M-x helm-org-agenda-files-headings select a heading, press tab, and you should see a 4th, new action to insert an org-id link. John --- Professor John K

Re: [O] Insert org-id Link at Point via Outline Path Completion

2015-08-02 Thread Xebar Saram
Thx john i evaled the code yet i cant see it under M-x, am i missing something? best Z On Sat, Aug 1, 2015 at 10:03 PM, John Kitchin wrote: > usually it is pretty easy to add new functions in helm, but it is less > easy in this case because the source is dynamically generated from a > functio

Re: [O] Insert org-id Link at Point via Outline Path Completion

2015-08-02 Thread Bernhard Pröll
Hi again, my guess into the blue: You haven't set the directory as described in the readme (it defaults to nil). Since I don't use helm, I haven't considered it. The purpose of this backend is avoiding the `find-file-noselect' as used in `org-refile' and the `helm-org-agenda-headings' suggested

Re: [O] Insert org-id Link at Point via Outline Path Completion

2015-08-01 Thread Dominic Surano
Sorry, I meant to get to this yesterday. See my question on Emacs StackExchange and my configuration file wher

Re: [O] Insert org-id Link at Point via Outline Path Completion

2015-08-01 Thread John Kitchin
usually it is pretty easy to add new functions in helm, but it is less easy in this case because the source is dynamically generated from a function. So, in this case I think we have to just redefine the function that generates the source. here is an example that I think makes an id link as a new a

Re: [O] Insert org-id Link at Point via Outline Path Completion

2015-08-01 Thread Xebar Saram
Hi again so excited over this had to ask 2 more questions ;-) 1.can that function include/link to org-id (so that it can keep the links even if the headers move around in/out of the files) 2.i saw there are 3 options to that helm function. can this be customized to add more commands (can really

Re: [O] Insert org-id Link at Point via Outline Path Completion

2015-08-01 Thread Xebar Saram
John, this is superb! thx so much it answers all my needs, what a great find :) kind regards Z On Sat, Aug 1, 2015 at 7:33 PM, John Kitchin wrote: > (helm-org-agenda-files-headings) seems to do this already for all > headlines in your agenda files. the third action is to insert a link to > th

Re: [O] Insert org-id Link at Point via Outline Path Completion

2015-08-01 Thread John Kitchin
(helm-org-agenda-files-headings) seems to do this already for all headlines in your agenda files. the third action is to insert a link to the selected headline. You can use let to temporarily define the org-agenda-files list to what you want, and just use the (helm-org-agenda-files-headings) comma

Re: [O] Insert org-id Link at Point via Outline Path Completion

2015-08-01 Thread Xebar Saram
Thx so much Bernhard this looks really promising. i never had luck with either company or auto-complete t o get it to work reliably (it often stops working even though its still in the mod bar). anyway i tried it and added this to my config (after cloning from git): (add-to-list 'load-path "/home

Re: [O] Insert org-id Link at Point via Outline Path Completion

2015-08-01 Thread Bernhard Pröll
Hi Saram, I've been in the same boat and decided to write a company-backend for this purpose. So if you're already using company-mode, this may be worth looking into: https://github.com/mutbuerger/company-org-headings Keep in mind that I'm in the process of learning Elisp and there has been lit

Re: [O] Insert org-id Link at Point via Outline Path Completion

2015-07-31 Thread Eric Abrahamsen
Xebar Saram writes: > i also have a similar workflow and would love to hear Dominic if you > found a solution for this or if anyone on the list has other > suggestions? The function `org-refile-get-targets' is the standard way of producing a list of all possible headings -- ostensibly to refile

Re: [O] Insert org-id Link at Point via Outline Path Completion

2015-07-30 Thread Xebar Saram
i also have a similar workflow and would love to hear Dominic if you found a solution for this or if anyone on the list has other suggestions? best Z On Tue, May 12, 2015 at 10:57 PM, Dominic Surano wrote: > Hello, > > I use org-mode a lot like a wiki so links to other org-mode headings are >

[O] Insert org-id Link at Point via Outline Path Completion

2015-05-12 Thread Dominic Surano
Hello, I use org-mode a lot like a wiki so links to other org-mode headings are very common. Currently, I navigate to the heading or pull it up in an agenda view, store the link with C-l, going back to where I want to insert the link, then insert the link with C-c C-l RET. This is a bit time c