emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] function-finding-location?


From: Xebar Saram
Subject: Re: [O] function-finding-location?
Date: Sun, 23 Apr 2017 17:41:56 +0300

thx guys


z

On Sun, Apr 23, 2017 at 10:07 AM, Michael Welle <address@hidden> wrote:
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]