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: Thu, 24 Jan 2013 18:53:18 +0200 Message-ID: <83zjzyldz5.fsf@gnu.org> References: <8738xq3n33.fsf@gmx.de> <87sj5q281x.fsf@gmx.de> <83622mmtz7.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1359046505 30481 80.91.229.3 (24 Jan 2013 16:55:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Jan 2013 16:55:05 +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 Thu Jan 24 17:55:23 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 1TyQ5D-0008FO-4j for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Jan 2013 17:55:23 +0100 Original-Received: from localhost ([::1]:42288 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyQ4v-0005gi-SZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Jan 2013 11:55:05 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyQ4r-0005et-Ep for bug-gnu-emacs@gnu.org; Thu, 24 Jan 2013 11:55:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TyQ4p-0004fk-AD for bug-gnu-emacs@gnu.org; Thu, 24 Jan 2013 11:55:01 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42607) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyQ4p-0004ff-72 for bug-gnu-emacs@gnu.org; Thu, 24 Jan 2013 11:54:59 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TyQ4s-0008Im-3h for bug-gnu-emacs@gnu.org; Thu, 24 Jan 2013 11:55: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: Thu, 24 Jan 2013 16:55: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.135904644731840 (code B ref 13540); Thu, 24 Jan 2013 16:55:02 +0000 Original-Received: (at 13540) by debbugs.gnu.org; 24 Jan 2013 16:54:07 +0000 Original-Received: from localhost ([127.0.0.1]:48071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TyQ3y-0008HT-Ux for submit@debbugs.gnu.org; Thu, 24 Jan 2013 11:54:07 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:45126) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TyQ3v-0008HL-W9 for 13540@debbugs.gnu.org; Thu, 24 Jan 2013 11:54:05 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MH5001002ULNX00@a-mtaout20.012.net.il> for 13540@debbugs.gnu.org; Thu, 24 Jan 2013 18:53:14 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MH5001452WPLM20@a-mtaout20.012.net.il>; Thu, 24 Jan 2013 18:53:14 +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:70243 Archived-At: > Date: Thu, 24 Jan 2013 17:34:46 +0100 > From: Dani Moncayo > Cc: Michael Albinus , 13540@debbugs.gnu.org > > > I don't have access to Samba-mounted volumes. > > > > Dani, if you attach a debugger to Emacs before evaluating the above > > expression, do you see any warning messages printed by GDB? For > > example, this one: > > > > DebPrint (("watch_worker, abnormal exit: %lu\n", GetLastError ())); > > > > If you see any messages, please post them here. > > Mmmm I'm afraid I can't do that, be cause that machine doesn't have > MinGW and I'm not allowed to install it there. So you are allowed to bring the Emacs executable there, but not the GDB executable? gdb.exe and its dependency DLLs is all you need. The debugging messages are received by any debugger attached to Emacs, not just GDB. So if you have there Windows Debugging Tools, like WinDbg, you can use that to display those messages. > Another possibility would be to compile a modified version of Emacs > which dumps any useful information to a file, for example. You could redefine the DebPrint macro so that it prints stuff to stderr. Then invoke emacs.exe from the shell prompt, not via runemacs.exe or a desktop icon, and this stuff will go to the shell window. (Enlarge the "Screeen Buffer Size Height" in the Properties of the Command Prompt window to a large number, like 5000, to be able to see many past messages.) Without knowing what goes wrong with Samba-mounted volumes, the only way to deal with this is to customize auto-revert-use-notify to nil, which will fall back to the old methods of auto-reverting.