From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id O3U5O9HBkGG3ZAEAgWs5BA (envelope-from ) for ; Sun, 14 Nov 2021 08:59:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gFYvNtHBkGGITAAAbx9fmQ (envelope-from ) for ; Sun, 14 Nov 2021 07:59:13 +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 65A2531853 for ; Sun, 14 Nov 2021 08:59:13 +0100 (CET) Received: from localhost ([::1]:58064 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmAPw-0003O1-Hg for larch@yhetil.org; Sun, 14 Nov 2021 02:59:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55480) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmAOf-0003Kh-Jw for emacs-orgmode@gnu.org; Sun, 14 Nov 2021 02:57:53 -0500 Received: from [2607:f8b0:4864:20::632] (port=38881 helo=mail-pl1-x632.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmAOe-0000Iq-2j for emacs-orgmode@gnu.org; Sun, 14 Nov 2021 02:57:53 -0500 Received: by mail-pl1-x632.google.com with SMTP id o14so11850078plg.5 for ; Sat, 13 Nov 2021 23:57:51 -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; bh=wm3AzDdW55vBUXBzq9s+hcwdEHF0xneQyOHrVPCZGlw=; b=bOQsEkTUrRtsvQcY075CYenDutG5Ay67tcDIpRh28SXqSDxszYwYO9usnqlhQ0JeIa U29kUo3c5eUrz4cnvIMvP7A2l2Mt2dDb15LN+FEwi86Ue7UzzksOLHxM7uTq2SzqeVYA M9JfPM/+7Ebt+dFbMh4SxV2TnPgKBm7EwqDs4Svha8QRE6pMMJeM/z7lmerWkL08Y9LE uTgD89KBg0C15zVKba8d7/53ACgg85sGYbWn/QZGVWxRmXP/f11e0aZxBiZzCWIMalxQ Q/V5xxnYd+Rn4X2EaFll+0ive0vEPHK6HfT2qXIHWOnzEd13JEBqDjuf1z4lUb+Psl2e qdZA== 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; bh=wm3AzDdW55vBUXBzq9s+hcwdEHF0xneQyOHrVPCZGlw=; b=La0kutca9tZeglSXT6CJe7I8KLCJJNeKH4G7Mdu//S0iNu1UyRQor15aHaCx2q844o XAa0QwCOu9OG3wumg0nur1+pmJREYiOTa0A56WC4tMnswcuGYP1KyMywqRe3P9u7La49 VY59zcO34Ap8LVMUlvmz9P6E5s07i1tDHpDI+4R+w4DawRBxXoVfPhxiQ0FB+49is9SS rJFLMWmmoBf/W48oH8ZE6U+GC0gsVW5+Dc9o9mtA2tWbZv2npQfrm8UyXoObmLKWeRt2 EUitwAfJ9KKE9UVvFFi6e5Wt/srhwHeXvzI0AULNhFsTp+meKDCwC1WwAlnEBv3IzGj3 +BRA== X-Gm-Message-State: AOAM530bdP6qsAn5CH5FOhV1JbIa7PMlxh5Ha52yveE56USWySaxVVQj Lwa1zPKhmFMQbQ/bhw/DJGE= X-Google-Smtp-Source: ABdhPJwZp4ZiUvutOHldLKxPcBbT9kBX4XD/WFr2TGEOjryobtg/22ry9R3R4As/+XN63V5KFUr53w== X-Received: by 2002:a17:902:dad2:b0:141:fbea:178d with SMTP id q18-20020a170902dad200b00141fbea178dmr24149368plx.78.1636876670712; Sat, 13 Nov 2021 23:57:50 -0800 (PST) Received: from localhost ([91.210.107.150]) by smtp.gmail.com with ESMTPSA id b4sm12080409pfl.60.2021.11.13.23.57.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Nov 2021 23:57:50 -0800 (PST) From: Ihor Radchenko To: Max Nikulin Subject: Re: C-c C-* causes "org-element--cache: Unregistered buffer modifications detected." In-Reply-To: <87pmr6lu1y.fsf@localhost> References: <87pmr6lu1y.fsf@localhost> Date: Sun, 14 Nov 2021 15:59:15 +0800 Message-ID: <87ee7jdv70.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::632 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=yantar92@gmail.com; helo=mail-pl1-x632.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, PDS_HP_HELO_NORDNS=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-orgmode@gnu.org 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=1636876753; 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=wm3AzDdW55vBUXBzq9s+hcwdEHF0xneQyOHrVPCZGlw=; b=es/GMHApqm2V9nFNoKQPJKRiYQrMCo5lSII2UBnc/n41r7kWpwGohg1tenV76XZa5oE667 j3CYCDBRdciro0rz2k1nPApoAK86d1DRd9PQTElJq3kw6UyDPkf3BOfS74NQ1kA6GFVc9E GB5oD2avmFz6lIfttW83Hh7lVVXJuwVUgwGzjDDLhF7SAZxG8hZDOZajclNd+TtX6yVaaA 9dmwp+L9JC1WcMiDe/cdOtKhNfx3ev7OcCEEEumqcxt4EWkMgPWnxQd9sYkBmJMpBe3N1o vmFoyE+KqaTguLX0DC6DcA+hxsg802VAe1Y/ElUooRQ1TkhJrnjhuPf0ecqsYg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636876753; a=rsa-sha256; cv=none; b=gusM/Mnsd1v1LNmwCFf1tAMzrKTirKzwtHwa2MKcJrOb25jx2cQRf6lNZ3h1vW7dFRcCOj 4OmugYE75TFA2lLOkQELTKciQtsf2wkpGz4LktxQbD4dRUbKD931EW0dEIgoipJ7AmjswY CUBLe9FeNISpWTJVVQ2qxsZb/SvDI/1Wp2pFR3Z4VDEgFUMAx+qfAnOx6FCu/512Y/cUrU +iW6epYH4lP9vtkbQkUL4YvQ8HgFKWGoItVbXNYgKwsKdnRYdTA+jo41BAV/YyyE69vP4r +qorx03C5VhK5jOAd0oEhJc61rk5rjWBj2JGKwrDImJJcgfCa11oY7gxHTYRLQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=bOQsEkTU; 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: -3.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=bOQsEkTU; 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: 65A2531853 X-Spam-Score: -3.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: CZSk6MKuAcON Ihor Radchenko writes: > Confirmed > However, I can only trigger the warning up to Emacs 27. Emacs 28 and > later has no issue. > > Need to investigate further. Fixed via c3f457375. This is another case when Emacs internals (replace-match) increase buffer-chars-modified-tick. Eventually, this warning should be disabled and we need to make a patch for Emacs to trigger cache updates regardless of inhibit-modification-hooks. See https://lists.gnu.org/archive/html/bug-gnu-emacs/2021-11/msg01069.html Best, Ihor