emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: George Kettleborough <kettleg@gmail.com>, 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/)]
Date: Wed, 25 Oct 2023 11:31:35 -0400	[thread overview]
Message-ID: <CAFyQvY1kHR=w4vHiuJcce31JUHALpDaa_xKcuMKebtJF0ZURGw@mail.gmail.com> (raw)
In-Reply-To: <87a5s7jfbf.fsf@localhost>

[-- Attachment #1: Type: text/plain, Size: 1061 bytes --]

On Wed, Oct 25, 2023 at 5:10 AM Ihor Radchenko <yantar92@posteo.net> wrote:

> [ 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=a9e2a97ee
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=9c255cacf
>
>
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?

[-- Attachment #2: Type: text/html, Size: 1783 bytes --]

  reply	other threads:[~2023-10-25 15:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-23 19:44 [BUG] org-element--cache Cached element is incorrect (ox-hugo) [9.6.10 (release_9.6.10 @ /home/gk/.emacs.d/lib/org/lisp/)] George Kettleborough
2023-10-24  9:32 ` Ihor Radchenko
     [not found]   ` <CAEZXJ2ijXSu1B8Cjg1Y6F74ypB8VDB-Sm_-TUSfwsY1hY1bzHg@mail.gmail.com>
2023-10-25  8:07     ` Ihor Radchenko
2023-10-25 15:31       ` Kaushal Modi [this message]
2023-10-25 15:42         ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFyQvY1kHR=w4vHiuJcce31JUHALpDaa_xKcuMKebtJF0ZURGw@mail.gmail.com' \
    --to=kaushal.modi@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kettleg@gmail.com \
    --cc=yantar92@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).