From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Keith S." Newsgroups: gmane.emacs.help Subject: Re: Long pauses when opening files and other operations with emacs 23. and windows 7 Date: Wed, 16 Jun 2010 20:59:30 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <547af301-0414-43f1-9f7c-77d10af5e716@e5g2000yqn.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291944429 3210 80.91.229.12 (10 Dec 2010 01:27:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Dec 2010 01:27:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 10 02:27:03 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQrlE-0008Cq-0E for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Dec 2010 02:27:00 +0100 Original-Received: from localhost ([127.0.0.1]:60379 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQrlD-0005Yg-An for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 20:26:59 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!a2g2000prd.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 43 Original-NNTP-Posting-Host: 98.203.142.243 Original-X-Trace: posting.google.com 1276747170 17090 127.0.0.1 (17 Jun 2010 03:59:30 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 17 Jun 2010 03:59:30 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a2g2000prd.googlegroups.com; posting-host=98.203.142.243; posting-account=MIp3RwoAAABFj2fcmiCCRqqhGMUGLGI8 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729), gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:179048 X-Mailman-Approved-At: Thu, 09 Dec 2010 20:09:06 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77130 Archived-At: On Jun 16, 7:30=A0pm, Stefan Monnier wrote: > > I could definitely use some advice on this. > > When something doesn't work right after an upgrade, a good piece of > advice is to file a bug-report about it. > In the case of Emacs, you do that with M-x report-emacs-bug RET > > =A0 =A0 =A0 =A0 Stefan I think it's a little too premature to file a bug. No bug is going to get worked on if it isn't reproducible, and it's pointless to file something until I can narrow down the scope of the potential problem. Many other people have reported this issue, and several folks have offered advice. For instance, setting w32-get-true-file-attributes was certainly helpful for most of the slowdowns -- that wasn't a bug, but a change that was documented in a very old changelog. And one that most users, including myself, wouldn't have thought to connect with this problem. Right now, I think I MAY have further narrowed down the hanging problems with opening files thanks to a clue from this blog post: http://blog.zzamboni.org/solving-hangs-in-emacs-on-windows . It looks like turning off font-lock-mode globally appears to have helped. However, I've only been testing for about an hour, so it's still a little early to say. I /do/ recall reading that emacs 23 on Windows does some different things with fonts now, so it could simply have something to do with that -- like the fact that I have a surprising 323 (?!) fonts installed on this machine. Unfortunately, Google hasn't yielded any other matches associating these slowdowns with fonts. But if I conclude somewhat definitively that font-lock- mode is the culprit, I may log a bug. I upgraded to emacs 23 on another WinXP machine, and have NOT seen the problems there. There are a handful of other differences between the two machines that could affect file operations -- large number of fonts, different A/V software, presence of network drives, offline domain server vs. standalone workgroup, etc. -- so I'm still doing process of elimination, and looking to get whatever feedback I can from other users on the environments where they are experiencing this. Keith