emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-goto-local-search-headings usage?
@ 2012-05-15 15:28 Myles English
  2012-05-15 15:48 ` Nick Dokos
  0 siblings, 1 reply; 8+ messages in thread
From: Myles English @ 2012-05-15 15:28 UTC (permalink / raw)
  To: emacs-orgmode Mode


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 ]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-05-16 20:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-15 15:28 org-goto-local-search-headings usage? Myles English
2012-05-15 15:48 ` Nick Dokos
2012-05-15 21:09   ` Myles English
2012-05-15 21:33     ` Nick Dokos
2012-05-15 21:44       ` Nick Dokos
2012-05-16 10:30         ` Myles English
2012-05-16 14:56           ` Nicolas Goaziou
2012-05-16 20:37             ` Myles English

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).