From: Ihor Radchenko <yantar92@posteo.net>
To: Torben Knudsen <tk@es.aau.dk>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: [BUG] Warning (org-element): org-element--cache: Org parser error in Tmp.org::47694. Resetting. [9.7.18 (9.7.18-1463ab @ /home/tk/.emacs.d/elpa/org-9.7.18/)]
Date: Mon, 20 Jan 2025 18:42:27 +0000 [thread overview]
Message-ID: <871pwxs4x8.fsf@localhost> (raw)
In-Reply-To: <AS8PR09MB631574A8326A0EF0ADFE147989E72@AS8PR09MB6315.eurprd09.prod.outlook.com>
Torben Knudsen <tk@es.aau.dk> writes:
> Once I newer received any errors but since the last year or so I have received some but not a lot and I newer seen any effect of them. Maybe it is since I had ubuntu 24.04.
These warnings were introduced in Org 9.6, when we switched on parser
cache by default. That code is fragile, so it has self-recovery
mechanism when something goes wrong. The warnings you are seeing
indicate that something went wrong, and the cache was dropped (for
safety).
These errors are usually harmless (in practice), although, in theory,
they may sometimes lead to text in buffer edited wrongly (for example,
SCHEDULE: marker put in wrong position).
Users who see these warnings often may have specific workflows that
expose bugs in our code, and we usually ask such users to enable cache
logging mechanisms. Not you though - if you do not see the warnings
often, we cannot record a useful (and not insanely long) log.
Your bug report is an indication that problems still do exist in this
area (alas). So, thanks for reporting!
Closing this bug for now as debugging is not possible.
Canceled.
--
Ihor Radchenko // yantar92,
Org mode maintainer,
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>
prev parent reply other threads:[~2025-01-20 18:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-18 5:22 [BUG] Warning (org-element): org-element--cache: Org parser error in Tmp.org::47694. Resetting. [9.7.18 (9.7.18-1463ab @ /home/tk/.emacs.d/elpa/org-9.7.18/)] Torben Knudsen
2025-01-18 7:27 ` Ihor Radchenko
2025-01-20 5:38 ` Torben Knudsen
2025-01-20 18:42 ` Ihor Radchenko [this message]
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=871pwxs4x8.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=tk@es.aau.dk \
/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).