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


Message #144 received at 12507 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Karl Fogel <kfogel <at> red-bean.com>
Cc: larsi <at> gnus.org, cyd <at> gnu.org, 12507 <at> debbugs.gnu.org, drew.adams <at> oracle.com
Subject: Re: bug#12507: [debbugs-tracker] Processed: severity 12507 wishlist
Date: Wed, 23 Sep 2020 17:27:46 +0300
> From: Karl Fogel <kfogel <at> red-bean.com>
> Date: Wed, 23 Sep 2020 01:41:52 -0500
> Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, Chong Yidong <cyd <at> gnu.org>,
>  12507 <at> debbugs.gnu.org
> 
> This way we would still use `write-region' and avoid visiting the file.

Why do we have to keep to use write-region?

> Even though we don't know exactly why Richard made the original motivating change (commit cfde584f6d, see [b] below), there was some problem with `write-file' -- so we shouldn't just go back to that, because a regression would be likely.

You already had this discussion with Richard back then, see

  https://lists.gnu.org/archive/html/emacs-devel/2005-05/msg01376.html

If what Richard wrote in response is not clear enough, we can ask him
to try to elaborate.




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.