From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#13540: 24.3.50; Regression in trunk: auto-revert-mode fails on files accessed via samba Date: Fri, 25 Jan 2013 15:44:54 +0200 Message-ID: <83bocdl6ll.fsf@gnu.org> References: <8738xq3n33.fsf@gmx.de> <87sj5q281x.fsf@gmx.de> <83622mmtz7.fsf@gnu.org> <83r4lala3q.fsf@gnu.org> <83ip6llmoy.fsf@gnu.org> <83ham5llot.fsf@gnu.org> <83fw1plihu.fsf@gnu.org> <83d2wtle12.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1359121575 17683 80.91.229.3 (25 Jan 2013 13:46:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jan 2013 13:46:15 +0000 (UTC) Cc: michael.albinus@gmx.de, 13540@debbugs.gnu.org To: Dani Moncayo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 25 14:46:33 2013 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 1Tyjc1-0004ic-NL for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Jan 2013 14:46:33 +0100 Original-Received: from localhost ([::1]:52152 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tyjbk-00059N-88 for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Jan 2013 08:46:16 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tyjbb-00056d-Lq for bug-gnu-emacs@gnu.org; Fri, 25 Jan 2013 08:46:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TyjbP-0004S4-Bu for bug-gnu-emacs@gnu.org; Fri, 25 Jan 2013 08:46:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43385) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyjbP-0004Rp-7k for bug-gnu-emacs@gnu.org; Fri, 25 Jan 2013 08:45:55 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TyjbW-0008W8-8t for bug-gnu-emacs@gnu.org; Fri, 25 Jan 2013 08:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Jan 2013 13:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13540 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13540-submit@debbugs.gnu.org id=B13540.135912152832700 (code B ref 13540); Fri, 25 Jan 2013 13:46:02 +0000 Original-Received: (at 13540) by debbugs.gnu.org; 25 Jan 2013 13:45:28 +0000 Original-Received: from localhost ([127.0.0.1]:48849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tyjay-0008VN-Aw for submit@debbugs.gnu.org; Fri, 25 Jan 2013 08:45:28 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:34289) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tyjat-0008V7-C5 for 13540@debbugs.gnu.org; Fri, 25 Jan 2013 08:45:24 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MH600N00OSI1B00@a-mtaout21.012.net.il> for 13540@debbugs.gnu.org; Fri, 25 Jan 2013 15:44:47 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MH600MM1OUMS3B0@a-mtaout21.012.net.il>; Fri, 25 Jan 2013 15:44:47 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il 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.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:70291 Archived-At: > Date: Fri, 25 Jan 2013 12:19:20 +0100 > From: Dani Moncayo > Cc: michael.albinus@gmx.de, 13540@debbugs.gnu.org > > >> If the file is stored locally, it breaks two times when the file being > >> watched is updated (I have to type `c' two times). > > > > How did you "update the file", exactly? I just type something like > > > > echo "foo" >> FILE > > > > This results in only one notification, not two. Maybe your update > > method causes the file to be modified twice in a row. > > If I update the file that way (echo "foo" >> FILE), I get a single > break like you, but I get two breaks in these cases: > * Doing [echo "foo" > FILE] (i.e. replacing the file entirely). > * Updating the file using notepad. > * Updating the file using another instance of Emacs. That's expected: you get one notification when the file is shrunk to zero size (this happens when the application opens the file for writing), and then again when the new contents is written to it.