From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 +HIQJZbMOGXlQwAAG6o9tA:P1 (envelope-from ) for ; Wed, 25 Oct 2023 10:06:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +HIQJZbMOGXlQwAAG6o9tA (envelope-from ) for ; Wed, 25 Oct 2023 10:06:46 +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 C78E74162F for ; Wed, 25 Oct 2023 10:06:45 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=hOkjeS5c; 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=1698221206; 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=XAq5n2ciQLYXPEwq3/EZUYH7gfX2Dr9P6Pv6z+VlXAk=; b=nwLWDH2sX1OqJhQayQUwuq6iZ1J/USSvKDJJ4RqaE4dCTqRy2u/kf5PxE+ZIHaZ6Z3nce0 eRHc4rpI9bflj1mVI6NL4Hdu2p1Pquat7Mma37wEDc+P9qXHEpz8DkxR0UthFBvRLdXimm TDDlZxCSw8xyfA2+1BQR+69fndzrbIaXoPZAVaeWr2uXK1Qfa+CwNp+T++JY8ES/QI2teL hkw/E8ynNzALe/T+gVmq7wnNApp5s2Sfl8qT1KdVWP3Pf2Ft56f/GAL8Nf7WCQq45HHCA/ nXaecHIcM1YriAv5IYjqUH3GWUkJzANhdvvKHFjzPeYh9tscUNY/9KwcY5xLKw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698221206; a=rsa-sha256; cv=none; b=V3yIKNuksvM6bBSjyCvFTh+WSWTuZ4SK9H/KmrUBjjAL/G2AkY4gG0laQKb0mxkYqCyvRj 0mfLeMU9rT5eukR5fUGI26iHPMP4NJdxrI+NkiN5nKH6N/S3mxh5t+drFGxAbsIwzOjZo0 X42OB9or0gBioOQTxrc3mNy7a440g5Npzaub1Lxzu3etQg3c0pzThL7BKXM8xg2XEWg+Uf cbcclKjspAkb31wY+LTs0DnhWWG0OX39NjgS/58tQRhbtHyA076NA8azkVP3L8UFs/USOg duxLrkX3KIJ+2gClFmJ9mM77u9Gh7GdyWWq0bJRgwmQCqVZzqRHmAnxkdf9pdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=hOkjeS5c; 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 1qvYtf-0006WC-7s; Wed, 25 Oct 2023 04:05:47 -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 1qvYtd-0006Vv-CJ for emacs-orgmode@gnu.org; Wed, 25 Oct 2023 04:05:45 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qvYtZ-0003Eb-8H for emacs-orgmode@gnu.org; Wed, 25 Oct 2023 04:05:45 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 87CDE240104 for ; Wed, 25 Oct 2023 10:05:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1698221137; bh=PB5uFfZO6fy+RPJJcuecSEhFAKaUWLlgisKFebY+tng=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=hOkjeS5cmYg5KIpSCUaHRU/a5FiWj9ghgruJ/rixAOhm4VoB9L0pzhu3jCs7nrv4P HiU75n06V9SUuIlTItyGngSCCA6crmkM1++FdNjF4+8L+Gs3kftFJznVagIJgFDzPV rflkYvmf3Hcp5Ltsqn39igT9hhKyBf58D+dJ7fc2FTZTWC5/RovZnVk7xaG+z/hcNm o1yGsbL1H1XNoF/x422JXxXa7xRUIiy7K9VyNBygMUGocuRXdJvtdQnmB3GOGmykH6 G1R/gmV4CuLaASb8/JoH6H+Zhr2b+u5FTeaGtHNKFkKdHIIK9OWNdBrpmAADxYDrF0 hCimZqGOMKMhA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SFhLn0qDYz6tyN; Wed, 25 Oct 2023 10:05:37 +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: References: <41acf96e-8f62-4ed5-9853-b4ff4e0e2fa9@gmail.com> <87pm1474cr.fsf@localhost> Date: Wed, 25 Oct 2023 08:07:16 +0000 Message-ID: <87a5s7jfbf.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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: -8.52 X-Migadu-Queue-Id: C78E74162F X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -8.52 X-TUID: jylXj7IECeyw [ Adding Org ML back to CC ] George Kettleborough writes: > I really struggled to come up with a minimal example for this as the > behaviour seemed truly bizarre! > > The best I have is my blog: > > To build it (ie. export org files as md files), I run `cd content-org && > emacs --batch -Q --load ../publish.el --funcall gpk-publish-all` I was able to reproduce. Fixed, on bugfix, and, as a separate commit, on main (main diverges from bugfix in this part of the code). https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a9e2a97ee https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=9c255cacf -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at