From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8HsKIJUvo2P32AAAbAwnHQ (envelope-from ) for ; Wed, 21 Dec 2022 17:08:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aCYbH5Uvo2PhBQAAG6o9tA (envelope-from ) for ; Wed, 21 Dec 2022 17:08:53 +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 E9A9B12E05 for ; Wed, 21 Dec 2022 17:08:52 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p81dV-0003PS-0I; Wed, 21 Dec 2022 11:08:05 -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 1p81dT-0003P4-Hv for emacs-orgmode@gnu.org; Wed, 21 Dec 2022 11:08:03 -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 1p81dR-00077D-A9 for emacs-orgmode@gnu.org; Wed, 21 Dec 2022 11:08:03 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 2F4CC240027 for ; Wed, 21 Dec 2022 17:07:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1671638879; bh=OzKXXzoOdoc+GNdaMG/HHxGi0fdnm9ZwSxCZd9781qE=; h=From:To:Cc:Subject:Date:From; b=EjgOpUIV7O43dZUdNMJrpiv4o5EDHI5p1MTRcWRIPBC9JkImv65U0TKt5gK6jztRp EBQWRosfh3C3MtdSY+7sRDNSMLaRLSTQ47/FjppyCPH1WJ7oCVQF+9/efxoge1glu8 dUM1i5dqxpiz401SvUgB05TyHWrOMF1fbRWx2jA/8K/oON27ltKE/MMBCiAWFqZZuW LoC9Epu/SnPA0xw/3B61JrbAV1qzRfT3A/YY7Z+emcZvfTx+l3WWbVFvAere5Em2Jl fiaItyH7PWpsXiE/8kT4Z+9pu7Xbgqb8XTLw3CHB9kshUuEJJYp/WjZlhhNVs5q4i3 QbYDo60Ut2psg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NcddV4JPWz6tmF; Wed, 21 Dec 2022 17:07:58 +0100 (CET) From: Ihor Radchenko To: "Fraga, Eric" Cc: Emacs Org mode mailing list Subject: Re: org-persist files in /tmp In-Reply-To: <87a63g21ej.fsf@ucl.ac.uk> References: <87len0uc7y.fsf@ucl.ac.uk> <87tu1ovlsn.fsf@localhost> <87a63g21ej.fsf@ucl.ac.uk> Date: Wed, 21 Dec 2022 16:07:51 +0000 Message-ID: <87r0wsviy0.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, SPF_HELO_NONE=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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671638933; a=rsa-sha256; cv=none; b=czuFXFNEHAujz+XcMMmJJq6xbri7Vd5gMB+Bt/myEKEbeQVpohcp6yXFXUXCLBT/Bp6oO3 tOFRRNCEZsYb7+WGkUS9e9g9dublghTabSdm7BcZIu7qCmGYPAoOW58HM/v73EVoc3GdVg PUjj5mnBeiyTXWOTorqH8o45I9KCIYk75YpqO6HrVPeydTNz/kV0tfogMji6PjbXceaIqY IyjRPm/9Mzek714CkkNh6/HuoRlKsQjWeYhOYIIYy2IcOVmht7QW5Ig/j+OMN90IeZq2qX EsPj3DWTrC+w0fx877gwJ15ot/FWBMfGkT+I9R6qV5iIypR0aydLu3qn2FYEpA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=EjgOpUIV; 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=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671638933; 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=3ggqAku8PWVPFDCwXi3MbqKlpwIlJZKmsBQPzqrojkY=; b=OniH8+9cX2Sqrmf+Rr0K1j8Ugk1Kh0Tzv6UOh9qKKHpN6scbqJNCpD/8J1si8NcyechsXw WIzxYRNsHIg7mh64k0ei+xJPasPDQw5IpJLVxv9mGCdKfxEEqjThYn0yL3Ot7L0nT+4Up7 DHYdjHVHzkgdnYT658qkqsg1Met4YwSfAsvAaFyPjzMLBRkPsOoO4Zm1qMwjQ789SewYky rlk232wrG14ciLsS09WYpS+VyhLyAQc/h6YsMrSm75YGt5PoF1SlkNrtb4PoIheQs4bItY eDI8KdfJvVpxSusWYM5VNQFFrduKiwmnq71adj4OM7tB6pfaZL2NM5sVTAa1Pw== X-Spam-Score: -10.72 X-Migadu-Queue-Id: E9A9B12E05 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=EjgOpUIV; 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=pass (policy=none) header.from=posteo.net X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -10.72 X-TUID: 4jiHFQ+PD78r "Fraga, Eric" writes: > On Wednesday, 21 Dec 2022 at 15:06, Ihor Radchenko wrote: >> If you run something like make test or emacs -Q + org, it is expected. >> These are throwaway directories used by org-persist for emacs -Q. > > I am not explicitly running either of those (at the moment). > > I wonder if this is somehow related to native compilation or some other > post-build processes as I have built Emacs twice from git today (and I > always update org when I build Emacs) and these directories have > appeared soon thereafter (I think). Could be. If so, it may indicate some issue with logic. The index should not be written if the only entry inside index file is index version itself. You should _not_ see something like ((:container ((index "2.7")) :persist-file "d0/5078fe-5e31-4ddb-95a0-93ceae58df0c" :associated nil :expiry never :last-access 1671637032.483552 :last-access-hr "2022-12-21T18:37:12+0300")) as the only contents of "index" file. >> Do we need to care about cleaning up /tmp? > > Maybe not but I do use /tmp for some things and having tens of these > directories does clutter things up a bit. I'm happy to ignore but was > curious as to why they were there at all. This has been introduced in 2944a2152d491452697cc4db538d6b2344c0e37d Author: Ihor Radchenko org-persist: Use temporary index for emacs -Q * lisp/org-persist.el (org-persist--disable-when-emacs-Q): Rename `org-persist-disable-when-emacs-Q' to internal variable. Update the docstring. (org-persist-read): (org-persist-write): (org-persist-gc): Do not disable persistence. Persistence is necessary for remote file caching to work within a single Emacs session. Instead, use temporary directory as index for emacs -Q. Also, see https://orgmode.org/list/1158097067.265983.1670026787291@mail1.libero.it -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at