Gregor Zattler <telegr...@gmx.net> writes: > Hallo Org Mode developers, Ihor, I just caught this, > after Upgrading packages which might have temporarily > mixed up Org Mode from the elpa-package (a dependency) > and Org Mode from the git repo, which I'm actually > using. > ... > Warning (org-element-cache): org-element--cache: > Warning(notmuch-startpage.org): Org parser error in > notmuch-startpage.org::8690. Resetting. > The error was: (wrong-number-of-arguments ((t) (element) "Return type of > ELEMENT. > > The function returns the type of the element or object provided. > It can also return the following special value: > `plain-text' for a string > `org-data' for a complete document > nil in any other case." (cond ((not (consp element)) (and > (stringp element) 'plain-text)) ((symbolp (car element)) (car element)))) 2)
This does look like mixed installation. `org-element-type' got extra optional argument in Org 9.7, but you are getting "wrong number of arguments" error that indicates an older version of this function. -- 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>