From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.devel Subject: Re: vc-find-revision-no-save? Date: Sat, 29 Oct 2022 06:46:00 +0000 Message-ID: <878rkz161j.fsf@posteo.net> References: <878rl543co.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15568"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , dgutov@yandex.ru, john@yates-sheets.org, emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Oct 29 08:47:30 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 1oofcu-0003ob-Q9 for ged-emacs-devel@m.gmane-mx.org; Sat, 29 Oct 2022 08:47:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oofc6-0001aA-8a; Sat, 29 Oct 2022 02:46:38 -0400 Original-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 1oofbd-0001T9-3t for emacs-devel@gnu.org; Sat, 29 Oct 2022 02:46:19 -0400 Original-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 1oofbY-0003qx-T7 for emacs-devel@gnu.org; Sat, 29 Oct 2022 02:46:08 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 23517240101 for ; Sat, 29 Oct 2022 08:46:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667025962; bh=TnIM36WqJEBhN6rgf6/S25iPTK73eeYDz/doFhnqsfI=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=fVeQ9EUHaXsLI68AhDTrWDNbtzpI1vteb2NKLsOOtZtRKSEHTLpDxbiZucPZG/PPW izyEmu/zZQPqQdQYtBPCuhsAic3vI7F+LdTHq7k0vxbWOeFScGTjobZl6h2Tqr6wOv WnSURvKFtDP1DmgiRg+vS6ya6SLFYGCoMV2ZrTeRqnlowyqCTI/ERk4jgs+ORrRBLr J9sIHwX8VVzeqPxNXcz42A1yZqjetno75SLNSDfpUysbXZjlAHzZ0Kq4zL1ZWaJRRy SmpQ4k6Il2+ZqxgS3u0in10RSWnB16hwo00Ag8R74M7Qq3ZX5CEQjlHITLwBkUY32U g8z1H9fLj4ORw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MzqgY2kC9z6tpl; Sat, 29 Oct 2022 08:46:01 +0200 (CEST) In-Reply-To: (Richard Stallman's message of "Fri, 28 Oct 2022 17:57:10 -0400") Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:298723 Archived-At: Richard Stallman writes: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > I can answer this one: because back when we wrote this code, the "Git" > > of the day was called "CVS" and getting a historic revision required > > fetching it from the centralized server, so you were usually quite happy > > to keep a local copy, even if you had to erase them manually every once > > in a while. > > I still sometimes use CVS, and this feature is still useful with it. In that case the suggestion to change the behaviour depending on the VCS should be fine. If a VCS requires a network connection, storing the files locally can be helpful. Adding a third value for `vc-find-revision-no-save', something like `if-remove', could be a nice default. > > > If that is the motivation, is there a reason the files are stored on the > > > current working directory, instead of using /tmp or ~/.cache? > > I think it is natural to put old-version files in the same directory > with the work files. That's where one can find them again. Natural out of habit or natural out of necessity? I remember being surprised that after inspecting a few old versions of a file that my directory was littered with the these files.