From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id iHzdNr/U5mYkfQEAqHPOHw:P1 (envelope-from ) for ; Sun, 15 Sep 2024 12:36:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id iHzdNr/U5mYkfQEAqHPOHw (envelope-from ) for ; Sun, 15 Sep 2024 14:36:16 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=sLh12Qb4; dmarc=pass (policy=none) header.from=posteo.de; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726403775; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=KEnyv9nXzWsyFava+uITNDUG6hJyImxMf+8BBjKkV3k=; b=qyx/WCY42Q8At/uAEpDUIom6ZG8+VczOiypdo9JCIpEmwghNLM3JdF/GtZchRL+I6JOIJ3 TVU2tz38aP711OSJuLnWpsgFxPvovZDirfFdwkkLGCY2pFybGOT7P7lvct4oxiJiNw+zFT HqZWP83X6LuxBRXNPzrotf8CriVv9JIzRzWD8CkhBT65ukg/Sh8FTWgKcHI19kqfGckzlq k5jIprcLSvnMF4FoqXTR5E3D7/ea5oLzU1prYBUyZICi4tqYQS2aDwfgl25r/DxGSSlnTz yKH+vY/h25sUsB9PvGOngOaJU6Rf0sKygygDz4jvuuk5QxtFpL8YXCTlwl80hQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726403775; a=rsa-sha256; cv=none; b=Z2C/QQGKjG6dm+7swFNK94WXo6yfI4uTZe2VDa9nc2Hjp6mGUOvGbQCX11VYboHljSVayZ Ga1+2IGrFIDiliGdCinPJyspaBF9rNpLU8I8jRxcK/Gz9WqP7v3WRmM/uaIHFgIOGwVKEu mTfKkJ+ehn8p3ysVlNezW+XttqAhy2Injl2iw5aMC/XHvf1EBe/PsoTC6DVUH7XFsMW3SV Gfv2ojTv2SgryfAYGjr2lm+Ya02gfzGIR3IwkM+sZ8E26KzO4UTXMtG9howuF4/P2NDjJf qZE33bvS0trPiUxXpb5ePP0zKJ9WQp6ARfzGgv2pOwjY5gMqMmnkW9W+bi4M7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=sLh12Qb4; dmarc=pass (policy=none) header.from=posteo.de; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B71CD76EE0 for ; Sun, 15 Sep 2024 14:36:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1spoTQ-0001rW-Uu; Sun, 15 Sep 2024 08:35:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1spoTP-0001rN-DA for emacs-orgmode@gnu.org; Sun, 15 Sep 2024 08:35:27 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1spoTN-0001U9-Du for emacs-orgmode@gnu.org; Sun, 15 Sep 2024 08:35:27 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 9A7D4240027 for ; Sun, 15 Sep 2024 14:35:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1726403721; bh=w45ks5mHEdtR2l8oqkbWbTMxfWYr5q9jWXwI32wer8s=; h=Content-Type:Message-ID:Date:MIME-Version:Subject:To:Cc:From: From; b=sLh12Qb4WpPawQccTMu9bNh8nctpcBvx8RQXNNIhD+oSPZ0bbfNBP0cymd3fokRsP Jq/mAQ/cBaWoGGsvyP62ExCwTHa8NkxbDzEMcS8myTxyTMUTSmVgwSF/q+9AImqI/0 MjMcVbeps3H4YtZ9P3/gU5fphiL+1+R9/Yr5GXUavbtb+AM8PGuxdXiA1ghuVxj4dy Tsy5U7MlrUfk1t329NoDRV2odej9BSzvExrjOeDmVsB86HFYpSSS+qQqxLfvd0xHiU 4ll5PeUVatPOlH4DvCm4t8uiieHenfKpyOp92WSGFzm46lKQpfRMzTJiTf7Hfr+ViZ mp3/hoyYlV/iw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X66vY0hZ3z6tmv; Sun, 15 Sep 2024 14:35:21 +0200 (CEST) Content-Type: multipart/alternative; boundary="------------tGLEa05jy642hURI8AeTwhIF" Message-ID: <87f8afe2-032d-432b-bda2-724fc01c8d0c@posteo.de> Date: Sun, 15 Sep 2024 12:35:20 +0000 MIME-Version: 1.0 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/)] To: Ihor Radchenko Cc: emacs-orgmode@gnu.org References: <87r09ljefv.fsf@localhost> Content-Language: en-US From: Robbie Morrison In-Reply-To: <87r09ljefv.fsf@localhost> Received-SPF: pass client-ip=185.67.36.65; envelope-from=robbie.morrison@posteo.de; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, WEIRD_PORT=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.81 X-Spam-Score: -6.81 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Queue-Id: B71CD76EE0 X-TUID: DRMfgdO9+A8R This is a multi-part message in MIME format. --------------tGLEa05jy642hURI8AeTwhIF Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 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 --------------tGLEa05jy642hURI8AeTwhIF Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

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
--------------tGLEa05jy642hURI8AeTwhIF--