From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#12507: [debbugs-tracker] Processed: severity 12507 wishlist Date: Sat, 29 Sep 2012 07:36:09 -0700 Message-ID: References: <87bogubqjy.fsf@gnu.org><873925ebpd.fsf@gnu.org><87ipb031aj.fsf@kwarm.red-bean.com> <87sja4t48j.fsf@gmail.com><9D98A7802F07462887BCC67BE194243B@us.oracle.com><87haqildr1.fsf@gmail.com> <877grduvfz.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1348929412 3548 80.91.229.3 (29 Sep 2012 14:36:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Sep 2012 14:36:52 +0000 (UTC) To: "'Thierry Volpiatto'" , <12507@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 29 16:36:58 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1THyA4-0007AA-9E for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Sep 2012 16:36:56 +0200 Original-Received: from localhost ([::1]:44075 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THy9z-0005UI-11 for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Sep 2012 10:36:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THy9w-0005SP-1v for bug-gnu-emacs@gnu.org; Sat, 29 Sep 2012 10:36:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1THy9v-00030i-4z for bug-gnu-emacs@gnu.org; Sat, 29 Sep 2012 10:36:47 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THy9v-00030U-0r for bug-gnu-emacs@gnu.org; Sat, 29 Sep 2012 10:36:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1THyA9-0003Nr-U4 for bug-gnu-emacs@gnu.org; Sat, 29 Sep 2012 10:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Sep 2012 14:37:01 +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: Original-Received: via spool by 12507-submit@debbugs.gnu.org id=B12507.134892939712975 (code B ref 12507); Sat, 29 Sep 2012 14:37:01 +0000 Original-Received: (at 12507) by debbugs.gnu.org; 29 Sep 2012 14:36:37 +0000 Original-Received: from localhost ([127.0.0.1]:33760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1THy9l-0003NE-1e for submit@debbugs.gnu.org; Sat, 29 Sep 2012 10:36:37 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:41571) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1THy9i-0003N6-Ng for 12507@debbugs.gnu.org; Sat, 29 Sep 2012 10:36:35 -0400 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q8TEaHX7029865 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 29 Sep 2012 14:36:18 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q8TEaGoU003232 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 29 Sep 2012 14:36:17 GMT Original-Received: from abhmt116.oracle.com (abhmt116.oracle.com [141.146.116.68]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q8TEaGlt017360; Sat, 29 Sep 2012 09:36:16 -0500 Original-Received: from dradamslap1 (/71.202.147.44) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 29 Sep 2012 07:36:16 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <877grduvfz.fsf@gmail.com> Thread-Index: Ac2eFghWhyVcdjjISHCim3AHalxMPQANtSIA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:65011 Archived-At: > > The question about visiting the file is still open, though. > > I am using now the patch I sent here yesterday and it works > really good, faster and do backups (numered) as expected. > Hope it will be applied here in emacs because it DTRT. > > I don't understand what is the problem with "visiting the file". > See in precedent post why it is not bad visiting the file. > In the special case of bookmark-write-file, it is really not the > problem. Your question is for Stefan. Your patch is equivalent to the change I proposed originally: just replace `write-region' with `write-file'. Of course it works. It is what I have been using, with no problem. But it has the other effects that Stefan mentioned, since the file is visited. He seems to be objecting to that. But it's not too clear - perhaps he was just relating why the change from `write-file' was made, without expressing any opinion. And we have not heard anything from him in reply to my statement that there seems to be no way to make a backup without also visiting the file. If that guess is correct then the choices would seem to be: 1. Provide for optional backups, visiting the file systematically. 2. Do not provide for optional backups, and never visit the file. 3. Provide for optional backups, but if the user chooses not to back up, then do not visit the file. With #3, the user would pay the price that Stefan mentions for visiting the file only when s?he chooses backup.