[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12507: [debbugs-tracker] Processed: severity 12507 wishlist
From: |
Thierry Volpiatto |
Subject: |
bug#12507: [debbugs-tracker] Processed: severity 12507 wishlist |
Date: |
Sat, 29 Sep 2012 18:57:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
"Drew Adams" <drew.adams@oracle.com> writes:
>> What I want to say is, why writing to buffer "*Bookmarks*", renaming
>> this buffer to the filename buffer, and then saving it?
>> Just use find-file-noselect, write data and save.
>
> I see. You're talking only about the first arg of `with-current-buffer'. I
> thought you were talking about `write-file' vs `save-buffer' and claiming that
> there were two writes with the former.
>
> Yes, of course. There is no need to use a different buffer, *Bookmarks*,
> instead of the return value of `find-file-noselect'. I thought we had already
> covered that.
>
> There still might be a reason to use `write-file' instead of `save-buffer'.
> But
> as I say, what's important is to decide about whether to allow backing up (and
> visiting the file).
Agree.
--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
- bug#12507: [debbugs-tracker] Processed: severity 12507 wishlist, (continued)
bug#12507: [debbugs-tracker] Processed: severity 12507 wishlist, Thierry Volpiatto, 2012/09/29
bug#12507: [debbugs-tracker] Processed: severity 12507 wishlist, Thierry Volpiatto, 2012/09/29
bug#12507: Option `(bookmark-)version-control': Use :tag so doc string matches menu, Karl Fogel, 2012/09/30