* Bug? Error in HTML export of links with search options
@ 2022-12-20 18:06 Daniel Fleischer
2022-12-21 13:13 ` Ihor Radchenko
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Fleischer @ 2022-12-20 18:06 UTC (permalink / raw)
To: emacs-orgmode
Org offers the ability to run a search inside a link, see (org) Search
Options. E.g. [[File.c::100]] to get to line 100 in File.c. When
exporting this to HTML I get the following error:
org-export-data: Unable to resolve link: "‘recenter’ing a window that does not display current-buffer."
Also when having links of the form [[File.clj::defn]] where `defn' is a
search string.
Main 04d2cc59.
--
Daniel Fleischer
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bug? Error in HTML export of links with search options
2022-12-20 18:06 Bug? Error in HTML export of links with search options Daniel Fleischer
@ 2022-12-21 13:13 ` Ihor Radchenko
0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2022-12-21 13:13 UTC (permalink / raw)
To: Daniel Fleischer; +Cc: emacs-orgmode
Daniel Fleischer <danflscr@gmail.com> writes:
> Org offers the ability to run a search inside a link, see (org) Search
> Options. E.g. [[File.c::100]] to get to line 100 in File.c. When
> exporting this to HTML I get the following error:
>
> org-export-data: Unable to resolve link: "‘recenter’ing a window that does not display current-buffer."
>
> Also when having links of the form [[File.clj::defn]] where `defn' is a
> search string.
>
> Main 04d2cc59.
Confirmed.
I am unable to reproduce this exact error.
I am unable to reproduce error at all with ::defn search options.
I am, however, able to reproduce a different error with File.c::100, and
I get test.txt#MissingReference with test.txt::search-string.
This is all because `org-html-link' uses
`org-publish-resolve-external-link', which only supports limited search
options.
Patches welcome!
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-21 13:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-20 18:06 Bug? Error in HTML export of links with search options Daniel Fleischer
2022-12-21 13:13 ` Ihor Radchenko
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.