From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jonathan Goldblatt Newsgroups: gmane.emacs.bugs Subject: Re: changed on disk; really edit the buffer? Date: Mon, 19 Nov 2007 07:46:36 -0500 Message-ID: <18241.34220.668384.165761@tower.localdomain> References: <4739B12F.7000400@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1195476420 9068 80.91.229.12 (19 Nov 2007 12:47:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2007 12:47:00 +0000 (UTC) Cc: stephan.lukits@FernUni-Hagen.de, bug-gnu-emacs@gnu.org To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 19 13:47:06 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Iu61n-00052t-Vn for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Nov 2007 13:47:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iu61a-0004nQ-3P for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Nov 2007 07:46:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iu61S-0004j8-Am for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2007 07:46:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iu61R-0004hK-4T for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2007 07:46:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iu61Q-0004gx-TF for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2007 07:46:40 -0500 Original-Received: from smtp107.plus.mail.re1.yahoo.com ([69.147.102.70]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Iu61P-0003kJ-N3 for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2007 07:46:39 -0500 Original-Received: (qmail 94670 invoked from network); 19 Nov 2007 12:46:38 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:Received:From:Message-ID:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:To:Cc:Subject:In-Reply-To:References:X-Mailer; b=v38Wk/EJzd9B5AvEcQuMXQdG6AtA7vbVYSjDIQXt6E+LfQODg9WF00HynL/QmoVK6iP19SakAsRqkK5w9EeD5Wl0gy28NMpscG0uluU1aNVaRuCXKerQWh0obEy7UPb7B+TCIh/a8pSmJPeoCkm2AvI8/f04SHi4+49kVm5eSYw= ; Original-Received: from unknown (HELO tower.localdomain) (pseudonymous6@76.160.64.172 with plain) by smtp107.plus.mail.re1.yahoo.com with SMTP; 19 Nov 2007 12:46:38 -0000 X-YMail-OSG: 1ZxY3FMVM1nU_l.cjl9e2CEKi.v.8p5eGXERa04C3PsUv5DFl6DrlHdaB.RTg7z0YLQUQnMDUw-- Original-Received: from jonathan by tower.localdomain with local (Exim 4.50) id 1Iu61M-0001tM-Ve; Mon, 19 Nov 2007 07:46:37 -0500 In-Reply-To: X-Mailer: VM 7.18 under Emacs 21.4.1 X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17017 Archived-At: >>>>> "Richard" == Richard Stallman writes: Richard> Indeed. Given the fact that apparently you are Richard> the first to report this bug it seems that the Richard> option `auto-save-visited-file-name' is hardly ever Richard> useful (at least nowadays). ... Richard> The most attractive solution would be to get Richard> rid of it. Richard> Maybe we should do that, but before we do, we should Richard> ask the users whether they mind. Maybe some people Richard> have good reasons to use it. I haven't used auto-save-visited-file-name. But if I did the motivation would be to have a hook run at the time of the autosave. From the documentation I would assume that the various write file hooks would be run at the time of the auto-save, and would try to use saving to the file as a kludge to make what I wanted happen. Maybe the solution is a new hook variable that defaults to the current auto-save function. While on the subject of possible improvements to auto-save, it would also be nice to have a command to compare the auto-save file to the official copy; of course I might just not have found it yet. Jonathan