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 ms9.migadu.com with LMTPS id cFIKFTq5iGSYHQEASxT56A (envelope-from ) for ; Tue, 13 Jun 2023 20:45:14 +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 aO/3FDq5iGR7zgAA9RJhRA (envelope-from ) for ; Tue, 13 Jun 2023 20:45:14 +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 0298337039 for ; Tue, 13 Jun 2023 20:45:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q91GT-0001yE-QJ; Tue, 13 Jun 2023 06:28:41 -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 1q91GS-0001y4-C5 for emacs-orgmode@gnu.org; Tue, 13 Jun 2023 06:28:40 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q91GO-0004yb-JC for emacs-orgmode@gnu.org; Tue, 13 Jun 2023 06:28:40 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 488E1240028 for ; Tue, 13 Jun 2023 12:28:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1686652110; bh=nyMcYMzw2rRacwS8b4qzgqCSbvS2jO+XzGZEE7x29QY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=rmRDlCuCsa50bKwmwEt+sBqhzGcm4biOAjrN4obZLmgkXh55SJlaZjQAKKzfMi57M rW0Tvk7zFY2WIzRgcHdqaT4wyYXHUwDXzy8ObbWPTWA2s+F7nRoyeswCjyQCeCRcEx 2YAooPo35OKGyBtW9OpwI9YVnCQYea4UlGYFJfDVPHJq889MNGtIf4csYXLj0wlWaE bJFr3A5+DST2LUZeO1LmrzDEFzebNZGqJUCyYqndU/JLRDp+QsTB02DknZaz+BUDM1 e/lMcCIzRNl3LG5r7z2eeS2irVnoD0EbZyb9Dnk86Rw4Ql1EBiFP78ss8pFAW3RlBu tE8XyxloGAT6A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QgPsT56yRz6trm; Tue, 13 Jun 2023 12:28:29 +0200 (CEST) From: Ihor Radchenko To: Sebastian =?utf-8?Q?W=C3=A5linder?= Cc: emacs-orgmode@gnu.org Subject: Re: Org element cache in indirect buffers In-Reply-To: <87v8funovi.fsf@localhost> References: <87o7lmb3ih.fsf@nixos.mail-host-address-is-not-set> <87v8funovi.fsf@localhost> Date: Tue, 13 Jun 2023 10:33:24 +0000 Message-ID: <877cs7wt1n.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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_H5=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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686681914; a=rsa-sha256; cv=none; b=PLO3TLenD/a/X4AOGaITqsgSLi0J/FTGKuPONcyug4BLUcvCKu1vNhydDk39aU26vbFIWk 3CFjWtGQBQRMS85wGsH71awTNOqOagzLfpZjGApJdhrtPDyi7jm2EiQrmw5jv9g9ojvJ8G JMtLOcQlB9P609UpacD+KRpBjVF0AWmhwO54GzqzVWSeOJXPKuMhpAebaC32vDtlOZ7WOz YYBA8ikGBmn62HeN352rbYclZfZ5SbAFkctvPJA0alkHfDAlJzP7a6cvKZEY1qOvFX1Z61 t25zx/b1WZEaGhvpo5Y5daZorjSN4zF6db777XThY/3TU6dpmHkd8icfHl3W8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=rmRDlCuC; 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=1686681914; 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=OUlvZOf2iLVDjWOXB4VN4XxUAbb6LhSbylbdQ+XMKfc=; b=G1CzGdybHleXpA1RfArdQYdGcEWj+4XQKaGyGwoahab1XkgtZEXRpAETmMrvQ8p/Y6tAFv wVj4gcmvqEpDab0p30ggZ2Dre92lZSOcf7+lx78FOzNG1aKbEKs2B4/VX8XRQQVihEV4kR 4uaXeLMOrhIgfNeqzIeIo0pEabLzoyDTT7l+6LTPhLkKLbFaGnjvdeCwpYOvAUJb1ppTiL w0r1EdkmPQDV+KSGsTJoZO0Q2xjgXNtWafgmaoF0Kpq1qfsBFBFHQzZbweqjDzGToiBivy sMC5LyFp5hvS/nVA3ClX9olUjpZbyH/N7+62fO1pc1GePatGzOP5L12bmOFijw== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=rmRDlCuC; 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" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -7.99 X-Spam-Score: -7.99 X-Migadu-Queue-Id: 0298337039 X-TUID: I3yN5iX6bmv5 Ihor Radchenko writes: >> I also wonder if this means the caching is performed by each indirect buffer independently, and doesn't carry over. > > Caching is using base buffer actually. > I guess we can explicitly set reference to the cache root to nil in > indirect buffers. Done, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=2f7b35ac8 But I would not expect much actual gain from this. Maybe in some edge cases. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at