From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id mLPiEttDdWZAAwEAqHPOHw:P1 (envelope-from ) for ; Fri, 21 Jun 2024 09:11:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id mLPiEttDdWZAAwEAqHPOHw (envelope-from ) for ; Fri, 21 Jun 2024 11:11:55 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=YvOgeXEV; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718961115; 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=q+9tu3euvstDNZUIHcm7FBrahDay/qhw5se/GudnmWw=; b=o3El7Pu9OQvF8pre1uCTkyrRbAtOAG2O2w3M5Bg0wXG/vDGNCLO9heeidATb7l0PxgKDuX HUGuTJFqHk96y78dfR4En2nDb87vv2ZoBFbGkt93C3U7N2u6S/ayeLtoDgZ3nok3jpaqAC r/CUhfecdJ8lB0R/UJqDQKplOLPqZoLnJ+MuH1KREi2e98FRKBCv94a8EDQHB5mMoMYdsg Hi9yNzjYePrvGPxYu0Hp+NZqZQljAoBKNRqBT/3RgO/8AUHqfP9M1MtxyRZXjGwqBp8jLE CTqlm1TLUE/79rAquxSEeKUcWNbtfHT1o8M5bagcVbni1xE7FWtkNP2XeQN6WA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718961115; a=rsa-sha256; cv=none; b=vD3GxuVRAw0qLBvRUgu/5HGG3zh7LSnvdftauUi0jyEdMDZncI8R8GdTEAcxeRATfCvE3v XNW4nWU0WHOJQdhLdqDNxhQJf6h7jWling36BeNiM3S2/hq3Qg4X5qwnadE7TJmNSlrZ+h m069TU1QEUk0SalkUggnDcIsp8QTwUPlxtI+H/oQwM/DnkarJrDGQzySBNo9/id1Rd2zsy W3/OSeTxogCvreS4JEmN1wl0Np9F/YZBtdzQ2Nxx7Bfal7nhpAca7uSGJREgaf6Is56xUz +d+HOTcmzhETtnH/Yjzye8xnCmsRLLv3c9bmhU64quUii4Nwxs4r1ysA4a4F0Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=YvOgeXEV; dmarc=pass (policy=none) header.from=posteo.net; 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" 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 2484F61920 for ; Fri, 21 Jun 2024 11:11:55 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKaIZ-0008A8-3W; Fri, 21 Jun 2024 05:11:11 -0400 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 1sKaIX-00089i-3t for emacs-orgmode@gnu.org; Fri, 21 Jun 2024 05:11:09 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sKaIS-0003j4-Fd for emacs-orgmode@gnu.org; Fri, 21 Jun 2024 05:11:08 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A3CE7240101 for ; Fri, 21 Jun 2024 11:11:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1718961061; bh=vxvVBODULrZm/XODwNMedZxwfAwCdGP6TL5bB2rcZ7g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=YvOgeXEVyG9VwWaqqe5QHACldv0gN1k/7ocVsUbI9QqHN+5/V7poVFINeH+fW32/u FyjMPa53BfKpwhSJSuL4JGYTtsphnOBhzGeQvXOxLhqj1AMPcbozEWyX+W2dAA/WiO RXmrG0NKI3zxQdCSOzfvtsJAk/Gl2Hby8yH2b0oFLQTh5pl627XBOtCjLasaJgFB5v xySCfClaQKT340xHiPGa6zkDTsMyHfvsVREZlYOuLW7ixHPY2mwQBA3/2pVw8J7yqg KyKrMicm0+ROj3R+lAjAPtZCl1oiO6OMtRA8K8nQUQVlEg5QRnQ9N5Ts261wRg708g 4bpq0ThPCZrEA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4W5BRS6tG2z6twL; Fri, 21 Jun 2024 11:11:00 +0200 (CEST) From: Ihor Radchenko To: Platon Pronko Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] setting org-element-use-cache to nil doesn't seem to disable element cache [9.7.3 (release_9.7.3 @ /usr/share/emacs/30.0.50/lisp/org/)] In-Reply-To: <6279de28-8b50-413d-b0c6-59ec5522094b@gmail.com> References: <45885aec-c7f7-4dce-b35c-2c32f5e1dc8f@gmail.com> <87sex99f9n.fsf@localhost> <6000e3bf-f95f-44fd-b321-cf44acd5c485@gmail.com> <87a5jf8z5x.fsf@localhost> <6279de28-8b50-413d-b0c6-59ec5522094b@gmail.com> Date: Fri, 21 Jun 2024 09:12:45 +0000 Message-ID: <87h6dmpsky.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 2484F61920 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.56 X-Spam-Score: -9.56 X-TUID: 9jLG9vRrHxqR Platon Pronko writes: > However, regarding the original problem about cache seemingly being > active - I do often notice that there are other issues with text > highlighting (dates/todo markers/etc) and indentation breaking > seemingly without reason. I will keep looking for these issues, but > making a reliable reproducer for them is hard. To be 100% clear, cache might get activated for short periods even when you set org-element-use-cache to nil. But that happens only for the duration of a single (expensive) command and the cache is discarded immediately after. It may theoretically cause problems when you perform some kinds of commands that edit multiple headings/other objects in region: org-encrypt-entries, org-decrypt-entries, setting tags in region, setting deadlines/scheduled in region, and archiving. Text highlighting in particular should not be affected, AFAIK. If there are problems with fontification, you may try setting `backtrace-on-redisplay-error'. If there are any problems during fontification, the last one will be recorded in *Redisplay-trace* buffer (the buffer itself is not auto-displayed, you need to switch to it manually). -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at