From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 CB9uOLljhGLOBgEAbAwnHQ (envelope-from ) for ; Wed, 18 May 2022 05:10:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +IByN7ljhGK5TAAAG6o9tA (envelope-from ) for ; Wed, 18 May 2022 05:10:49 +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 67E35C411 for ; Wed, 18 May 2022 05:10:49 +0200 (CEST) Received: from localhost ([::1]:56654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrA5I-0004ge-59 for larch@yhetil.org; Tue, 17 May 2022 23:10:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrA4c-0004fD-3c for emacs-orgmode@gnu.org; Tue, 17 May 2022 23:10:06 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]:38564) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nrA4Y-0004G5-Q5 for emacs-orgmode@gnu.org; Tue, 17 May 2022 23:10:04 -0400 Received: by mail-pf1-x429.google.com with SMTP id k16so905994pff.5 for ; Tue, 17 May 2022 20:10:00 -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; bh=AOCdTCcY6z0SveW5u4tqvTIwm5tpdLMlRvaoN4THHss=; b=BHkO2WcWnQLn58h8sLugSS6pEv0ObYg+ZK0NRN7NHOr235V5MTLwgeh8oVRbxe2bkb UYI+I32JIh1RFrvCFfHJ3Q5MfBW1klc4Pd5r2MIak6sIKNaSXIHqP2PM5A+heCGXdRf9 mH7djUBBJWVhG1uynYl8yrccCRuRYVGrwUKYGOWhLN93C8mnVXSz2BPrq7UlA4S9xlau g7Ox/o/KJpSsb4q39eQfUfKrQHtP57wGugZtLlbcI2AdAFGAGN9V/BFMsQggXJ8A7zIP +udJVa9Qea+PVOnD1jpXdpuu20fbyF0VYH66ZGGPdVTe/BW6hVM2FNuJ0yOxhpAi8mQ5 htBg== 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=AOCdTCcY6z0SveW5u4tqvTIwm5tpdLMlRvaoN4THHss=; b=i9vL2owbBAjI2w+J1xrjCzBMIpFVAUjVZPPBE64gPHeYZT9XZrUAhUF+LaISdv3x6H hecyvOYu5JKLKC45ZkPyKykq/2LOPk2hrUNbFfTWo9DcmRYK6o/B7gy2k4C91Hi+HCjx kP0AhtCN8f2I/vZqtqLynzT7ok+94w9ZMzflJ0BKitZIkNOUpLNt7xjuZ9O6f7+QYN2P ZH+5w3+fdOm5tlAsII7Q0kglO7/Vgd7PFyBM1BS+jV8Esi73AUf8H8ZYi6zMk1XUTDZM HxnrsZSdv+8NkvD3up66RHa8/MOmgX+Qq/Y7YANp3bgsSanaED0ZiRxBsdASZwgXN28G k2hg== X-Gm-Message-State: AOAM530J8nb2rMglucZWd3Tm1fFiBMAkYDoPcTqpSjf5ymRtSphkBCFo h+gRWCFUrzc1mbWZVHHZhkP4lUJIcYQ= X-Google-Smtp-Source: ABdhPJy2L8axfGUnOViUlDDTAXiQ4FNdXyK/VJyfbn27ixPczF8FnMdl6stcb+FwUgxgsKfOM+5evw== X-Received: by 2002:a62:ed0b:0:b0:505:7675:1119 with SMTP id u11-20020a62ed0b000000b0050576751119mr26102241pfh.4.1652843399595; Tue, 17 May 2022 20:09:59 -0700 (PDT) Received: from localhost ([134.73.242.163]) by smtp.gmail.com with ESMTPSA id k20-20020a170902761400b0015e8d4eb25csm337563pll.166.2022.05.17.20.09.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 20:09:58 -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: Date: Wed, 18 May 2022 11:10:40 +0800 Message-ID: <87y1yzr0wf.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=yantar92@gmail.com; helo=mail-pf1-x429.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=1652843449; 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=AOCdTCcY6z0SveW5u4tqvTIwm5tpdLMlRvaoN4THHss=; b=OsKy92iXuTlmltBIW9DgdrWxCmVaRWIggmWdrkZiKbxulAzJl3K0SGzlueRd06hHVe61fU V6vd4ysxOuuVToIKIl+D7WlLk3SOanqmQ7ALWUzgPqWxPdB7VJ1ri5Z1G73rttfL2503wU eHbEzz8haN0iRMoJ69coNg0LTpXIA2INpYLRHlMJpIaO8s/IAA9aGH4tFFJhAdKf1oagLq gIZCWslVjeo3l+GHsa+qhB+bhF4kknbcQ4x0hJdj1TAu7xVIJsjTx8JizWmOP1dIcWyzYg 4bItw6t0uAkcNffPGhdXFzAD27VhLnp50B5NbgiGxJR6xykmtJFkTjMj7xmrGg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652843449; a=rsa-sha256; cv=none; b=g0urrOef6krlraehenvPTVGW+VYa+za7ZCTwZbO41qzD0y9wnPv9+Ilu0TNHSSZ4brykHG UBwkFxl8wavL5+Q530jpW+g6YqlY5psM+ORZ2EXDkNTheWSsfzoZmFb0WkZq1TB/jziM5V uqwvhXiJTJ/cFT5Ly+NRnB/qvugFMTRFGI5GFaqtSDR6dQXEfuODyIKk+BFnw6UjeH4z8j JRHeBtKrc/kWYkgkfAzStNWmgwUIc2FB1BZZrYlhzy946qm5D28bS0bilbylB6PE4Iiz7I UJUFtokKQ+TJlP7ulkNg2aR6M6PEgOqtHO3nyjxPR/UsG0ZUVd0TiPbmL3mkRA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BHkO2WcW; 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: -3.54 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BHkO2WcW; 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: 67E35C411 X-Spam-Score: -3.54 X-Migadu-Scanner: scn1.migadu.com X-TUID: b9W6pFe69IiJ imymorror wang writes: > - desktop environment > - GNU Emacs 29.0.50 (build 2, x86_64-apple-darwin20.4.0, NS > appkit-2022.44 Version 11.3.1 (Build 20E241)) of 2022-01-08 > - Org mode version 9.5.1 Thanks for reporting! Can you please share the exact output of M-x org-version? If you really see 9.5.1, then you likely have a "mixed" Org installation with some code in your init file first loading built-in Org mode and then loading the newer version. Such state can cause all kinds of bugs. The latest Org version is Org mode version 9.5.3 (release_9.5.3-1799-ge73d5b) The latest stable Org version (distributed via ELPA) is also 9.5.3 Best, Ihor