From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6EF2N7NJh2ISdwEAbAwnHQ (envelope-from ) for ; Fri, 20 May 2022 09:56:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +N93N7NJh2KAsgAA9RJhRA (envelope-from ) for ; Fri, 20 May 2022 09:56:35 +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 83E35176BD for ; Fri, 20 May 2022 09:56:35 +0200 (CEST) Received: from localhost ([::1]:52562 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrxUw-0008T5-L2 for larch@yhetil.org; Fri, 20 May 2022 03:56:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrxSv-0008Sg-HH for emacs-orgmode@gnu.org; Fri, 20 May 2022 03:54:33 -0400 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]:34694) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nrxSt-0000Sd-V1 for emacs-orgmode@gnu.org; Fri, 20 May 2022 03:54:29 -0400 Received: by mail-pj1-x102a.google.com with SMTP id ob14-20020a17090b390e00b001dff2a43f8cso1109946pjb.1 for ; Fri, 20 May 2022 00:54:27 -0700 (PDT) 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=NIa3trdRFWDuEkQrntbPQZchCmKuEzS+XSXqKPJDj1Q=; b=mUvTi0qt6dSpW5GKFuKtk2sGdArw0diSCK2OE4tluTqKhx/AfGs2rIm/RJyQeurERU O2rvp3c0HnBPY4+aBBhcWrg+bV3mC4l7R9J98BF8OCtQzoQxBZGy7U6aDvJv6PS+yjR3 LWlLvAU5ppdYKGM61ADdmWZzeJGxGFa049cQwJcu6Cj60d0kOP1mMxuuEYSwpOAgnmJQ lCZZ5IAiZTPttYymFXEqC+/h1WOB0ZfSdVpNWj3yDWoYuMCswYWhpNQPvtyVQAdKps39 sUynFbm8cLGzqNsfN0/rWCCYmSGpFc4ztf6LAk5wlcLka7GH5q8+pUGh/knKhBRt+3fk J9rg== 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=NIa3trdRFWDuEkQrntbPQZchCmKuEzS+XSXqKPJDj1Q=; b=Cghj0R8gY8oCa4BhFiqsMzIjVDlvlIwKjJKDPKI8TqbhBKq4PZCSUAILABqVW5toYc Uk4qqL/yTx4m+ddZ02W8UQ6BDI4wvex8qkE9raSXJtX8j0MBAPzHpf3z4/OZPea+PX7D VaSRwVh/RvIuYXpqbrZ8zXNTpEEsAz6DDn1V3mpSit42+Q/NbZfdYsHsa/WTumFK2g5A 7sIzBQkUKbgJPvIzi2FlVEr4YAVe9ILkc/5ugGnbtJXOwrR/jWnYxio18BFoZ/ap3hew 2e1s7ENO1aX4SIn/ltfBtek3inVb/ckkXZBsCVYmrV06o8EQous3etAWIncM7DpmoAtQ 5rOw== X-Gm-Message-State: AOAM533g0O0mJ5fEaW0W60Hs3LZVjCTNhG0HGfTzWRSmp981+0v5+n0m 4wCbBOt79XJqFeLZKqa/rqg= X-Google-Smtp-Source: ABdhPJx4dFS55GJwseowtN4rv4VUwbVKdsPsvvY4X+nrPY6DpqTML4Ybqt9isvCLworxTuCL+C5IZg== X-Received: by 2002:a17:90a:4b0c:b0:1df:112:fe49 with SMTP id g12-20020a17090a4b0c00b001df0112fe49mr9603810pjh.155.1653033266190; Fri, 20 May 2022 00:54:26 -0700 (PDT) Received: from localhost ([134.73.242.163]) by smtp.gmail.com with ESMTPSA id s4-20020a170902ea0400b0015e8d4eb29bsm5139145plg.229.2022.05.20.00.54.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 May 2022 00:54:25 -0700 (PDT) From: Ihor Radchenko To: imymorror wang Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] when open a large org file, emacs get stuck and show a warning "org-element--cache: Unregistered buffer modifications detected" In-Reply-To: References: <87y1yzr0wf.fsf@localhost> <87k0ajxuj1.fsf@localhost> Date: Fri, 20 May 2022 15:55:09 +0800 Message-ID: <874k1k4p0i.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::102a; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653033395; 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=NIa3trdRFWDuEkQrntbPQZchCmKuEzS+XSXqKPJDj1Q=; b=BoOYHBN8idjrbCk+AnsobxHs7mELuYEFjVDoEhQuZJ2qAAbb4bON+fQV4ry/mVvNK1AvNF FT+4GH42l06m+MIiFJa28eRoGvtYSYyLEQJ/fsTdy121C7AbYMUFNIauTeT7rAnS4aVJA9 eFWEPk1SstpdJqQYqKnThJbs55lMvH9mdRj18bRWDAzlO9M25vKpZAYH5SobMnnSc9Gu0c S/HnljJhc1fKG8TT6gD8/ctycl4kqd32kGMFgtroA+RST+UyH599nHVuhqsKzBo6mIPq8b Hnfo3ks5YhxyttnJqEiTjTeSi33CMRDktz9kT4Hy/Z0EWXi+gre7NYBgyjpYeA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653033395; a=rsa-sha256; cv=none; b=EmWD5hIhZHnKCG4MLCVfRcxOKZy+2WPSySMA3bTruPmTW76A5Kb5tC4sk5UzWnP6FRnNpq 2m09QrG8nzhdcu5tuvJ+hvfQ5PCCDo41FFpo7kNXw+gdGnTeVNvg6eRFodxQg0jgQGe8aO RUipqM6Jnfea9MNlu/TpmGeoLx/AdlkYCqNv0Y+Wc1bt1CeWGKW9ftdPW9OI203r5Vf8EJ QraN7ujpt9hNA4PxlikquohY4NWY+7GK9Ca5HVQKUJJBW2k/caP+5Wv57YEM9HhtukfAVc jfM0GACJdXfPUSe4tvelxw5a7FwGTD0aacSG4eRt1yKCKgIgGDqv8qxBbkhtPA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=mUvTi0qt; dmarc=pass (policy=none) header.from=gmail.com; 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: -4.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=mUvTi0qt; dmarc=pass (policy=none) header.from=gmail.com; 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: 83E35176BD X-Spam-Score: -4.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2kbhVR8hXkGf imymorror wang writes: > - if keeping org-startup-folded defaul value=EF=BC=88i.e "showevery= thing") , > enable org-indent-mode , open the large org file, get a warning, but not > get stuck: > #+begin_quote > Warning (org-element-cache): org-element--cache: Unregistered buff= er > modifications detected. Resetting. > If this warning appears regularly, please report it to Org mode > mailing list (M-x org-submit-bug-report). > #+end_quote Is the no more warning text? The warning you are seeing should continue with The buffer is:... Current command:... Chars modified:... Buffer modified:... Backtrace:... ... Best, Ihor