From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id mFuFHU03OWUe3QAAauVa8A:P1 (envelope-from ) for ; Wed, 25 Oct 2023 17:42:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mFuFHU03OWUe3QAAauVa8A (envelope-from ) for ; Wed, 25 Oct 2023 17:42:05 +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 D6DD638A2F for ; Wed, 25 Oct 2023 17:42:04 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=WTJItKiZ; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698248525; 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=UtZGg9oJMZBJhnk0DCKfnczuezHAJJ0hWH1EyP38raI=; b=Zq7AnQFQa2fEFQJaOxoPdeAmknPfIcHdQuDk1WcPpuxFeG1YS3tf9A9cJF2w4svoEZ1kcW 8h1rankc5BON8rAHgNaG+xV8o1iu85cTBXGSHzVbR+fv5C+R1fF90FpdSPoYPy6aydJqL9 XPsSYPL1ZeBIf4FwGn/jO0mGAUcMgY+eiJM1M8KDkq4OJdrdrZp7PYxNd+vNof7XQQDfVN Rxs+pPz1lk/dqhUSqaxRyFnOjmIe59yzw5hJaJghcSWkGodMm7fdp03KtF5ELqc9PTCGRs dskW2i5I8bABHzG+O2t8HL93R1AH10DHP9uHPM1oFgESnPixp9RzRlUwXnElcA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698248525; a=rsa-sha256; cv=none; b=uKKvPJRSUDWVbA6M347ZcFQFmSHX3D/5UDElXYEvtGpsDg0rxP5nOaJmNYJ3XY499FdaU6 aww4I/Vv32ETYx55GNxxXSSrjkdO11woUasf9Eq0TPYk0vriBVgS73jjMEjY/0AOb4wYer 8nFjmFPuNOYR0QOuK3MOwP8JA62BWGTnCrhMBjtcBv9D07zh5vQbfoKjIByMoj/76AcTUO 5krZ23tSFECviMsRyJ3ZCEfd4ggpWtJKaV57nuF3D4XEVYE+UlaeP/vONGF4JAKUelpd52 GLd8yAOV+Zwn/upSlmXTX2wa8gg/t70gyNOalw8OWufd+SXz0AH1ySWY+Ck/9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=WTJItKiZ; dmarc=pass (policy=none) header.from=posteo.net; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvg0A-00026v-UE; Wed, 25 Oct 2023 11:40:58 -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 1qvg08-00026j-Gi for emacs-orgmode@gnu.org; Wed, 25 Oct 2023 11:40:56 -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 1qvg06-0000NK-DA for emacs-orgmode@gnu.org; Wed, 25 Oct 2023 11:40:56 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 09E60240027 for ; Wed, 25 Oct 2023 17:40:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1698248452; bh=FiU0baLtOL4TeNCXZ7UUdDIKSD4f7daDtB07q7MdDFc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=WTJItKiZ3Y/NSopx/jPb5qCXdC/lwJaj3Ixg4fMm6iPkXD2xL1Lz/+2PYdT7K3ixC M5fOt+J3Ob4YGepMJTHv4rH7gCHB2pMTdVC/fQtGMQ3lbb4fcC0f8FZFUajIp+bQXG cDkGrHIqhdwLf67wed3IOBqfig2exDGXn8oz7+k7PZxdL4IkCcJkBfqzM2wzl8ZY/N V9gtOEdZptHZ+hTxhSafutGp8l9TX4+JwbtulqCsxe7wVCUA6yJ22gxjOiU9ehhCKz udyKSryyZew+dudkdMfbTzppEeGoSKsoHbb+48Uyqv0Dojds+jjd9S/hIb9FMwzHIv JceRd6nyLX9TA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SFtS31TpKz6tsj; Wed, 25 Oct 2023 17:40:51 +0200 (CEST) From: Ihor Radchenko To: Kaushal Modi Cc: George Kettleborough , 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> <87a5s7jfbf.fsf@localhost> Date: Wed, 25 Oct 2023 15:42:28 +0000 Message-ID: <87r0lid7yz.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-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -6.97 X-Migadu-Queue-Id: D6DD638A2F X-Spam-Score: -6.97 X-TUID: wgH1lF5TDJzo Kaushal Modi writes: > 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? Not really. The bug what that `org-export-ignored-local-variables' did not list some important variables to not copy. If you want though, you may consider using the new `org-export-with-buffer-copy' macro in `org-hugo--get-pre-processed-buffer'. AFAIU, it should avoid the need to copy-paste code from Org and is already available on stable Org release. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at