Re: How to go to an Org headline programmatically?

2023-07-07 Thread Richard Lawrence
Hi Marcin, Marcin Borkowski writes: > I want to find an Org headline in Elisp. No need to make it visible, > for example - just move the point to the heading with a given title (it > may even be within `save-excursion', as in "go there, do something, go > back"). `org-link-search' seems to do

Re: How to go to an Org headline programmatically?

2023-07-05 Thread Samuel Wales
i have e.g. (let (org-refile-target-verify-function) (org-refile '(4)) for interactive; ther emight be a place to put the header name or id. On 7/5/23, Marcin Borkowski wrote: > Hi all, > > I want to find an Org headline in Elisp. No need to make it visible, > for example - just move the point

How to go to an Org headline programmatically?

2023-07-05 Thread Marcin Borkowski
Hi all, I want to find an Org headline in Elisp. No need to make it visible, for example - just move the point to the heading with a given title (it may even be within `save-excursion', as in "go there, do something, go back"). `org-link-search' seems to do what I want, but it does a lot more -