emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Robbie Morrison <robbie.morrison@posteo.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] org-mode failed to open top-level header properly when using the TAB key [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.3/lisp/org/)]
Date: Sun, 15 Sep 2024 12:20:52 +0000	[thread overview]
Message-ID: <87r09ljefv.fsf@localhost> (raw)
In-Reply-To: <b4041356-4718-40c6-afea-d59847a63da9@posteo.de>

Robbie Morrison <robbie.morrison@posteo.de> writes:

> I received the following warning and was duly encouraged to file a bug 
> report:
>
> ---
>
> ⛔ Warning (org-element-cache): org-element--cache: Org parser error in 
> post-nz.org::7833. Resetting.
> The error was: (wrong-type-argument integer-or-marker-p nil)
> Backtrace:
> nil
> Please report this to Org mode mailing list (M-x org-submit-bug-report).
>
> ---
>
> One of my top-level headers (with just one leading asterisk) failed to 
> open. Switching to text mode showed that there was information to reveal.
>
> I also noticed earlier that one of my top-level headers had managed to 
> empty itself on two different occasions. I now watch the status bar to 
> check that the file has not changed when doing tasks like narrowing to 
> an org-mode subtree.

Thanks for reporting!

I note that you are using Org 9.6.15, while the latest Org version is
Org 9.7.11. You may try to upgrade. It may fix the problems you are
seeing.

If not, please let us know.

If you cannot upgrade, such warnings might be due to recently enabled
parser cache - some bugs have been fixed in that area after Org
9.6.15. You can disable the cache by setting `org-element-use-cache' to
nil.

Hope it helps.

-- 
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:[~2024-09-15 12:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-13 20:01 [BUG] org-mode failed to open top-level header properly when using the TAB key [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.3/lisp/org/)] Robbie Morrison
2024-09-15 12:20 ` Ihor Radchenko [this message]
2024-09-15 12:35   ` Robbie Morrison
2024-09-16 19:15     ` Ihor Radchenko

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=87r09ljefv.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=robbie.morrison@posteo.de \
    /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).