emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Gregor Zattler <telegraph@gmx.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Warning (org-element-cache): org-element--cache: Warning(notmuch-startpage.org): Org parser error in notmuch-startpage.org::8690. Resetting.
Date: Sun, 19 Nov 2023 19:21:10 +0000	[thread overview]
Message-ID: <87ttphv9ax.fsf@localhost> (raw)
In-Reply-To: <87zfz9vaqn.fsf@no.lan>

Gregor Zattler <telegraph@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>


  reply	other threads:[~2023-11-19 19:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-19 18:50 Warning (org-element-cache): org-element--cache: Warning(notmuch-startpage.org): Org parser error in notmuch-startpage.org::8690. Resetting Gregor Zattler
2023-11-19 19:21 ` Ihor Radchenko [this message]
2023-11-19 22:44   ` Gregor Zattler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ttphv9ax.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=telegraph@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).