Hi all,

On 26/02/2026 16:11, Matt Nolan wrote:
Hi, after updating to Org 9.8, I get errors like the following:

Error from syntax checker org-lint:
Wrong type argument: number-or-marker-p,
#("150" 0 3 (org-lint-marker #<marker at 6606 in myorgfile.org>))

A minimal start, or just removing '(desktop-save-mode 1)' from my init.el 
mostly fixes the problem, but not completely. Haven’t had time to figure out 
how to make a more reproducible example but posting here in case others see it. 
Posted also on SO and another person reports similar 
(https://stackoverflow.com/questions/79894036/org-lint-errors-after-package-updates)




I'm seeing similar messages in my Org files. I don't have desktop-save-mode enabled, so, at least in my case, it is not related to that.

One way I can reproduce this is with a simple Org file that has a one-line header (the "Some text" isn't even needed):

#+cite_export:
Some text

This gives the following error:

Error from syntax checker org-lint: Wrong type argument: number-or-marker-p, #("1" 0 1 (org-lint-marker #<marker at 1 in test.org>))

Removing the #+cite_export line or adding an exporter to it removes the error message.


In a real (non-test) Org file, a similar error occurred at a malformed clock line (on line 3199):

CLOCK: [2022-04-21 do 19:001]--[2022-04-21 do 22:30] =>  3:30

Notice the 001. The error message was:

Error from syntax checker org-lint: Wrong type argument: number-or-marker-p, #("3199" 0 4 (org-lint-marker #<marker at 169449 in todo_work.org>))


It looks like these errors occur on each line where a manual run of org-lint also finds an error. Maybe this is related to the fact that I use Flycheck? A new version of Flycheck was released on 2026-02-19 and it enabled org-lint by default for Org files. Maybe running org-lint in the background somehow doesn't produce the same "human readable" messages as when it is run manually.


Best,

Lennart.


--
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
L.C. Karssen
's-Hertogenbosch
The Netherlands

[email protected]
GPG key ID: A88F554A
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-


Reply via email to