GNU bug report logs - #4273
flyspell-region / accept-process-output very slow

Previous Next

Packages: emacs, ns;

Reported by: David Reitter <david.reitter <at> gmail.com>

Date: Thu, 27 Aug 2009 22:20:04 UTC

Severity: important

Merged with 2056, 2639, 5133, 12127

Found in version 24.1.50

Fixed in version 24.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4273 in the body.
You can then email your comments to 4273 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, nathaniel.cunningham <at> gmail.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4273; Package emacs. (Thu, 27 Aug 2009 22:20:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to David Reitter <david.reitter <at> gmail.com>:
New bug report received and forwarded. Copy sent to nathaniel.cunningham <at> gmail.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 27 Aug 2009 22:20:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: David Reitter <david.reitter <at> gmail.com>
To: Bug-Gnu-Emacs <bug-gnu-emacs <at> gnu.org>
Subject: flyspell-region / accept-process-output very slow
Date: Thu, 27 Aug 2009 18:15:07 -0400
ackage: emacs,ns
X-Debbugs-Cc:  nathaniel Cunningham <nathaniel.cunningham <at> gmail.com>

`flyspell-region' is slow to the point that it is unusable.

Emacs -Q
M-x flyspell-buffer

This will visibly go through the buffer while checking it.  It takes  
about 6 seconds for the three lines, so it's impossible to use for any  
reasonable document.

Now, repeat the above process but during spell-checking, move the  
mouse around.  --> Finishes in acceptable time.


Some debugging reveals that `accept-process-output' seems to be the  
culprit.  Commenting out the `with-local-quit' expression in `flyspell- 
word'  makes things go fast again.  Giving it a `0` for the just-this- 
one argument should prevent it from running timers, but that doesn't  
help.

Given the mouse behavior, I think there's something seriously wrong  
with the event loop or the process output handling in Nextstep.
 \

In GNU Emacs 23.1.1 (i386-apple-darwin9.7.0, NS apple-appkit-949.46)
 of 2009-08-01 on braeburn.aquamacs.org
Windowing system distributor `Apple', version 10.3.1038
configured using `configure  '--with-ns' '--without-x''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: en_US.us-ascii
  value of $LC_CTYPE: en_US.us-ascii
  value of $LC_MESSAGES: en_US.us-ascii
  value of $LC_MONETARY: en_US.us-ascii
  value of $LC_NUMERIC: en_US.us-ascii
  value of $LC_TIME: en_US.us-ascii
  value of $LANG: de_DE.ISO8859-15
  value of $XMODIFIERS: nil
  locale-coding-system: us-ascii-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<up> <up> <up> <up> C-SPC <down> <down> <down> <escape>
x f l y s <tab> r e g <tab> <return> <up> <up> <up>
<down-mouse-1> <mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <drag-mouse-1> <escape>
x f l y s <tab> r e g <tab> <return> <escape> x <up>
<return> <down-mouse-1> <mouse-1> <menu-bar> <help-menu>
<send-emacs-bug-report>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set
Starting new Ispell process [default] ...
Spell Checking completed. [3 times]





Forcibly Merged 2056 2503 2639 4273. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Fri, 28 Aug 2009 18:35:18 GMT) Full text and rfc822 format available.

Forcibly Merged 2056 2503 2639 4273 5133. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Mon, 07 Dec 2009 06:50:05 GMT) Full text and rfc822 format available.

Disconnected #2503 from all other report(s). Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Tue, 08 Dec 2009 20:20:05 GMT) Full text and rfc822 format available.

bug reassigned from package 'emacs' to 'emacs,ns'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Tue, 08 Dec 2009 20:20:05 GMT) Full text and rfc822 format available.

Severity set to 'important' from 'serious' Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> debbugs.gnu.org. (Sat, 03 Apr 2010 00:12:02 GMT) Full text and rfc822 format available.

Forcibly Merged 2056 2639 4273 5133 12127. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 03 Aug 2012 07:21:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 10 Mar 2013 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 102 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.