emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug? Error in HTML export of links with search options


From: Ihor Radchenko
Subject: Re: Bug? Error in HTML export of links with search options
Date: Wed, 21 Dec 2022 13:13:34 +0000

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>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]