From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: hw Newsgroups: gmane.emacs.help Subject: Re: volatile /tmp [was: how to force auto-save of buffers not visiting files, right now?] Date: Mon, 21 Mar 2022 04:41:59 +0100 Message-ID: <74c5565e34b36b2cb94bca4abadc870076df0a4d.camel@adminart.net> References: <9f32ac59eb1bc186b015c0b6c5b94822e70d4135.camel@adminart.net> <87y2164u5p.fsf@web.de> <9c3935a33573d50e595f37103434db5e29c21063.camel@adminart.net> <87ilsa61tn.fsf@web.de> <37e890d9c251b30d0caf83aa590bca1ad92ec5d4.camel@adminart.net> <87wngqclgk.fsf@gmx.de> <95f0e96687187c20086bf9f85a031a7271401407.camel@adminart.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1848"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.42.4 (3.42.4-1.fc35) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 21 04:43:06 2022 Return-path: Envelope-to: geh-help-gnu-emacs@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 1nW8wj-0000HD-Uo for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 21 Mar 2022 04:43:05 +0100 Original-Received: from localhost ([::1]:56114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nW8wi-0007T9-Hj for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 20 Mar 2022 23:43:04 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nW8vk-0007RF-Tw for help-gnu-emacs@gnu.org; Sun, 20 Mar 2022 23:42:04 -0400 Original-Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.22]:42609) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nW8vi-0005xC-L6 for help-gnu-emacs@gnu.org; Sun, 20 Mar 2022 23:42:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1647834119; s=strato-dkim-0002; d=adminart.net; h=References:In-Reply-To:Date:To:From:Subject:Message-ID:Cc:Date:From: Subject:Sender; bh=3ddRC/J0FploSA7QXXNcSytOU3+qEJxEjd+NFJ0k/8w=; b=m81kEmPt6WpplkqeT9RKIrclPkPC25cKKjGP8xEexfAOWKdSitEv810APC4HG/rgdT qyrZ8HGsV1sYl2PSncDRZk7T83Zod3eYASuqdXz+HiBThJv64OrshBR6kcYMUc+uN0Fb 8tksAroQU4REgo6fkPoh9Mdd3S01UlVzQc3IO+51FEatKc5jWolcigCc4BH9q5wJYbWV yLycXgh/hWAxZbssJ20vOR0gySJrYk3ZgfRWw816TvqwL9rDIeOuDDw0i7e7vyePK9tK rdFvKpytA+um3dCNBf6aydz0a6bU0ZPitUroJdqn9asEeB/RtV548IFBEpN9kTcGIT4Q QEBA== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":JHskdESlcvGJlcww5P8kEdDfB60eDdbwg2z1BLI60U5wCzf09BLZZsSKYxPQaavhGO/kap91D/OoCoP2QrxBY8ct0jBjyQ6QTgS1" X-RZG-CLASS-ID: mo00 Original-Received: from [IPv6:2a09:8e40:1b4d:a200:156a:299a:44c4:5337] by smtp.strato.de (RZmta 47.41.1 AUTH) with ESMTPSA id U40bf1y2L3fxCC0 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate) for ; Mon, 21 Mar 2022 04:41:59 +0100 (CET) In-Reply-To: Received-SPF: none client-ip=85.215.255.22; envelope-from=hw@adminart.net; helo=mo4-p00-ob.smtp.rzone.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_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136699 Archived-At: On Sun, 2022-03-20 at 12:13 +0100, tomas@tuxteam.de wrote: > On Sun, Mar 20, 2022 at 11:36:05AM +0100, hw wrote: > > On Sun, 2022-03-20 at 09:05 +0100, tomas@tuxteam.de wrote: > > > On Sun, Mar 20, 2022 at 08:29:55AM +0100, tomas@tuxteam.de wrote: > > > > > > [...] > > > > > > > > Apprently that leads to puttting some files into /tmp, and I would > > > > > consider it a bug to put auto-save files into /tmp because doing that > > > > > totally defeats the auto-saving because /tmp is volatile. > > > > > > Note that the convention on Gnu/Linux is to use /var/tmp for things > > > you want to persist across reboots. So perhaps just changing the > > > replacement value might make you happy. > > > > Well, I have set `tramp-auto-save-directory' to a suitable value, so > > it doesn't really matter. > > > > Shouldn't GNU Emacs use this GNU convention of using /var/tmp/ when > > it's all GNU? > > That still depends on whether people want auto-saves to persist > reboots. There doesn't seem to be a majority for it, much less a > consensus. > > So either change it for yourself (and document what you did, to > help others in your situation) or start convincing people if you > want that to become a more general default :-) Nah, it's simply a bug that files which are being stored in order to recover your work after something went wrong --- and that "something" includes having to reboot --- are being stored in such a way that recovery is impossible. It's a feature that doesn't work right and thus needs to be fixed. If people want to configure things so that they are broken, that's up to them. Intentionally choosing defaults for software in such a way that the software isn't safe to use is not sane. It would be like making guns with safety levers (or how ever they are called) that shoot you when you use the safety lever for the safeness it is supposed to provide. Maybe that works when the majority of people is insane. Are we there yet?