William Denton <will...@williamdenton.org> writes:

> Here's something simple where `org-lint` gives a warning that isn't needed:
>
> # -----
> #+begin_src R :results value :colnames yes :exports results
> 1
> #+end_src
>
> #+name: simple-table
> #+caption: A simple table
> #+RESULTS:
> | x |
> |---|
> | 1 |
> # -----
>
> Running `org-lint` gives: «Links to "simple-table" will not be valid during 
> export unless the parent source block has :exports results or both.»
>
> The parent source block does have ":exports results", so there's no problem.  
> Might there be some way for the linter to check that, so it only warns when 
> the warning is helpful? 

Fixed, on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=264b4973a

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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