From: Robbie Morrison <robbie.morrison@posteo.de>
To: Ihor Radchenko <yantar92@posteo.net>
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:35:20 +0000 [thread overview]
Message-ID: <87f8afe2-032d-432b-bda2-724fc01c8d0c@posteo.de> (raw)
In-Reply-To: <87r09ljefv.fsf@localhost>
[-- Attachment #1: Type: text/plain, Size: 1676 bytes --]
Hello Ihor
Many thanks for your follow up.
I have set `org-element-use-cache' to nil as you suggest. Seems fine.
My org-mode is just via the package management system on Ubuntu, so
somewhat behind I guess.
Am a big fan of org-mode. Tx!
Robbie
On 15/09/2024 14.20, Ihor Radchenko wrote:
> 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.
>
--
Robbie Morrison
Address: Schillerstrasse 85, 10627 Berlin, Germany
Phone: +49.30.612-87617
[-- Attachment #2: Type: text/html, Size: 2602 bytes --]
next prev parent reply other threads:[~2024-09-15 12:36 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
2024-09-15 12:35 ` Robbie Morrison [this message]
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=87f8afe2-032d-432b-bda2-724fc01c8d0c@posteo.de \
--to=robbie.morrison@posteo.de \
--cc=emacs-orgmode@gnu.org \
--cc=yantar92@posteo.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).