emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#4273: closed (flyspell-region / accept-process-out


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#4273: closed (flyspell-region / accept-process-output very slow)
Date: Sun, 10 Feb 2013 01:38:06 +0000

Your message dated Sat, 09 Feb 2013 20:37:11 -0500
with message-id <address@hidden>
and subject line Re: bug#12127: 24.1.50; ispell slow under Emacs.app
has caused the debbugs.gnu.org bug report #12127,
regarding flyspell-region / accept-process-output very slow
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
12127: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12127
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- 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 <address@hidden>

`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]




--- End Message ---
--- Begin Message --- Subject: Re: bug#12127: 24.1.50; ispell slow under Emacs.app Date: Sat, 09 Feb 2013 20:37:11 -0500 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Version: 24.3

Pat Rondon wrote:

> Apologies for the very long delay. It does in fact seem to be fixed.
[...]
> On Sun, Oct 14, 2012 at 2:40 PM, Jan Djärv <address@hidden> wrote:
[...]
>> The NS-port does not use polling anymore.  Can you test if the current
>> approach seems like an improvement?


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]