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#9717: emacs hanging in windows 7 Date: Tue, 11 Oct 2011 08:39:33 -0400 Message-ID: References: <83r52kydwx.fsf@gnu.org> <83obxoy7wd.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1318336808 15849 80.91.229.12 (11 Oct 2011 12:40:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 11 Oct 2011 12:40:08 +0000 (UTC) Cc: 9717@debbugs.gnu.org To: Argos42 Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 11 14:40:00 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RDbck-00075k-3e for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Oct 2011 14:39:58 +0200 Original-Received: from localhost ([::1]:56620 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDbci-0005iJ-UU for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Oct 2011 08:39:56 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:42819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDbcd-0005i1-3q for bug-gnu-emacs@gnu.org; Tue, 11 Oct 2011 08:39:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDbcY-0003wH-Ss for bug-gnu-emacs@gnu.org; Tue, 11 Oct 2011 08:39:51 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDbcY-0003wD-RL for bug-gnu-emacs@gnu.org; Tue, 11 Oct 2011 08:39:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RDbcp-000567-A7 for bug-gnu-emacs@gnu.org; Tue, 11 Oct 2011 08:40:03 -0400 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: Tue, 11 Oct 2011 12:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9717 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9717-submit@debbugs.gnu.org id=B9717.131833679319572 (code B ref 9717); Tue, 11 Oct 2011 12:40:03 +0000 Original-Received: (at 9717) by debbugs.gnu.org; 11 Oct 2011 12:39:53 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RDbcf-00055a-47 for submit@debbugs.gnu.org; Tue, 11 Oct 2011 08:39:53 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RDbcc-00055Q-Mo for 9717@debbugs.gnu.org; Tue, 11 Oct 2011 08:39:51 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RDbcL-00012O-Em; Tue, 11 Oct 2011 08:39:33 -0400 In-reply-to: (message from Argos42 on Tue, 11 Oct 2011 14:07:44 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 11 Oct 2011 08:40:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:52518 Archived-At: > From: Argos42 > Date: Tue, 11 Oct 2011 14:07:44 +0200 > Cc: 9717@debbugs.gnu.org > > It hangs both at home on my desktop computer (Win7.32) and a laptop at > work (Win7.64). > At home, hangs are short while at work it can last up to 30 secs. Can it be that the laptop has some power management policy defined that stops the disk after some time, and Emacs waits until it spins up? > Files are on local HD. > > I'm also wandering, is emacs trying to check my user rights over the network? If the files are local, there's nothing for Emacs to check on the network, I think. But if you can install some sniffer, like windump, and see what is the traffic on the network during these delays, that might unlock the mystery. > > In emacs -Q : same problem. > > > Other people have/had similar issues > (http://stackoverflow.com/questions/2007329/emacs-23-1-50-1-hangs-ramdomly-for-6-8-seconds-on-windows-xp > http://blog.zzamboni.org/solving-hangs-in-emacs-on-windows ...) But you said that in your case, setting w32-get-true-file-attributes to nil didn't help, didn't you? How about this setting: (setq vc-handled-backends nil) Put it in your .emacs, restart Emacs and see if the delays go away.