From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CGXnFJxYu2E2KgEAgWs5BA (envelope-from ) for ; Thu, 16 Dec 2021 16:17:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qEizEJxYu2EdSwAAB5/wlQ (envelope-from ) for ; Thu, 16 Dec 2021 15:17:48 +0000 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 B383CA2DE for ; Thu, 16 Dec 2021 16:17:47 +0100 (CET) Received: from localhost ([::1]:36680 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxsVt-0002Bh-D5 for larch@yhetil.org; Thu, 16 Dec 2021 10:17:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxsV4-00029n-K2 for emacs-orgmode@gnu.org; Thu, 16 Dec 2021 10:16:54 -0500 Received: from [2a00:1450:4864:20::135] (port=46986 helo=mail-lf1-x135.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxsV3-0006YW-0d for emacs-orgmode@gnu.org; Thu, 16 Dec 2021 10:16:54 -0500 Received: by mail-lf1-x135.google.com with SMTP id bt1so7665818lfb.13 for ; Thu, 16 Dec 2021 07:16:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=67p6H0/KTl8bg6bdvTvC9UIQywbftesQajXDEZKwm54=; b=Sf0XmHt4OMOFkqe6ucECXSQqzWNCwpk9nN5ZcqPzXK+aCCGV8svNk387i5utofw98P QxcTvPLEWpN5tkjOvlFt025nFy8tfs0Ed/OUooDgyiCjEJGNojgp51AoRoyP0v12lsgV y7gsPLmqJTKiSKJTypPXP/0v0C88PDVhR7guvti9W4DMtWE10yBHfZn2mDrxNtmDD7hN XwHyivuxFWPW0CivgTFTSPm5UTNfwCIH28LRX9EF8zF3xrUV1iJq2OWe/WXF27wULSe+ qRo7mLUQyZsBOSM1wxr/265fBitEpxcwPuPsXC+3CW66xDLSn9oLxTUgWdo3J8DecPf9 OaBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=67p6H0/KTl8bg6bdvTvC9UIQywbftesQajXDEZKwm54=; b=Kt732k9m2CvC5pXeBaRWxEz/M1lkKUDRfXfy7X+F59cDAlK85PrioHiNTjsV2l5Oje 2oOSgoGmS/hY0S4N3JcgjTFaJpeFZIYbpgv/sw8syp3dLYtFHCR1J+AVJlucQsDDFIMz sFbwObaKkA9P3RIORqun7/+bcSq3car793YSgY6lLasrdkk9eyBNlqoRq+2HgrMFrQS+ ICi9kxutDwBzzzBnOqExYEQaGJYePxe9bVf+vzBMov7fRXyFBcO19uL2Bfjjm66WsG3O XipObNaVgUBG6V6of3rNmhaMjOVQyTsfpbq/QV8rwOxx1149ByiHexXdbPr+9ovbOjRD UgTg== X-Gm-Message-State: AOAM531eQz2O42ObO0uF/m+Goy7+TroB+yiG/vgjlZcn2vl+mrEMSqtV AVPO8Q9vWxUo7A9SSaVaheA= X-Google-Smtp-Source: ABdhPJxBp+IMgWCsgaUSoerjOSXdm8xZMCek3b04JME1zpnguVjU9DvPidQGyncMs15bAj+7t/UCyg== X-Received: by 2002:ac2:5ca4:: with SMTP id e4mr5201162lfq.263.1639667810255; Thu, 16 Dec 2021 07:16:50 -0800 (PST) Received: from localhost ([158.255.2.9]) by smtp.gmail.com with ESMTPSA id q1sm915214lfo.255.2021.12.16.07.16.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 07:16:49 -0800 (PST) From: Ihor Radchenko To: Kaushal Modi Subject: Re: [BUG] org-element--cache gives "Unregistered buffer modifications" warning [9.5 (9.5-g859984 @ /home/john/.emacs.d/straight/build/org/)] In-Reply-To: References: <87y25ztcgr.fsf@localhost> <87bl1hdvuj.fsf@localhost> Date: Thu, 16 Dec 2021 23:18:12 +0800 Message-ID: <87mtl037ez.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::135 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::135; envelope-from=yantar92@gmail.com; helo=mail-lf1-x135.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Cc: emacs-org list , John Mathena Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639667867; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=67p6H0/KTl8bg6bdvTvC9UIQywbftesQajXDEZKwm54=; b=X6FSoIZ90kyh30eY3iVK3neVydutQHU6IQVmr7lmLHVnm37rqe5sujAa1KqasuhL8qUSzS 1wjdlL2GmEtPiBLTQ9DiE22b2bI9lZcH/T2pLbuWoiWZ3+ftN9t6QbUQXPmuJVezLBe1zd LRxCR092gy9kFrZIvesjmpSHxuSmnbbqvwcxg/w5i9IciPG3KHMpGRKw3OzlKphJilvyUZ dlXO7buabmvVAbOTMxHgxKqIw/i0MhpJENveC3qqrSCerPUAnnVK7AX5+cB+M5SafkH4Vl BND6OEukosqCRwWBD+dQcsbf21iFHttNvAVz7we1ttSXknUbnkZH5Y4LNE8u2w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639667867; a=rsa-sha256; cv=none; b=fv+PhoExtLVqFDi4UYnAl3jRM57A6d4nhdemD/zp1UcdOSKZXalgs3J97vI+K6xr7ZUQ03 vEVpENUlRj2XKBJVqlb65GHRgWtq4sIoopLQHCLWmtCL3VSid9Ulz3+Xd3Ult2qobTjUI2 sHMML739Iq2Y5lt0O6IESOsSZAaVK8jRWgaHi7uG3t8VFRGjAHPAP2w6p9ITa+ZZuHYurF W2Py02mg0AAjVGXhuU+l4O9aEELw3v6Ic8vkNVwxJ24+QwvzKilwxq9VJFftbPKpjNI5sm AgQGrZRhFEyZJdf+YOJS2/9BfwI6FTOpF4E0W6Z2U1u7dzO6F9WcI5irXdZRSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Sf0XmHt4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Spam-Score: -2.39 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Sf0XmHt4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: B383CA2DE X-Spam-Score: -2.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5jROmrfVfkj9 Kaushal Modi writes: > I updated Org to > > Org mode version 9.5 (release_9.5-364-gde022e @ > /home/kmodi/usr_local/apps/7/emacs/emacs-28/share/emacs/site-lisp/org/) FYI, it is suspicious. You should be at 9.5.1. Maybe you forgot to make clean; make autoloads. > Steps to reproduce this issue (after setting those variables as suggested > above): > > 1. Install ox-hugo from MELPA and require it > 2. Download the ox-hugo-manual.org[1] > 3. Take point to anywhere inside a subtree with :EXPROT_FILE_NAME: proper= ty > (e.g. under the * Org Special Blocks subtree around line 3038) > 4. C-c C-e H A (this will export all the valid subtrees in that file using > ox-hugo) I tried on my side and I am getting "Undefined Org macro: issue; aborting" Does not look like Org's fault unless I miss something. > 5. The exports abruptly stop around half way due to this error (this error > doesn't always get thrown at the same point): > Debugger entered--Lisp error: (error "Format specifier doesn=E2=80=99t ma= tch > argument type") > format("org-element-cache diagnostics( *temp*-467986): Rea..." # at 26674 in *temp*-467986> "(headline (:raw-value \"Menus\" :begin 28167 > :end 14...") > org-element--cache-process-request(... # nil nil) I am unable to reproduce but I know why it happened (and it is indeed different from previous one). I just pushed a fix upstream. Best, Ihor