From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id sCbTAOrQ5mZocAEA62LTzQ:P1 (envelope-from ) for ; Sun, 15 Sep 2024 12:19:54 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id sCbTAOrQ5mZocAEA62LTzQ (envelope-from ) for ; Sun, 15 Sep 2024 14:19:54 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ggQu5URr; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726402793; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=l0gAA6nFqV2dlJ9KAFPGSP7DqsXYKJNv4UiZRdj+/7g=; b=pC6sQXVniP0AJBpjnCmtxY0eoyhJ0EhEScYt6fwALHAVa3NbvcDuQZnv4fayZ1sl3KTXSv LBtH3ZVahjfdAT43M8q3aYwrqiZ7fgHMta6WTIl085/+PTwgVX1G4ddSNV1COEuEoklfML 6dmZ0jAMRuWZpKA3bYhltH5RZ0l2D8Bn++1EJZ9HiWzs8cfFtpZEdZd0IQg8Gjl9TNj9zM lQbzBPsTAdsKyeDZB0UZKorXND0Y8FBSq1R/uBZFmoZQoB3cNZBuewBq3201tgR2X0gxEw PYhzIwSnxpBnwQWsEm8g5hZsaIgH+jhoB0Ub3Y8O5nab0g3Li6xbfMTgi3PmLQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726402793; a=rsa-sha256; cv=none; b=Lrdmy+B/Ou5lZpvojSktOZe9l06Vh3M3twdRJOmuFk5QhD4J4u+KmPz5YfAoBpWHgvT3Hx Zit5114YCd25AHAv+GrCPeEphfO1aaqCMVLDd+YsZeeNLKE3J3veFSqjhHCVQxbTzdnG9M A6VfLfuYBIQv8Kc5Vqthq2HkYB5YFrLyqrzykxgNdQ+GfcNXTZZaQvdXrATEGJrVnaZ0r/ pKje4l0HtBnL1BFYjSrdD+XbbKIhIQel+N7ZnWo494/qT3LUyH0B1+/ExcjwDIDexnkVPl aNRepIptWwmw09Qk0J/OORhKWFtZ2FOYlEOAbHigePmzWikbxMdNeD+QiLre1A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ggQu5URr; 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"; dmarc=pass (policy=none) header.from=posteo.net 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 C66CE1C835 for ; Sun, 15 Sep 2024 14:19:53 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1spoDt-00005U-6v; Sun, 15 Sep 2024 08:19:25 -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 1spoDr-00005E-Eo for emacs-orgmode@gnu.org; Sun, 15 Sep 2024 08:19:23 -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 1spoDp-0008Rg-9c for emacs-orgmode@gnu.org; Sun, 15 Sep 2024 08:19:23 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 93EB2240027 for ; Sun, 15 Sep 2024 14:19:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1726402758; bh=l0gAA6nFqV2dlJ9KAFPGSP7DqsXYKJNv4UiZRdj+/7g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=ggQu5URrM97AkKCu7KmS++IlyUQgetuI/WZfqqUYFle1iZsUPppFgc3Xg2z52FN62 XF3QXLvpsoK1tSeA9tFlnpZavjRNtK6mMljOz8GjSqtyJ9lUjVYFx/EGWK1w6ukDR2 FkvQmKE00oXQXAtQAvAbVeu+yKMCqrik+hovRJ/M0Cm1HOrT2581zs1YTJHPWUCTo1 /w+RrLqbMACu1LsaYhHvqccjU7y3DuouatOXkV0Myn36YZLD4gDSgdIq5EURVEDntL snAiMWvCjYBKFw+hGthSidFE21I46zsX5iRAKYRKymisjMTNKeHJXX8BQKvTzdZ4tB Caihz420HAD+g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X66Y21gPfz9rxM; Sun, 15 Sep 2024 14:19:18 +0200 (CEST) From: Ihor Radchenko To: Robbie Morrison 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/)] In-Reply-To: References: Date: Sun, 15 Sep 2024 12:20:52 +0000 Message-ID: <87r09ljefv.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; 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, 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 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.73 X-Migadu-Queue-Id: C66CE1C835 X-Spam-Score: -9.73 X-TUID: bYzjstr/bBUG Robbie Morrison writes: > I received the following warning and was duly encouraged to file a bug=20 > report: > > --- > > =E2=9B=94 Warning (org-element-cache): org-element--cache: Org parser err= or in=20 > 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=20 > 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=20 > empty itself on two different occasions. I now watch the status bar to=20 > check that the file has not changed when doing tasks like narrowing to=20 > 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. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at