Ihor Radchenko writes:
With org 9.8, I'm getting such an error (when saving) from a buffer
with only this line :
#+call: do_something() # comment
I am unable to reproduce.
Could you please show a recipe starting from emacs -Q?
Sorry, I should have mentioned you need to enable flycheck-mode.
From emacs -Q :
- package-initialize
- load-library flycheck
- flycheck-mode
Calling `(org-lint)` from such a buffer gives something like
#+BEGIN_SRC emacs-lisp
((1
[#("2" 0 1 (org-lint-marker #<marker at 2 in test.org>)) "nil"
"Missing colon in header argument \"#\""
#s(org-lint-checker wrong-header-argument
"Report wrong babel headers"
org-lint-wrong-header-argument nil (babel))]))
#+END_SRC
and in flycheck.el, `(flycheck-define-generic-checker 'org-lint …)`
expects a number argument.
This is likely an issue with flycheck rather than org, since I now
realize their org-lint support is new :
https://github.com/flycheck/flycheck/pull/2142
I think you can close this,
--
Sébastien Miquel