emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] function-finding-location?


From: Michael Welle
Subject: Re: [O] function-finding-location?
Date: Sun, 23 Apr 2017 09:07:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hello,

Xebar Saram <address@hidden> writes:

> today i saw this in the DOCU
>
> (file+function "path/to/file" function-finding-location)
> A function to find the right location in the file.
>
> i assume you dont just use "function-finding-location" but rather a
> specific function. are there examples for such functions?
something like this would do the trick:

(defun hmw/foo ()
  (goto-char (org-find-exact-headline-in-buffer "boingfoo")))

You can, of course, use regexp or other means of finding the position in
the file.

Does that help?

Regards
hmw




reply via email to

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