From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marc Schwartz Newsgroups: gmane.emacs.bugs Subject: bug#2056: 23.0.60; Enabling flyspell degrades performance Date: Mon, 11 May 2009 21:41:51 -0500 Message-ID: <0941AF04-D179-4244-A5D1-8488E4B13D7B@me.com> Reply-To: Marc Schwartz , 2056@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7BIT X-Trace: ger.gmane.org 1242136734 25636 80.91.229.12 (12 May 2009 13:58:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 May 2009 13:58:54 +0000 (UTC) To: 2056@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 12 15:58:44 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M3sV4-0001tE-Fo for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 May 2009 15:58:30 +0200 Original-Received: from localhost ([127.0.0.1]:41273 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3sV3-0000xb-TG for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 May 2009 09:58:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M3i6A-0007CW-K0 for bug-gnu-emacs@gnu.org; Mon, 11 May 2009 22:52:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M3i62-0007Bt-GC for bug-gnu-emacs@gnu.org; Mon, 11 May 2009 22:52:02 -0400 Original-Received: from [199.232.76.173] (port=32783 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3i62-0007Bp-E4 for bug-gnu-emacs@gnu.org; Mon, 11 May 2009 22:51:58 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56968) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M3i61-000153-PO for bug-gnu-emacs@gnu.org; Mon, 11 May 2009 22:51:58 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4C2pt40002542; Mon, 11 May 2009 19:51:55 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n4C2j4rB032454; Mon, 11 May 2009 19:45:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Marc Schwartz Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 12 May 2009 02:45:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2056 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2056-submit@emacsbugs.donarmstrong.com id=B2056.124209612132319 (code B ref 2056); Tue, 12 May 2009 02:45:04 +0000 Original-Received: (at 2056) by emacsbugs.donarmstrong.com; 12 May 2009 02:42:01 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from asmtpout024.mac.com (asmtpout024.mac.com [17.148.16.99]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4C2fwdR032310 for <2056@emacsbugs.donarmstrong.com>; Mon, 11 May 2009 19:41:59 -0700 Original-Received: from [192.168.1.100] (c-75-73-93-126.hsd1.mn.comcast.net [75.73.93.126]) by asmtp024.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KJI00D0XFHSJ420@asmtp024.mac.com> for 2056@emacsbugs.donarmstrong.com; Mon, 11 May 2009 19:41:53 -0700 (PDT) X-Mailer: Apple Mail (2.930.4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 11 May 2009 22:52:02 -0400 X-Mailman-Approved-At: Tue, 12 May 2009 09:57:51 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:27848 Archived-At: Confirming that this behavior is still present using: GNU Emacs 23.0.93.1 (i386-apple-darwin9.6.2, NS apple- appkit-949.43) of 2009-05-11 I have the following in my .emacs: (load "/Users/marcschwartz/Downloads/Emacs/flyspell/flyspell") (autoload 'flyspell-mode "flyspell" "On-the-fly spelling checker." t) (add-hook 'tex-mode-hook 'flyspell-mode) (add-hook 'text-mode-hook 'flyspell-mode) This is on a fully updated unibody MacBook Pro with OSX 10.5.6. If I comment all of the above lines, the performance of emacs is fast when editing and scrolling through a large file. If I leave the lines as is, or comment the last three lines and manually enable flyspell mode after emacs has started up, all scrolling and general cursor motion slows down to a crawl. I disabled the toolbar, as per comments in various posts, but that has no effect on emacs performance. This seems to be solely related to the use of flyspell mode. I should also note that this same performance hit occurs with the Aquamacs devel branch built from their git repo, which is based upon emacs 23. The current release Aquamacs 1.7, which is based upon emacs 22, does not exhibit this behavior.