From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 6BfSFGdbjGO5PgAAbAwnHQ (envelope-from ) for ; Sun, 04 Dec 2022 09:33:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8NarFGdbjGMQdQAAauVa8A (envelope-from ) for ; Sun, 04 Dec 2022 09:33:43 +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 B3AA53AFAE for ; Sun, 4 Dec 2022 09:33:42 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1kR9-0004cg-U7; Sun, 04 Dec 2022 03:33:23 -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 1p1kR6-0004cQ-Da for emacs-orgmode@gnu.org; Sun, 04 Dec 2022 03:33:20 -0500 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 1p1kR4-0004kJ-BX for emacs-orgmode@gnu.org; Sun, 04 Dec 2022 03:33:20 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 1C58A240026 for ; Sun, 4 Dec 2022 09:33:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1670142793; bh=6HGhZw5S7++sa7cP8x4m7hhClxpTno3suvPTzWrqjbk=; h=From:To:Cc:Subject:Date:From; b=QfxtZ8AGtV2S9e/hFdtnYShwnyJfbontU74XmWjoe7p6FjVPgzTGvFp5wfD8x7mFn zZcXj9JjX9kR3fyjpPaeTwugW+Uq7SuAzHLxMFycufVGFUv592hhDMHMCPtdTPEdFH Q8Nj7/Jg6TGzLAJ6lnh8sasmvdR8o0LVAs/O1s345Zpue0PBRhT6tGORIAAfzhmD9i pdRbOA7d6f/90xn5WuWrQqXzyURT+Q+4w/j5ruVVnLTZWZf005wlagFzLIJo23xkXs XpxcGaF66eXJrgmUBbX6uSrj2f55ZFgaYCIv3wDINfrwp36lGdqZiDrKWwWekV9r+L 5vYFG6gIwQ9jA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NQ0LY5wV9z9rxN; Sun, 4 Dec 2022 09:33:09 +0100 (CET) From: Ihor Radchenko To: m43cap@yandex.com Cc: tomas@tuxteam.de, emacs-orgmode@gnu.org Subject: Re: How to disable completely org-persist In-Reply-To: <871qpf8tip.fsf@yandex.com> References: <1158097067.265983.1670026787291@mail1.libero.it> <871qpf8tip.fsf@yandex.com> Date: Sun, 04 Dec 2022 03:33:08 +0000 Message-ID: <87tu2bkfm3.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: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670142823; 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=00UFncT1pyUhBSrWjZtndfojCoXoiPU+ugKNbtTS3SQ=; b=I5CWeHc8oDjQjGX4FbgmgsnDM/Yjw9OkEwLvaprp+Otx349BF4V3AAxLLOKl2EFUrjBIJQ BQbpb3oArbfO8eXj454SG1YHyt4DdLT+wboJ7gVB2yEPFw6t9IbvExXsD4XfRGAFvC+Xcu lpG3aI+kN1/GNmvgu5lfTeuNy+ChnsbGa/F87fcifFTuOj1UggWZVHkEz/4TEsu/nfOUeq wifd3FNrE6gx7lnonu5/lqscexHVcvxg9lJfuIQ/D5VCfMZys6CK6ZdSEflItJ3Riv5eq6 24inPL0GDT0I+RAsYrmHdPKaB5VgvZ17B1wE3XOlNmPNH6u/qzK+kvR8LCc+Uw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670142823; a=rsa-sha256; cv=none; b=ineeHN7hqp48pF26iKNWm2bmcY5ZoeJ/8yfOeRDzkd814axv2A2amxcA2lBsmh4gXpRXJ5 4+FSm3x+L7iDXcg+tph1XXtV640HZWxY8EuMY9igx0fEkJoCndUyS1OgixITZ1xrnZcSTx i5ej3P6WA1j/UWXvzPz5BICVYErx0EuOscBZeTNsI5DMf4RyVSEu+cekiuyBY2NBt1J7Ev e2xNOzD+ud6BmU1PV4VcGpK9NW+3ik6ZVruZfnKR+Z3VKIzj9Q6vXoEtCsfWiqq5f5ID/Q NcrsBsuBA/kukg/4tyb4rFauloW4yljIiHW5OjI95CF7QmL14Ejri2U+Rw+VXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=QfxtZ8AG; 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-Spam-Score: -8.36 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=QfxtZ8AG; 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-Queue-Id: B3AA53AFAE X-Spam-Score: -8.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: JFunEZu14z4m Colin Baxter writes: > I too would like a means to disable org-persist. I don't doubt it may be > useful for those users with "large" org files with multiply src-blocks, > etc., etc., but, for me, I have not found any improvement in > performance. As remarked by the OP, the feature should not be > default-enabled. Note that org-persist is not only used to cache parser data for large files. For example, exported online images are also cached instead of being downloaded on every export. Other things may also be cached in future. Normally, org-persist stores the data in $XDG_CACHE_HOME. It only falls back to .emacs.d when cache directory does not exist. One can also customize the value manually. That being said, it should not be a big deal to allow disabling org-persist when desired. In fact, org-persist is already auto-disabled when using emacs -Q. I can add a user switch on top. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at