From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 4B+MMp+9cWZtOQAAqHPOHw:P1 (envelope-from ) for ; Tue, 18 Jun 2024 17:02:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 4B+MMp+9cWZtOQAAqHPOHw (envelope-from ) for ; Tue, 18 Jun 2024 19:02:23 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=TWjrzOnN; 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=1718729677; 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=F7Z0KiOlj3fB2hb/or1wxv6E+r3D1stob7uW4EGRFxM=; b=kSbwjw3o/rjAgTkpQ7IghdQECpVS29SlT3l0Fdsxx15QyCnLmp50yKNlQSCA2WQKIwDJM9 gRK0oMg1CBCTotOi2vdmCtwn7vwPoRl6jGgsYY2pJ0nj4eAuS1zRHjAJYlF3keMkZQF+fY EQgnTM8pMpxgiq7nx6+yUjLKa61DNk+UsGbHdXUb3ZQ7LzSK7pvLayKTDlAYf08r0nuyNu 1q/4WYPrJK81FmF76IJRX5SoEbmVvGIOIBtA1MYGt14In2qVH+6Gd0NoMG7SXnqZm/y3m6 9FYZFDmHXHa2Z27O9gQBCpzh55KNfOZ8Idxesu81rCGVCsXGEJybi/MgJJuwSA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718729677; a=rsa-sha256; cv=none; b=Hvy44e9iaSDJUPMWT/UFxQdjRMBvyr/J8eOB06fAvvrz1TBp0yDlh90QtauYH05FuuZgaN 3sQg2qqkF/dNZ5sqTopW88IzcpsGplM0fPU5zh2qJN2hNfnWn89AKB0+HsVE56AVauJgIC rffVzwtY7RyW72u/Gq9vpY1N2TlZB9ZAf5I9p9fHUPywwuoMDQYMfMnJE5uU46U08+ndHq /BQBq1s6KWVc6fGPII0QlYaxXt7xxcbl6yCEeT0hD1Epi1cbnVwljk7Y9m6cffOdnfxvu8 a4fn7h0WuGUh5idSrXAzpdTdaHmRrDIKY1eNHTH82wIBJBD+lELJy/G2uoRTbg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=TWjrzOnN; 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 152913BDEC for ; Tue, 18 Jun 2024 18:54:37 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJc5h-0004nf-K1; Tue, 18 Jun 2024 12:53:53 -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 1sJc5g-0004n3-94 for emacs-orgmode@gnu.org; Tue, 18 Jun 2024 12:53:52 -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 1sJc5d-0007Kn-6l for emacs-orgmode@gnu.org; Tue, 18 Jun 2024 12:53:52 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 2059E240103 for ; Tue, 18 Jun 2024 18:53:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1718729627; bh=B5t3N2jk9pilulDTMdfY9cH1ezr/EGWzw1eE+vUTAJQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=TWjrzOnN3r/vGMOBHEKAW01QPj4Ogo17ktauFjJtsDGKhsZlzXz7mXYtXucEauTz9 NgktYoChRLrcz9X41cafzFCFe02mbH07r/Tvxxkr6/jSJiKQeGZlZPo0vlbXxqUP6D AXBFmB3sU4VwINdGxI2gIE7VUxuHD4hx2yQkqAxrX3nK9zQWPEbItBqoSRmQGhde9q zfiAanYvvFUO+sTPZie7t/fWOQKj4inx1USe1fSCu9aQquRhwQ/F+JkCx62b5x8Jct s70w4RkeOvncChBQvs3ILTCVF/XMAmMKr/pkwIH+CLPdWU1/X24sD5y1l4yg9C35Za 5uS/7MJEKNpWQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4W3Xrp2Vxyz6trs; Tue, 18 Jun 2024 18:53:45 +0200 (CEST) From: Ihor Radchenko To: Eli Zaretskii Cc: n142857@gmail.com, emacs-orgmode@gnu.org Subject: Re: Please document the caching and its user options In-Reply-To: <86wmmmp5wc.fsf@gnu.org> References: <86ed921oxu.fsf@gnu.org> <874j9vllbp.fsf@localhost> <87o781t676.fsf@localhost> <874j9qs0wh.fsf@localhost> <86zfrip6qt.fsf@gnu.org> <87v826qkux.fsf@localhost> <86wmmmp5wc.fsf@gnu.org> Date: Tue, 18 Jun 2024 16:55:30 +0000 Message-ID: <87sexaqjgd.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-Spam-Score: -6.58 X-Spam-Score: -6.58 X-Migadu-Queue-Id: 152913BDEC X-Migadu-Scanner: mx11.migadu.com X-TUID: 9C8VBm7YJou1 Eli Zaretskii writes: >> Can we instead store them in memory? Yes, but (1) it will make Emacs RAM >> consumption grow constantly and more and more previews are generated; >> (2) it will require significant changes in the Org mode codebase. > > I understand all that, but if the user wants it, and insist on not > caching any data, let them have what they want. It is not about letting or not letting them. I would have to implement it. (I am ok with it, but I am not going to prioritize my time for nice-to-haves; though I would not mind patches submitted by interested users). > ... My surprise was > caused by your "it is impossible"; I now understand that you meant > "not reasonable" or perhaps "users will not like that" instead. I meant: 1. not reasonable in a sense that it has downsides compared to what we do now - save latex previews on disk 2. impossible in a sense that we do not have an existing toggle to store cached previews in memory. Such functionality would have to be added; and it is not necessarily trivial to add it. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at