From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: philip@warpmail.net (Philip K.) Newsgroups: gmane.emacs.bugs Subject: bug#41060: [PATCH] Use write-region when saving recentf file Date: Sun, 03 May 2020 23:22:48 +0200 Message-ID: <875zdciuhj.fsf@bulbul> References: <87zhapx94a.fsf@bulbul> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="16462"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41060@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 03 23:23:10 2020 Return-path: Envelope-to: geb-bug-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 1jVM4s-0004Al-9k for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 May 2020 23:23:10 +0200 Original-Received: from localhost ([::1]:35216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVM4r-00020v-Ca for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 May 2020 17:23:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVM4k-0001z3-Ht for bug-gnu-emacs@gnu.org; Sun, 03 May 2020 17:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46653) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVM4k-0000J4-8f for bug-gnu-emacs@gnu.org; Sun, 03 May 2020 17:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jVM4k-0002EO-4P for bug-gnu-emacs@gnu.org; Sun, 03 May 2020 17:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: philip@warpmail.net (Philip K.) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 May 2020 21:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41060 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 41060-submit@debbugs.gnu.org id=B41060.15885409798553 (code B ref 41060); Sun, 03 May 2020 21:23:02 +0000 Original-Received: (at 41060) by debbugs.gnu.org; 3 May 2020 21:22:59 +0000 Original-Received: from localhost ([127.0.0.1]:58199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVM4h-0002Ds-9W for submit@debbugs.gnu.org; Sun, 03 May 2020 17:22:59 -0400 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:52077) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVM4f-0002De-UM for 41060@debbugs.gnu.org; Sun, 03 May 2020 17:22:58 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id D27B65C0105; Sun, 3 May 2020 17:22:51 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 03 May 2020 17:22:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=warpmail.net; h= from:to:cc:subject:in-reply-to:date:message-id:mime-version :content-type; s=fm3; bh=Rv5D8udnZpLevgdupuOI25+ssg0UV946bLcZ4aA Qg6s=; b=Ff+jReAFaiXYDGVjnchXIIOQgmiNi5LSSfvQOcZbVzVOP3DqSZgZ5Pn HMcHbFG++6LeoWfp+MO0ci4CM1mhZxipXPsJ3Mknnu/FkqymVt5kf1wlY3JGqAJW M6a27WJm7lYX02CxNAH8tORzYKnsUqMj3AFpdSoQMb4Ri0kpgQgFgzlN+8NIC33S A/aDUsaUo6ySBtxoKbKYaV9ZEPN5CLIVz+yKxWhfw6DYZzFJrRYThlfgQmZXN2ul gCoAQ+/8d9/8NVq5tre+34N8T9Tyzoz1QwazVXM9UR8L33SIW2Ja7qMCEEbBNmdu D+BXVsoF7s2h9XE6PSxDK8oOKrKopqQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Rv5D8udnZpLevgdup uOI25+ssg0UV946bLcZ4aAQg6s=; b=M1B+eLmZtahvZHmz/hX/mB6ibkDPVZrWg 8thhzfTHlE34YF8UJHsZsc96Ncp/psDIAFCxFdjxgbhAVSWtCAc4I7Ve3TOTAnpZ bda808tZ/pMXLtx/kMs5mwmyhvOPPp8enubvIY2TbA52kltNh19xH8yvBep8GyvT 1ZPmj4WvnGO/6c1KfFuC0DbtYsK0+RkpW+PYNc6ZG65xgUZQgwkrcOfW2taJ1Ncj cI7i5d99qtn1J88lFCMcWdDJdvKcdJqn/uEKO53Qjhh7sA3I0eUtK0QF9J5cmIGk BHqDx6CHzGIxwCr4+Tk9+swZOOUSqyyv/oxvxJteSECPuuRroVaCw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrjedvgdduiedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfffkgggtsehttdertddttddtnecuhfhrohhmpehphhhilhhiphes figrrhhpmhgrihhlrdhnvghtucdlrfhhihhlihhpucfmrddmnecuggftrfgrthhtvghrnh epffehvdefhfdttedtveelieekgefgjeeuvddvtdduvdefkedvvdevkeelfeehvdeunecu kfhppeekjedrudeghedrudefrdduuddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomhepphhhihhlihhpseifrghrphhmrghilhdrnhgvth X-ME-Proxy: Original-Received: from localhost (p57910d6e.dip0.t-ipconnect.de [87.145.13.110]) by mail.messagingengine.com (Postfix) with ESMTPA id 2FB5A3065FBF; Sun, 3 May 2020 17:22:51 -0400 (EDT) In-Reply-To: <83368gq0uc.fsf@gnu.org> (message from Eli Zaretskii on Sun, 03 May 2020 22:23:39 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:179624 Archived-At: Eli Zaretskii writes: >> From: philip@warpmail.net (Philip K.) >> Date: Sun, 03 May 2020 18:43:01 +0200 >> >> This patch does just that, replacing write-file with write-region, >> because I argue that an automatically generated file doesn't need >> backups. > > Not even one backup? No, as seems to be the default with other auto-generated files. > Also, why impose this change on everyone, when backups for a specific > file can be disabled by the user at will? I understand the argument, but I don't see why anyone would be interested in backups for a file they don't actually visit + it's appears to be inconsistent behaviour, as mentioned above. -- Philip K.