From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#12507: [debbugs-tracker] Processed: severity 12507 wishlist Date: Fri, 18 Sep 2020 16:23:43 +0000 (UTC) Message-ID: <11ee80e5-6d98-4a1f-93c8-babb6da003f3@default> References: <87bogubqjy.fsf@gnu.org> <873925ebpd.fsf@gnu.org> <87363ff7qp.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5186"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Karl Fogel , 12507@debbugs.gnu.org To: Lars Ingebrigtsen , Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 18 18:38:38 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 1kJJPC-0001Dw-F9 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Sep 2020 18:38:38 +0200 Original-Received: from localhost ([::1]:57666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJJPB-0004aV-G4 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Sep 2020 12:38:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJJB4-0000L9-Q6 for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2020 12:24:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60974) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kJJB4-00066L-Gj for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2020 12:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kJJB4-00009Q-Aj for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2020 12:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Sep 2020 16:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12507 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 12507-submit@debbugs.gnu.org id=B12507.1600446234567 (code B ref 12507); Fri, 18 Sep 2020 16:24:02 +0000 Original-Received: (at 12507) by debbugs.gnu.org; 18 Sep 2020 16:23:54 +0000 Original-Received: from localhost ([127.0.0.1]:44287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJJAw-000094-Cc for submit@debbugs.gnu.org; Fri, 18 Sep 2020 12:23:54 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:59564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJJAv-00008s-6n for 12507@debbugs.gnu.org; Fri, 18 Sep 2020 12:23:53 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 08IGJiQi089810; Fri, 18 Sep 2020 16:23:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=qt3avTFuZ/GKEleYv3U0HhFIAq38CJ15bHtc3lHqGBs=; b=fVYSdaSy1j0PpYqqPlmuzM26PNxVdaP+oy/qVFEVO7Ogo+Xif6wk5rzorCpvG2APl5cG WhQzJTNESSwmWv+lRroKVXQk/tTLM9/VEzvokMqhHwrjfSv392CNgynv0aotv6147+/J Qs8908EzgLT8Z3h4H838yA0GYqelSMqwUiz7hHwE0qKRb8/qFpcVyQ8uJ9P0pJqXzvE+ Hk09ykdCl41mSkul79pYI0Nav8xiDaKHH3Ad/szHnn1oqx1tZ16FPkI6YuALT/n5wbN7 GccbYM7woh7T+EKh0KPbaCppEVdpcZ9k48fBrkRp8TXZIRxyweV4wbY0hAnSIvqDGyDu 1w== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 33gnrrg7dr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Sep 2020 16:23:47 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 08IGJcnb122741; Fri, 18 Sep 2020 16:23:46 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3020.oracle.com with ESMTP id 33h88exf68-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 18 Sep 2020 16:23:46 +0000 Original-Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 08IGNiXR018925; Fri, 18 Sep 2020 16:23:44 GMT In-Reply-To: <87363ff7qp.fsf@gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5044.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9748 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 spamscore=0 adultscore=0 suspectscore=0 phishscore=0 malwarescore=0 bulkscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009180133 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9748 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 spamscore=0 lowpriorityscore=0 malwarescore=0 mlxscore=0 bulkscore=0 suspectscore=0 clxscore=1011 mlxlogscore=999 adultscore=0 priorityscore=1501 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009180133 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:188342 Archived-At: > >> Am I wrong that `write-region' does not provide for backups? > >> If not, then this is clearly a bug, and a pretty serious one, IMO. > > > > It would be annoying litter the filesystem with backups for every > > internal configuration file. The abbrev file and desktop file are not > > backed up either, and I think that's fine. > > > > I wouldn't mind adding a global feature to optionally enable backups fo= r > > such files. >=20 > Indeed; data files are normally not backed up, and the bookmark file is > one such file. So I'm closing this bug report. >=20 > If somebody wants a global "make write-region make backup files" > (possibly on a per-mode basis?), then a new bug report should be opened. No, `write-region' should not, itself, make a backup file. It's not blanket either-everything-or-nothing. Some "data" files deserve backup; some don't. A bookmark file definitely does deserve it. It's typically updated frequently (each time a bookmark is visited). Emacs goes out of its way to protect user data. Why now we would think that only "code" or non-"data" files deserve backing up, I can't imagine. Some "data" files are quite important. A bookmark file is one such. `bookmark-write-file' should use `write-file', not `write-region'. I made that change in Bookmark+ 8 years ago.