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 EPVSOUBim2MmvQAAbAwnHQ (envelope-from ) for ; Thu, 15 Dec 2022 19:06:57 +0100 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 CBlpOUBim2PTjQAA9RJhRA (envelope-from ) for ; Thu, 15 Dec 2022 19:06:56 +0100 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 06521373DC for ; Thu, 15 Dec 2022 19:06:54 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5scL-0005er-Ig; Thu, 15 Dec 2022 13:06:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5scJ-0005Zk-3m for emacs-orgmode@gnu.org; Thu, 15 Dec 2022 13:05:59 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5scG-0002hk-FJ for emacs-orgmode@gnu.org; Thu, 15 Dec 2022 13:05:58 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id CC33A5C006F; Thu, 15 Dec 2022 13:05:52 -0500 (EST) Received: from imap45 ([10.202.2.95]) by compute1.internal (MEProxy); Thu, 15 Dec 2022 13:05:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=failing.systems; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1671127552; x=1671213952; bh=ki KEwIOyQLokY17noXMmBK5YI30umtuMjEOpTYkQIC4=; b=jAfYLBL2gxLg1eABcy adci9IH6mOZ6+azBpTFGZN6x98jopN+G91+WhNU+hRW1IHE1TChxqXDUiGQ/5hQ6 df3mlrhtUhhfWY4S+0nv+W5/tTzkCIPGu34l6jqMGvjHVSzAOaoyxOVQ6ugtIEBT rY+bRkLuggGV+Icb1qrQDXE3mzX3IWMqwAuvvMvnsohPvsgk2t1p0PaJ2IYU/M+x 6NgJtfySLIb2SqdkhKk6Y8v0amgenHW21H4qQOwvJ4KLZn1V9cMviy6Fl5O07JIj k/jJYh/Pynze7juCDGhXScerLC5Vxb2WcZqFfOpscslrclO8ui63UL2qtdODQTpq o6RA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1671127552; x=1671213952; bh=kiKEwIOyQLokY17noXMmBK5YI30u mtuMjEOpTYkQIC4=; b=U8jHQVy6CkRez7BkEahGRB7xNlVCOev/zTG8SRIKSWis XU/Zyemw1Mfa6p1B0aVZNNeswcarAj+v292dyJMJ2ho2CXHDsH5cydwZdblMYK8C DuVfliSGsSMEZy48TrjEBM0PTLSecVdgCZvC5GecFsy950DT1/bxs4GZlK7qfR2f qkcarW7P4uu+UXbz69ISekNXuFAg8bkHZ/r9Q0X0djleJ4+9WEDkHcVdAb8aCV8O ffLU/BOQarJ9d942En2wp5Etx2rWJNjgapanu/04Y1fiyZju95auJh9R+cKkbZ8J iTyf92RLF91iX8penF6l9kdGlkbYANH7bmgLzuYwwg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeehgddutdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvvefutgesth dtredtreertdenucfhrhhomhepufhtvghfrghnuceoohhrghesshhtvghfrghnrdhfrghi lhhinhhgrdhshihsthgvmhhsqeenucggtffrrghtthgvrhhnpedtuefhvddtgfdutdelie ehhfeludevffevleejkeehheejleetgeffffdvjeeukeenucffohhmrghinhepghhithhh uhgsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepohhrghesshhtvghfrghnrdhfrghilhhinhhgrdhshihsthgvmhhs X-ME-Proxy: Feedback-ID: i6541467e:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 3EB28272007A; Thu, 15 Dec 2022 13:05:52 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1185-g841157300a-fm-20221208.002-g84115730 Mime-Version: 1.0 Message-Id: In-Reply-To: <87len8uajb.fsf@localhost> References: <0818f914-1c9d-48d7-bb32-18909f9564a1@app.fastmail.com> <87359hw0bo.fsf@localhost> <52739b43-b836-44db-a250-7323ff8d294c@app.fastmail.com> <87len8uajb.fsf@localhost> Date: Thu, 15 Dec 2022 19:05:32 +0100 From: Stefan To: "Ihor Radchenko" Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-element--cache: (org-agenda) Cached element is incorrect [9.6 (release_9.6-90-gf49ee9 @ /home/stefan/.emacs.d/contrib/org-mode/lisp/)] Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.29; envelope-from=org@stefan.failing.systems; helo=out5-smtp.messagingengine.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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.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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=failing.systems header.s=fm2 header.b=jAfYLBL2; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=U8jHQVy6; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671127616; a=rsa-sha256; cv=none; b=FUQXkO5fG+rbxSdLXm8C0tS3j8lQ2coXk5UAQIR8y7fTimyc59ulgLdK61xMaph8SQ+SIF 8R3YuGtjgYjrappx8sK97C+X/Bn3B9d8hID9ZFT3/zkeJkEseicRPUKiR9AZOJ4LOMpN0E Ljlw28ZyCAUJXIhf+H0l672cB/qEK9w8LI42u8xDXWhrAHIwbke89Dx52ZBPFyJx0nX7nF dtYRZzXylwuVW21QM/sr9V51bGbAA3K+4JC0/GCl/T4qRUGmtm/5blQF9veD3ywX2uZkiX yFa/R+jEKadSUIv7nonOXskZcfHKLeIPNaDbMDKvqzkd4qf/fiAIaXvuVP7/0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671127616; 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=kiKEwIOyQLokY17noXMmBK5YI30umtuMjEOpTYkQIC4=; b=btJbioKFqQlF2JmH6UPFttNfsn+XDF2cafZCQOEW/AXrW+g3tqVWKJCFmMgQPinCiKSXnq 7jCNQvKcJYCHO4lbKebL1jIskbLCkdf0979ugUuyHvdJXS8J3ebhvUeBsOK9ml/kKujuX9 +lSMxgAoDsHQBXTwc6UgOF6ar04nLBdLa9cVuq0ll008p2Lkcat4qbh/seDzFHng9+4AF7 KVDMRK06BjwpL/i2mso3r+rC1o7d7a3jcjtVV20NG+w0Cxh/wqUr/w8p4vrmv9VmWH3mZ/ 0v5Z5etaX+3YCzs5qKpZARGQ80+sXQnRGfCEWL/QY3tgkOTHMfxcb/qNSTfgjg== X-Migadu-Spam-Score: 1.93 X-Spam-Score: 1.93 X-Migadu-Queue-Id: 06521373DC Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=failing.systems header.s=fm2 header.b=jAfYLBL2; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=U8jHQVy6; 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"; dmarc=none X-Migadu-Scanner: scn0.migadu.com X-TUID: DPpqMwNzMWpe Hi, On Thu, Dec 15, 2022, at 13:16, Ihor Radchenko wrote: > 1. Check the value of `org-element--cache-change-tic' right after > opening an Org file first its 1, (when I start fresh and add 1 byte to the buffer the value is 13955) > and the values of `after-change-functions' and > `after-change-functions' in Org buffer after you see the warning. after starting the =t= agenda (which results in the warnings): the value of org-element--cache-change-tic is still 1, the value of after-change-functions is `(org-element--cache-after-change jit-lock-after-change flyspell-after-change-function org-fold-core--fix-folded-region t ws-butler-after-change)` (I disabled `ws-butler` because that sounded suspicious, but that did not resolve the warnings) > 2. If you can, try to load Emacs with minimal Org-related settings. > Then, try to load agenda and let me know if you see the warning. I did some manual bisecting of my config, and I noticed that the warnings in "Media.org" go away when I remove `(org-startup-align-all-tables t)` from my config. So I did some more digging, reduced my config to just contain `org-startup-align-all-tables` set to t, my agendas limited to Media.org, and removed most headings from Media.org. With a minimal Media.org I get a "Org parser error", see here for sample and backtrace: https://gist.github.com/stefan2904/5a2b33d42a947f36402b548d9b186b67 (here the parser error turns into an incorrect error when I change the length of the URL ...) With a very minimal Media.org I get a "Cached element is incorrect", apparently because the table is not aligned? see here for sample file and backtrace: https://gist.github.com/stefan2904/688afdc2ebfeece8e0fa19a24d9ca321 Both errors go away when I set `(org-startup-align-all-tables nil)`. > It looks to me like you have something unusual in your Org setup or > some third-party package interfering. Best, Stefan