Daniel Fleischer <danfl...@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>