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

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

Re: flyspell-buffer with large .tex files hang


From: Eugene Vlasov
Subject: Re: flyspell-buffer with large .tex files hang
Date: Sun, 4 Dec 2005 01:27:23 +0500

On Sat, Dec 03, 2005 at 10:58:22AM -0500 Richard M. Stallman wrote:

> Please investigate what the code is doing while it is looping.

Infinity loop occurs in flyspell-external-point-words functions, in
while loop after "Iterate on string search until string is found as
word, not as substring" comment.
Here buffer fragment, not including "" (sorry for russian letters):

" леммы.
\end{proof}

\iffalse
\newpage
\chapter{Построение "

After break, point on last char of "newpage" word.

*Backtrace*:
Debugger entered--Lisp error: (quit)
  flyspell-get-casechars()
  flyspell-get-word(nil)
  flyspell-external-point-words()
  flyspell-large-region(1 118223)
  flyspell-region(1 118223)
  flyspell-buffer()
  call-interactively(flyspell-buffer)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)

(looking-at flyspell-casechars) in flyspell-get-word return nil, then
after
(re-search-backward flyspell-casechars ...)
(re-search-backward flyspell-not-casechars ...)
point go to back to space before "леммы" word (i use "russian"
dictionary). This word returned by flyspell-get-word.
Then in flyspell-external-point-words after (split-string) for this
word program return to the begin of while loop,
(search-forward word ...) return t and move point after "newpage",
(flyspell-get-word nil) go to back to the "леммы" and go on...

I don't know what wrong here.


-- 
WBR, Eugene Vlasov        mailto:eugvv at altlinux.ru
                          JID: address@hidden




reply via email to

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