* function-finding-location?
@ 2017-04-22 12:07 Xebar Saram
2017-04-23 7:07 ` function-finding-location? Michael Welle
0 siblings, 1 reply; 3+ messages in thread
From: Xebar Saram @ 2017-04-22 12:07 UTC (permalink / raw)
To: org mode
[-- Attachment #1: Type: text/plain, Size: 274 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 446 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: function-finding-location?
2017-04-22 12:07 function-finding-location? Xebar Saram
@ 2017-04-23 7:07 ` Michael Welle
2017-04-23 14:41 ` function-finding-location? Xebar Saram
0 siblings, 1 reply; 3+ messages in thread
From: Michael Welle @ 2017-04-23 7:07 UTC (permalink / raw)
To: emacs-orgmode
Hello,
Xebar Saram <zeltakc@gmail.com> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-04-23 14:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-22 12:07 function-finding-location? Xebar Saram
2017-04-23 7:07 ` function-finding-location? Michael Welle
2017-04-23 14:41 ` function-finding-location? Xebar Saram
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).