Re: [O] function-finding-location?

2017-04-23 Thread Xebar Saram
thx guys


z

On Sun, Apr 23, 2017 at 10:07 AM, Michael Welle  wrote:

> Hello,
>
> Xebar Saram  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
>
>
>


Re: [O] function-finding-location?

2017-04-23 Thread Michael Welle
Hello,

Xebar Saram  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




[O] function-finding-location?

2017-04-22 Thread Xebar Saram
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?

best

Z