From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id IOT9JUA1OWWDWgEAG6o9tA:P1 (envelope-from ) for ; Wed, 25 Oct 2023 17:33:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IOT9JUA1OWWDWgEAG6o9tA (envelope-from ) for ; Wed, 25 Oct 2023 17:33:20 +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 4F5825193C for ; Wed, 25 Oct 2023 17:33:20 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=MhX3Cmpn; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698248000; 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=Sm3SrusYNLGWH4JDwAxaBL1Ur+Z2r+8SJKdirZlVA9E=; b=gBuwCPSaoFlsdd7i1lPQ9rfW9kV+73mu9gfDYpbnYuc5b1/ZhD35getKBYxsZLuKp3VEU5 TzIAGjuUIMKgRlT9iU2sz1if57VOuR6DUmmLL6HjfFMAxRe1FdoLltyL6dPhOuX5MPPiBS pdY3ff3t1xPSMxAS7BiSK9skffWn9IjurrSDjnFRbEyZg7Q5TbTsOI0B6nJLqsYVFAfsps MVVfXLNzoOkdMGk4lOw9HOu8EJhBcM3q9YNeFOSQk32SW/M1JUWilM5Khp4DI1wCm6FCG+ nLuL+gMMRWZ1ZfXXC2pBs3dD8bKBXjqELYp7fg5zYfCzS2yAuSFzeJR8ngWpVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=MhX3Cmpn; 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=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698248000; a=rsa-sha256; cv=none; b=OILHCu3Qzy0APkwipPEiHqLlwCJIOE/AndBbBOCykqnSQestwJfqCnhz9hYuwQjSegBANa yv6ayp2ouVgen9874dcMhnzfpV+82qYIHuSKMHpi9nc4M2o0PRlT6+pRgs37cZoEXx/oRZ y08zHFOZGnOWwNR+W2FtrABPw75R0O3LEaGfC4TZNR+kV9q+zekFxx0xaPuFR9UE0J+VNv Hm82TzsZLfi7azB1AXnnp5L85VUqbZ3vY0QR0b7ZqdqnA7R4MVkfJZPh7kV/r9k74XyCIA xO7GUX9QndKgPJ/6INxtziaJCDoPSckQeSS7AyN6l9ZRGlg07mvlVrPzp6/21A== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvfrp-0005rD-PH; Wed, 25 Oct 2023 11:32:21 -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 1qvfrm-0005qi-MZ for emacs-orgmode@gnu.org; Wed, 25 Oct 2023 11:32:18 -0400 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qvfrk-00070c-QA for emacs-orgmode@gnu.org; Wed, 25 Oct 2023 11:32:18 -0400 Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-53d8320f0easo9170548a12.3 for ; Wed, 25 Oct 2023 08:32:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698247933; x=1698852733; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Sm3SrusYNLGWH4JDwAxaBL1Ur+Z2r+8SJKdirZlVA9E=; b=MhX3CmpnajuAlDzqZS9EropeZ66jX+Wqq3VE/ixuYX4V+X9w/uhZyEu9hQbhZVkrfa S+9nPhuTQA2ytdJpMtLPjYbdA8LtRW2VVMG0ICbWYL7eCM7T4F7owUaFdkMHIPKtQYWg jqOChHD6+YMO1hte20MFFKhTa/JvvwwKK0goueajHlj6xbB4Ts/5UV9+tXwLUOtVGu5w w1pEM5UujQiV3yrk0rmBVmGwYn58NGC7icOo7o+YDcjqRrudUzjGXDh6sujFnkxFC/hN 2s7fMS9wtKtZoET9S1RD0JlHLMe2uV6/GXAcLgHqzQrk4xcJJ02lDBremvv+QIPENAIl OdGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698247933; x=1698852733; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Sm3SrusYNLGWH4JDwAxaBL1Ur+Z2r+8SJKdirZlVA9E=; b=eZfqJ/U7i57X1X0YOPd3DuG1eRGkIgRyto72OtjTzxY5riSVntv789xF68Q4DtVfhw HQD/63MSsmKRwXSF6eJKDP28Ft5V5NQReXFoYuSvY9UJQ9/lomjSgEKtVibcyBRxhWg/ ezmR7vlTphqbJ83KzTtdDtt2mkwa4Pbqx9S838Jk2+9RUDCghC2iEqPXZVG0P33t8XDm gTk9iHpEZFFUa0E28TWxes2+sZnAO7Q/jOUyuGxGL8c9+PQmI5vS/LOxJdf+/lNkH8ch NjKoQBqmJOAlWn3lEx1P9lL9+RXA5sBEGf2k8USYz7Vy5wP5Y2bZ8hOoCjR5bXKrpUOW 5OXg== X-Gm-Message-State: AOJu0YwCZQQX+IdSLo87UMa0id3A8/CiNFMK+7PL5gJR32b+dN9eDDC4 T32ifaO5IevbK/ydiL4JA3Bzu9qePlar+0CcWoEXUUf23Fc= X-Google-Smtp-Source: AGHT+IEVLPLn0sMwNF7OBuZyu4aBdpodPe6f845dlV5s0zL02vCoCP2Za1McYF2GyTLZiOo3ykTqMn1fZTWJLtABj1Q= X-Received: by 2002:a05:6402:2547:b0:53e:df56:9a63 with SMTP id l7-20020a056402254700b0053edf569a63mr12615475edb.15.1698247932717; Wed, 25 Oct 2023 08:32:12 -0700 (PDT) MIME-Version: 1.0 References: <41acf96e-8f62-4ed5-9853-b4ff4e0e2fa9@gmail.com> <87pm1474cr.fsf@localhost> <87a5s7jfbf.fsf@localhost> In-Reply-To: <87a5s7jfbf.fsf@localhost> From: Kaushal Modi Date: Wed, 25 Oct 2023 11:31:35 -0400 Message-ID: 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/)] To: Ihor Radchenko Cc: George Kettleborough , emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000c53ddc06088c282e" Received-SPF: pass client-ip=2a00:1450:4864:20::52a; envelope-from=kaushal.modi@gmail.com; helo=mail-ed1-x52a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: mx2.migadu.com X-Migadu-Spam-Score: -9.27 X-Spam-Score: -9.27 X-Migadu-Queue-Id: 4F5825193C X-TUID: VVVlJbKfRuRL --000000000000c53ddc06088c282e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Oct 25, 2023 at 5:10=E2=80=AFAM Ihor Radchenko wrote: > [ 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=3Da9e2a97= ee > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3D9c255ca= cf > > Thank you for that quick fix Ihor!! And thank you George for bringing this issue to this ML. >From the commit log: > This fixes ox-hugo bug when Org buffer copy cache is corrupted. Ihor, is there a bug that needs to be addressed on the ox-hugo side as well= ? --000000000000c53ddc06088c282e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Oct 25, 2023 at 5:10=E2=80=AFAM Ihor Radchenko <= ;yantar92@posteo.net> wrote:<= div class=3D"gmail_quote">
[ Adding Org ML back to CC ]

George Kettleborough <kettleg@gmail.com> 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: <redacted>
>
> 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=3Da9e2a97ee
https://git.savannah.gnu= .org/cgit/emacs/org-mode.git/commit/?id=3D9c255cacf


Thank you for that quick fix Ihor!!

And thank you George for bringing this issue to this= ML.

From the commit log:

>=20 This fixes ox-hugo bug when Org buffer copy cache is corrupted.
<= div>
Ihor, is there a bug that needs to be addressed on the ox-hug= o side as well?
--000000000000c53ddc06088c282e--