Re: [O] org-goto-local-search-headings usage?

2012-05-16 Thread Myles English
On Tue, 15 May 2012 17:44:29 -0400, Nick Dokos said: Nick Dokos wrote: Myles English wrote: On Tue, 15 May 2012 11:48:55 -0400, Nick Dokos said: Myles English wrote: Hi, Can anyone see what I am doing wrong here? I just want to open a

Re: [O] org-goto-local-search-headings usage?

2012-05-16 Thread Nicolas Goaziou
Hello, Myles English mylesengl...@gmail.com writes: Thanks for the advice, I ended up using bit of org-element.el instead of org-goto-local-search-headings and doing this: #+BEGIN_SRC elisp (defun gotoWF(hl) (let ((title (car (org-element-property :title hl (if (and

Re: [O] org-goto-local-search-headings usage?

2012-05-16 Thread Myles English
On Wed, 16 May 2012 16:56:45 +0200, Nicolas Goaziou said: I highly suggest to use (org-element-parse-buffer 'headline) instead of plain (org-element-parse-buffer), since you really don't need to spend time parsing the buffer down to the smallest object. Also, you should check

[O] org-goto-local-search-headings usage?

2012-05-15 Thread Myles English
Hi, Can anyone see what I am doing wrong here? I just want to open a file ~/tmp/gtd.org and goto the heading * My workflow. So, starting like this: emacs -Q -l ~/tmp/gtd with ~/tmp/gtd: (add-to-list 'load-path ~/.emacs.d/plugins/org-mode/lisp) (require 'org-install) ;; to use

Re: [O] org-goto-local-search-headings usage?

2012-05-15 Thread Nick Dokos
Myles English mylesengl...@gmail.com wrote: Hi, Can anyone see what I am doing wrong here? I just want to open a file ~/tmp/gtd.org and goto the heading * My workflow. So, starting like this: emacs -Q -l ~/tmp/gtd with ~/tmp/gtd: (add-to-list 'load-path

Re: [O] org-goto-local-search-headings usage?

2012-05-15 Thread Myles English
On Tue, 15 May 2012 11:48:55 -0400, Nick Dokos said: Myles English mylesengl...@gmail.com wrote: Hi, Can anyone see what I am doing wrong here? I just want to open a file ~/tmp/gtd.org and goto the heading * My workflow. So, starting like this: emacs -Q -l

Re: [O] org-goto-local-search-headings usage?

2012-05-15 Thread Nick Dokos
Myles English mylesengl...@gmail.com wrote: On Tue, 15 May 2012 11:48:55 -0400, Nick Dokos said: Myles English mylesengl...@gmail.com wrote: Hi, Can anyone see what I am doing wrong here? I just want to open a file ~/tmp/gtd.org and goto the heading * My workflow.

Re: [O] org-goto-local-search-headings usage?

2012-05-15 Thread Nick Dokos
Nick Dokos nicholas.do...@hp.com wrote: Myles English mylesengl...@gmail.com wrote: On Tue, 15 May 2012 11:48:55 -0400, Nick Dokos said: Myles English mylesengl...@gmail.com wrote: Hi, Can anyone see what I am doing wrong here? I just want to open a file