emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Myles English
Subject: [O] org-goto-local-search-headings usage?
Date: Tue, 15 May 2012 16:28:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

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 the emacs-org-mode rather than the one
                       ;; installed with emacs

(defun gtd()
   (interactive)
   (find-file "~/tmp/gtd.org")
   (goto-char (point-min))
   (setq wf "My workflow")
   (org-goto-local-search-headings wf nil nil)
)

and ~/tmp/gtd.org:

* My workflow

then I do:

M-x gtd

and get the message:

byte-code: Search failed: "My workflow"

I have tried edebugging but didn't get anywhere, perhaps I am not using
it properly.

Thanks,

-- 
  `--[ Myles ]



reply via email to

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