Re: [O] Go to heading using LISP

2013-06-19 Thread Alexander Wingård
On Mon, Jun 10, 2013 at 11:14 PM, Alexander Wingård alexander.wing...@gmail.com wrote: Maybe some day I will learn some LISP and teach it to navigate the hierarchical structure. I actually got curious and gave this a try and here's what I came up with: test.org: * a ** b *** h ** b *** q

Re: [O] Go to heading using LISP

2013-06-10 Thread Myles English
Hi Alexander, Alexander Wingård writes: I want to create special key-bindings that use the org-refile goto interface to jump to specific headings. It doesn't use org-refile but this is what I use: (defun my-goto-heading(file heading-text) Visit file `file' and goto headline `heading-text'

Re: [O] Go to heading using LISP

2013-06-10 Thread Alexander Wingård
On 10 jun 2013, at 21:00, Myles English mylesengl...@gmail.com wrote: Hi Alexander, Alexander Wingård writes: I want to create special key-bindings that use the org-refile goto interface to jump to specific headings. It doesn't use org-refile but this is what I use: (defun

Re: [O] Go to heading using LISP

2013-06-09 Thread Alexander Wingård
Eric Abrahamsen eric at ericabrahamsen.net writes: Alexander Wingård alexander.wingard at gmail.com writes: Hi! I want to create special key-bindings that use the org-refile goto interface to jump to specific headings. More specific example, let's say I want to bind keys in my .emacs

Re: [O] Go to heading using LISP

2013-06-09 Thread Eric Abrahamsen
Alexander Wingård alexander.wing...@gmail.com writes: Eric Abrahamsen eric at ericabrahamsen.net writes: Alexander Wingård alexander.wingard at gmail.com writes: Hi! I want to create special key-bindings that use the org-refile goto interface to jump to specific headings. More

Re: [O] Go to heading using LISP

2013-06-09 Thread Jambunathan K
Eric Abrahamsen e...@ericabrahamsen.net writes: if you're just looking for a lisp function to jump to a headline One can use org-ctags and use Emacs and etags interface (M-. etc) to jump to a headline. One can also choose the headline via completion.

[O] Go to heading using LISP

2013-06-08 Thread Alexander Wingård
Hi! I want to create special key-bindings that use the org-refile goto interface to jump to specific headings. My initial attempt was: (org-refile 4 gtd.org Projects/Work/Bugs) But it seems specifying RFLOC is not that simple. Someone have any idea how to achieve this or another way to jump to

Re: [O] Go to heading using LISP

2013-06-08 Thread Eric Abrahamsen
Alexander Wingård alexander.wing...@gmail.com writes: Hi! I want to create special key-bindings that use the org-refile goto interface to jump to specific headings. My initial attempt was: (org-refile 4 gtd.org Projects/Work/Bugs) But it seems specifying RFLOC is not that simple.