GNU bug report logs - #12507
24.2.50; `bookmark-write-file': use `write-file', not `write-region', to get backups

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Mon, 24 Sep 2012 18:44:01 UTC

Severity: wishlist

Tags: notabug

Found in version 24.2.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Karl Fogel <kfogel <at> red-bean.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, cyd <at> gnu.org, 12507 <at> debbugs.gnu.org
Subject: bug#12507: [debbugs-tracker] Processed: severity 12507 wishlist
Date: Tue, 29 Sep 2020 16:29:25 +0200
Karl Fogel <kfogel <at> red-bean.com> writes:

> Lars, if you still want that change, shall we have quick conversation
> on emacs-devel about it, just people have a chance to weigh in?  I'm
> happy to make the change, but I also think it would be more coherent
> to do it together with some accompanying change that actually *uses*
> the new functionality -- and you suggested you might have some of the
> latter that you'd like to make.

I don't think further discussion of the feature is necessary, really --
it's something that I've wanted for a long time, and basically any
package that has some non-file-based data it wishes to store has to do
weird stuff if they don't want to actually visit a file to get a backup
file.

For instance `gnus-save-newsrc-file' for a particularly horrid old
example that could be reduced to a couple lines with a backup-file
function instead.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 176 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.