From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: native-comp write path? Date: Sat, 12 Feb 2022 14:40:10 -0500 Message-ID: References: <87fsoodx2i.fsf@wavexx.thregr.org> <831r08rn1o.fsf@gnu.org> <83v8xjrjb2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39794"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: wavexx@thregr.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Feb 12 20:43:45 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nIyJ6-000ACF-Lp for ged-emacs-devel@m.gmane-mx.org; Sat, 12 Feb 2022 20:43:44 +0100 Original-Received: from localhost ([::1]:36080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIyJ4-0004tb-9d for ged-emacs-devel@m.gmane-mx.org; Sat, 12 Feb 2022 14:43:42 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:32790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIyFr-0003L0-BB for emacs-devel@gnu.org; Sat, 12 Feb 2022 14:40:23 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:65421) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIyFn-0005EX-Sa; Sat, 12 Feb 2022 14:40:21 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id C530744001C; Sat, 12 Feb 2022 14:40:17 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 08638441466; Sat, 12 Feb 2022 14:40:12 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1644694812; bh=qZ8WZFMkZUK4nRiXq1clKkcCGK9N1DWeMwQ8iuP8yUY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=bJunQ4cfaS3uuiZBeDgZBUvK6rtr7b76RkgCgvuIhwIDOQcpdY83QwaWcCnqQEZ6T C4e0LY08KIUzZKe0U4kY1+DSskKzjA+FBRc7Mh1fZt8R4G1PGVaVcP+xm7GKCCfoPu fIsyeyfijct4VskoSuvPKVCCfXtw2Cj3diwlkhf45ii0FUjfGg1uHiK93Ysk+81t9w ZAs5+4bwlcz6lIycslXRSfXMZMv0GzmT5+442cuoHmBDYQi7/MKdiB6bY1gkso+Q+U 1VhltGqVuR3N66yx+DyDhxCvT7BmpmN7v0FFTiwq8oETp/xpVjAumQaw5BDw9NEW3E gtRdyffkVMgpg== Original-Received: from pastel (unknown [45.72.237.157]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id CD224120483; Sat, 12 Feb 2022 14:40:11 -0500 (EST) In-Reply-To: <83v8xjrjb2.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 12 Feb 2022 21:12:01 +0200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:286193 Archived-At: >> Or is XDG's cache not expected to survive a login session? > I think it can disappear when you log off. Ah... if that's the case, then indeed it's a poor choice for eln-cache. I can't seem to find clear docs about it. I see mentions of "equivalent to /var/cache", which would work well for us since `/var/cache` is normally never cleared even after a reboot. `ls -R ~/.cache` shows I have files from 2020 in my `.cache` even though I rebooted this machine 2 months ago. So empirically, it doesn't seem inappropriate on my (Debian + XFCE4) system. Stefan