From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastien Vauban Newsgroups: gmane.emacs.bugs Subject: bug#20927: 24.5; Cygwin Emacs completely blocks for 5+ seconds Date: Thu, 02 Jul 2015 11:09:49 +0200 Organization: Sebastien Vauban Message-ID: <86oajvncwy.fsf@example.com> References: <83y4j24kqg.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1435828281 7185 80.91.229.3 (2 Jul 2015 09:11:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Jul 2015 09:11:21 +0000 (UTC) Cc: 20927-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Thu Jul 02 11:11:13 2015 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 1ZAaWW-0004ac-Ba for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Jul 2015 11:11:12 +0200 Original-Received: from localhost ([::1]:35403 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAaWV-0006nn-Jl for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Jul 2015 05:11:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAaWS-0006nh-Jc for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Thu, 02 Jul 2015 05:11:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZAaWO-0004Kv-4k for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Thu, 02 Jul 2015 05:11:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAaWO-0004Kn-0p for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Thu, 02 Jul 2015 05:11:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZAaWM-00042m-TS for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Thu, 02 Jul 2015 05:11:03 -0400 X-Loop: help-debbugs-mXXj517/zsQ@public.gmane.org Resent-From: Sebastien Vauban Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org Resent-Date: Thu, 02 Jul 2015 09:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs-mXXj517/zsQ@public.gmane.org X-GNU-PR-Message: followup 20927 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20927-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org id=B20927.143582821315481 (code B ref 20927); Thu, 02 Jul 2015 09:11:02 +0000 Original-Received: (at 20927) by debbugs.gnu.org; 2 Jul 2015 09:10:13 +0000 Original-Received: from localhost ([127.0.0.1]:36915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZAaVX-00041c-L2 for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Thu, 02 Jul 2015 05:10:12 -0400 Original-Received: from dd5e0353a.access.telenet.be ([213.224.53.58]:58826 helo=mail.missioncriticalit.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZAaVT-000417-QF for 20927-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Thu, 02 Jul 2015 05:10:09 -0400 Original-Received: from MUNDANEUM (unknown [10.10.10.51]) by mail.missioncriticalit.com (Postfix) with ESMTPS id 8A832500E01; Thu, 2 Jul 2015 11:10:01 +0200 (CEST) X-Url: Under construction... X-Archive: encrypt In-Reply-To: (Eli Zaretskii's message of "Tue, 30 Jun 2015 18:17:17 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) X-BeenThere: debbugs-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs-mXXj517/zsQ@public.gmane.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-mXXj517/zsQ@public.gmane.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.bugs:104601 Archived-At: Eli Zaretskii writes: >> From: Sebastien Vauban >> Cc: 20927-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org >> Date: Tue, 30 Jun 2015 10:30:02 +0200 >> >> >> I've tracked down this problem in Cygwin Emacs, and it's due to this >> >> line: >> >> >> >> --8<---------------cut here---------------start------------->8--- >> >> (global-auto-revert-mode 1) ; Auto refresh buffers. >> >> --8<---------------cut here---------------end--------------->8--- >> >> >> >> When it's commented, Cygwin Emacs behaves normally. >> > >> > Probably because you use glib's notifications, >> >> If you say so (I'm not even aware of what that is)... > > It's a library which implements file notifications. > >> Would you advice me to put: >> >> --8<---------------cut here---------------start------------->8--- >> ;; Don't use file notification functions. >> (setq auto-revert-use-notify nil) >> --8<---------------cut here---------------end--------------->8--- >> >> just for Cygwin Emacs (where the problem was visible) > > Since Ken cannot reproduce this in his Emacs, I'd suggest to try and > figure out why you are hit by this problem, while he is not. That stays a mystery. > For starters, does the problem happen in "emacs -Q"? I guess not. I should try to get a recipe for reproducing it from emacs -Q, that's right. > If so, I suggest to compare the versions of glib you and Ken use. I use his Cygwin Emacs package (now, 24.5.2). Dunno about glib versions. >> or for both Windows and Cygwin Emacs? > > No, the native Windows build of Emacs doesn't use glib (it can be > built like that, but when I tried this, file notifications simply > didn't work at all). It uses a native Windows API for receiving file > notifications. So this is definitely not needed in the native Windows > build. Thanks for this precision.