From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CEe1Mgl3fWFcXAEAgWs5BA (envelope-from ) for ; Sat, 30 Oct 2021 18:47:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id qGx2Lgl3fWHeOgAA1q6Kng (envelope-from ) for ; Sat, 30 Oct 2021 16:47:05 +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 283A73807 for ; Sat, 30 Oct 2021 18:47:05 +0200 (CEST) Received: from localhost ([::1]:54126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgrVX-0005jv-Fd for larch@yhetil.org; Sat, 30 Oct 2021 12:47:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgrU4-0005i6-3r for emacs-orgmode@gnu.org; Sat, 30 Oct 2021 12:45:32 -0400 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]:50762) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgrU2-0000z9-91 for emacs-orgmode@gnu.org; Sat, 30 Oct 2021 12:45:31 -0400 Received: by mail-pj1-x1030.google.com with SMTP id gn3so9388418pjb.0 for ; Sat, 30 Oct 2021 09:45:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=+7yPjReymEbxe9yj9Iqemr3nhz4uBaEMIrxoMIpj1zA=; b=eF//jFebkW1OQYpmBrUiDygYu2pT2qGEyj2DLdKpiABOSfhBa9RVjKsaP30MQ4i3AO KhtjcihEzXmYFUVuj9uoyHzFJK33jguZUa/qiNkqXce7CuxV7gYTS6tsT6ReRyQkDJxd g0lqZa2nS8ZoTnTi69TXV4/Sdi/IbxczXIhY4rwaPi63krmFWHLeR6SxTLEAsGBksuNb 64M4r1Aag4abt6s1CqJBH1Z7TEYH1e7l1I+NrIG1nNP5MahSZM3M9luPslg8isyiNDLT k0B2tBwf5gkGo9xBis/CaZBV3yOkKu5lyAzh73tjtG+WnOQead3LpxSiF6/+kEDyAL9u PXwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=+7yPjReymEbxe9yj9Iqemr3nhz4uBaEMIrxoMIpj1zA=; b=u3yDRGipBnbw5SSBHwxSNh/s4O0AoVRP/zNdlE0V2QN6g+CO7J02Ylobrl6HR7YoQ6 WKdK4O45WnXCIV29CfLW3Bzxq9Uv4W0YtiIKNBpdp9V5hBN5je9huPrTvUS7qxUT8/dZ 8rLX57uDXYk7LEzSaY+EpcrqoaXJ/OKzsylXErQYkszHMYYgA0yuPRhV004qSx9Leqqq 98NTnt//2zp+Afn49rxYK1Wf3hrvFxHu5oQiuD9rIa2XwWTyZYVqZk82Ff+9zx7NQjhU xo6eZxIeCCoJcuzX+ZnD9MkyuX1efCtTIm4den/yH1Sbmvsy0ijIKj6Dzwon8BUYlR+X ZLCg== X-Gm-Message-State: AOAM5335asLS6w8BDxQVU2M9hpCaOwh1+QxTLBm9Tv+McuYZiVGHCvsi 1gZglXbJ7pxq0TkKeQG00VUTKsza4Z/GCHDIQC0= X-Google-Smtp-Source: ABdhPJzAbBjnMwxlgWL4xsIhCPN9pi4Uq6KaK8uqpJQCInIw4F7nmPaxx0Owria60CCCtOod+yHj+Gqgku9zXG9hSfA= X-Received: by 2002:a17:902:7616:b0:13f:354a:114f with SMTP id k22-20020a170902761600b0013f354a114fmr16610492pll.8.1635612328578; Sat, 30 Oct 2021 09:45:28 -0700 (PDT) MIME-Version: 1.0 References: <877dduo72t.fsf@localhost> In-Reply-To: <877dduo72t.fsf@localhost> From: Aaron Jensen Date: Sat, 30 Oct 2021 12:45:17 -0400 Message-ID: Subject: Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)] To: Ihor Radchenko Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=aaronjensen@gmail.com; helo=mail-pj1-x1030.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, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635612425; 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=+7yPjReymEbxe9yj9Iqemr3nhz4uBaEMIrxoMIpj1zA=; b=qR+308ZrCEj7Q4pqOUrIsVfymG7pSoKAIX3T9cXDd09F/z2kz0puYsPbB0xtCRfQqQnrtG NmdvKSElGa/kZIfSFw/moLmvn1pGnnQv7QlZJBp1mXA52KqoPD+09oTc02tK0llX64KWqz VWB9rQ46bAXFxbnJZXq8rZFjQkhHkrdBW+71lrQ1pe/L804QChZJyUIqQGeze58ay+jUGW QEgKTggFizcibZTjjvlxf3fYCyCSm1Krkr/1ASxWFp7vfmCDdgp+R5Fc8rJ29X36D1kHYg 53mmIudRkAv3/ECJr3PviYtaeNzr/D7noLxwktmgSzl9DKUMlpvV6x/cb7CPeA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635612425; a=rsa-sha256; cv=none; b=Nt04DmRwLXFjILAa6TDAQa2WivnSVHEMt4ZVmD41QpzXF3xcB0vUW264w7yL5RLKSr+lh0 unoIrg9A+1d1YLCzP9pU7MyBWi6ByuClajKtoflqLWhZL+BIhklspmmNnHkWQrxZWzWT2a +JpsLisnRj58DihmXf76MCKWYIFN8rPmzHkElHDfRCnzv15BAImETNcTizgZBzWcWiLUvL IXI/1SMp5AEbyr+eIT3ZrD/tPmpT6crcnGoo+8s40ArOrd/5xwab8aphn9wnTzeovcEmAj iV5N54qMXqOfA05kYwl0ghzKw8qs4eTv7Q255gSfARhGdW9VZWUhxYDNGLtNjQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="eF//jFeb"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="eF//jFeb"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 283A73807 X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: 09U+DauEaVeh On Sat, Oct 30, 2021 at 11:37 AM Ihor Radchenko wrote: > > Aaron Jensen writes: > > > I don't have a consistent repro, but I am seeing this error often. At > > different times it is in different files and lists different nodes. > > Thanks for reporting! > > > Warning (emacs): org-element--cache: Unregistered buffer modifications = detected. Resetting. > > If this warning appears regularly, please report it to Org mode mailing= list (M-x org-submit-bug-report). > > The buffer is: 20211025-journal > > Current command: nil Disable showing Disable logging > > Do you always see "Current command: nil"? If you do, do you have any > minor modes that change text in Org buffers? I don't know, but I'll keep an eye out for the next time it happens. As for minor modes, yes: https://github.com/awth13/org-appear https://github.com/integral-dw/org-superstar-mode And prettify-symbols-mode: (push '("[ ]" . "=E2=98=90") prettify-symbols-alist) (push '("[X]" . "=E2=98=91") prettify-symbols-alist) (push '("[-]" . "=E2=9D=8D") prettify-symbols-alist) (prettify-symbols-mode) And this to change the behavior of org-indent: (aj-defadvice aj--org-indent--compute-prefixes-hanging-bullets () :override #'org-indent--compute-prefixes "Compute prefix strings with hanging header bullets." (setq org-indent--heading-line-prefixes (make-vector org-indent--deepest-level nil)) (setq org-indent--inlinetask-line-prefixes (make-vector org-indent--deepest-level nil)) (setq org-indent--text-line-prefixes (make-vector org-indent--deepest-level nil)) (let* ((indent 2)) (dotimes (n org-indent--deepest-level) (aset org-indent--heading-line-prefixes n (make-string (- indent 2) ?\s)) (aset org-indent--inlinetask-line-prefixes n (make-string indent ?\s)) (aset org-indent--text-line-prefixes n (make-string indent ?\s))))) I think that's it (and yes, that's a lot, heh). Thanks, Aaron