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? 

I have no idea how difficult this might be, or if it's possible at all, but I 
thought I'd mention it because I have been running the linter on a large Org 
file that generates about forty of these warnings, but in each case :exports is 
properly set.  

Thanks,

Bill

--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada

Reply via email to