From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.emacs.bugs Subject: bug#12863: Annoying bug in revert-buffer Date: Mon, 12 Nov 2012 02:54:31 +0100 Organization: Decebal Computing Message-ID: <87r4nzr3fs.fsf@Compaq.site.inet> References: <87d2zkl61y.fsf@Compaq.site.inet> <2qlie83qxz.fsf@fencepost.gnu.org> <87625bsx8d.fsf@Compaq.site.inet> <20640.19434.867442.865141@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1352749903 24015 80.91.229.3 (12 Nov 2012 19:51:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Nov 2012 19:51:43 +0000 (UTC) Bcc: rgm@gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 12 20:51:54 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 1TY02z-00082U-K7 for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Nov 2012 20:51:53 +0100 Original-Received: from localhost ([::1]:47287 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TY02p-0006Wf-UP for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Nov 2012 14:51:43 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TY02l-0006VJ-IU for bug-gnu-emacs@gnu.org; Mon, 12 Nov 2012 14:51:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TY02i-0003xv-GQ for bug-gnu-emacs@gnu.org; Mon, 12 Nov 2012 14:51:39 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TY02i-0003xr-DH for bug-gnu-emacs@gnu.org; Mon, 12 Nov 2012 14:51:36 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TY037-0002VT-Rs for bug-gnu-emacs@gnu.org; Mon, 12 Nov 2012 14:52:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Cecil Westerhof Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Nov 2012 19:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12863 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12863-submit@debbugs.gnu.org id=B12863.13527498659549 (code B ref 12863); Mon, 12 Nov 2012 19:52:01 +0000 Original-Received: (at 12863) by debbugs.gnu.org; 12 Nov 2012 19:51:05 +0000 Original-Received: from localhost ([127.0.0.1]:36033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TY02C-0002Tx-Ih for submit@debbugs.gnu.org; Mon, 12 Nov 2012 14:51:04 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:53464) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TY029-0002Tc-N1 for 12863@debbugs.gnu.org; Mon, 12 Nov 2012 14:51:03 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TY01j-00063z-Rb for 12863@debbugs.gnu.org; Mon, 12 Nov 2012 14:50:35 -0500 Resent-Message-ID: <20641.21259.740267.191762@gnu.org> Resent-Date: Mon, 12 Nov 2012 14:50:35 -0500 Resent-From: Glenn Morris Resent-To: 12863@debbugs.gnu.org X-Homepage: http://www.decebal.nl/ In-Reply-To: <20640.19434.867442.865141@gnu.org> (Glenn Morris's message of "Sun, 11 Nov 2012 20:07:54 -0500") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Bogosity: no, spamicity=0.027747, v1.2.1 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Spam-Score: -4.4 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-Spam-Score: -4.4 (----) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:66822 Archived-At: Glenn, Op maandag 12 nov 2012 02:07 CET schreef Glenn Morris: > > (Please use reply-to-all) > > Cecil Westerhof wrote (on Sun, 11 Nov 2012 at 21:25 +0100): > >>>> Are you talking about auto-revert-mode? >>>> If so, C-h v auto-revert-interval (default 5 seconds). >>> >>> Actually that's probably irrelevant. >> >> Yes that is where I am talking about. Emacs sees that the file is >> changed and reloads it in the buffer. But if in the same second the >> file changes again, it is not reloaded. >> >> Here I am using: >> GNU Emacs 23.3.1 (i586-suse-linux-gnu, GTK+ Version 2.24.7) of 2011-10-3= 0 on >> build34 >> >> But I have seen the same problem under Windows. At the moment I do not >> know which version that was. If needed I can retrieve that one also. >> >> A solution would be: (also) reloading a second after a change. > > I'm still unsure if you are talking about auto-revert-mode or an > explicit call to revert-buffer. I need to communicate better. :-{ It is auto-revert-mode. When I see that it has gone wrong, I can correct it with revert-buffer. ;-} > If I read the code correctly, > revert-buffer does not care about time-stamps. auto-revert-mode does, > and I think in Emacs 24.2 and earlier, file time-stamps were only > stored to second precision. So indeed in Emacs 24.2 and earlier, file > modifications that happened within a second of reverting would > probably be invisible to auto-revert mode. But if you would revert the buffer (also) in the second after the change, the problem would be solved, > Emacs 24.3 (not yet released) will use much higher resolution > time-stamps, so this issue should be fixed there. Any idea when it will come out? OpenSuse are not very good with maintaining Emacs. My version is 3=C2=BD years old and there have been five new releases. Maybe I should install Emacs manually. --=20 Cecil Westerhof Senior Software Engineer M Cecil@Decebal.nl LinkedIn: http://www.linkedin.com/in/cecilwesterhof O< ascii ribbon campaign - stop html mail - www.asciiribbon.org Please do not send me Microsoft Office/Apple iWork documents. Send OpenDocument instead! http://fsf.org/campaigns/opendocument/