From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id kA40GfqON2XDRAEAauVa8A:P1 (envelope-from ) for ; Tue, 24 Oct 2023 11:31:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kA40GfqON2XDRAEAauVa8A (envelope-from ) for ; Tue, 24 Oct 2023 11:31:38 +0200 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 200306BD42 for ; Tue, 24 Oct 2023 11:31:38 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=P0vD6LOD; 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=1698139898; 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=wr81n0D+Vs68q9cLIEp9VBZ4IF6hhMrjG13zIGSPy1Q=; b=Onjje9BQN9Cama6mupjVyPBKR4kH02iC7UsdIgG7PCDshIwX3fskpJqXFl4zc+2gaExHqV rrPj61hY4S2jZ+qZpFfuoIWlAsTmsrfLoRFEHjNX1jtwgMV7w5pJ/ZR0AQtsj/n0F0uUNc PscTRCotq94d6BOND+xA/8crpMji8epLHx+vfdjfEtMqcsNIaOiqT9Z6/lEDCUI3CFl6ry JoSvD2dFLpcCyAg0gOBX3el0AU8FqFdlWrnQ4j+eGEUnmjiG+rn8QucmEMI0aZDPtjx0DY OdqTpVd+E1fmFgW/5ug0nrpw6VFWjl212SYEMzqS+QLfNrGRDBEYreBuo16H8A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698139898; a=rsa-sha256; cv=none; b=YF9DwYEZpi8KUwv4LvGghDb1vbEzxlEVLSDqA7kfNaCbUeQxY5upyOVVE/850HIXffR3eT iUUec/hr7UaPCh0NfbtxNX5Ug1ONaMK6T6fvs8TE81Y+KGe9CU/VDfium5wj2z6nBT9Z8w aq99ZRi/qPlEXdFFowUYTZ84xvtViZeMOh8THXXZ/jQAzlnBMWX7PJYrcVW7r1xUGXF+Zl OMIK7fQgpe5U75J3qiSomOBReaVZm6Rv6J9wQsNeyATQ8MUj7pm7rIFJK/jSYPmHTz71po wkohaoSj6VezRxr3piaDxATWRFWSfhdxAAz6AszuXLgwJyH7Y2YrneAdUL/xEA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=P0vD6LOD; 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 localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvDkc-0007ML-Mf; Tue, 24 Oct 2023 05:31:02 -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 1qvDka-0007LZ-Vp for emacs-orgmode@gnu.org; Tue, 24 Oct 2023 05:31:01 -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 1qvDkV-0006rQ-Ua for emacs-orgmode@gnu.org; Tue, 24 Oct 2023 05:30:57 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 11577240028 for ; Tue, 24 Oct 2023 11:30:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1698139853; bh=i+TiTBmdxee70+crLle9E2oVKVAAoWxYqLLlVCXZtzM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=P0vD6LOD/sxdv4HD1uwDNTjuvD7jFBjZWtiPJHdcP9zmbNIKY0rmo8civmxQK3tsM wuIjUZ4c2w2wbfDIUvE+WQiiyC2UlXPW93PhmQR1aY4KHykDw8LzNPZ6OWkvE4YhCj XmLAA8gCP8Tm2COL2nbEvfPDzzB4eyYB1e5qw8lQNtPvS/9+J/zP862EqRoGFrsKYG a/fh9MijCjvgt9LIQYaa1XWJ45lK9SiEyyOjkK/44xgz8586QOqXDyLIA2lG5hCyau sj+IsNBpd8WALF8Uvz6J9/Z1ZxMKDxb54glx6xF5+xCkZIQQuGdqAGY11TMrLcv0/C OWV8CbFlJbPPw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SF6Hc31fWz9rxB; Tue, 24 Oct 2023 11:30:52 +0200 (CEST) From: Ihor Radchenko To: George Kettleborough Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-element--cache Cached element is incorrect (ox-hugo) [9.6.10 (release_9.6.10 @ /home/gk/.emacs.d/lib/org/lisp/)] In-Reply-To: <41acf96e-8f62-4ed5-9853-b4ff4e0e2fa9@gmail.com> References: <41acf96e-8f62-4ed5-9853-b4ff4e0e2fa9@gmail.com> Date: Tue, 24 Oct 2023 09:32:36 +0000 Message-ID: <87pm1474cr.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain 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_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-Spam-Score: -7.79 X-Migadu-Queue-Id: 200306BD42 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -7.79 X-TUID: +Em1jh2OieWl George Kettleborough writes: > I've been having a problem where some of my exports get truncated > randomly at the end. I haven't been able to figure out the exact > problem, but by bisecting org-mode I found the problem appears in > 072ddbc9 which sets `org-element--cache-self-verify' to t. By setting > this back to nil manually the truncation goes away, but the warning then > appears. > > Interestingly I can only reproduce this when running emacs in batch > mode, not in regular mode. > > I know ox-hugo and caching has come up before, but I don't think this > was the same problem as before. Thanks for reporting! Do you happen to have a reproducer? See https://orgmode.org/manual/Feedback.html#Feedback -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at