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

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

bug#2696: 23.0.91; flyspell in TeX cite commands


From: martin rudalics
Subject: bug#2696: 23.0.91; flyspell in TeX cite commands
Date: Tue, 17 Mar 2009 22:33:52 +0100
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

> When a \cite command is too large, flyspell starts to check it after a given 
lenght. For
> instance, flyspell would not check (CORRECTLY) for:
> 
\cite{Macek1970PRAp235,Shakesh1978PRLp1037,Belkic1979PRp279,Meckbac1981PRAp1793,Garibot1980PRAp572}
> but would highlight the following:
> 
\cite{Macek1970PRAp235,Shakesh1978PRLp1037,Belkic1979PRp279,Meckbac1981PRAp1793,Garibot1980PRAp572,Garibot1983PRAp2792}
> (it would highlight the last Garibot and PRAp in Garibot1983PRAp2792).
> It probably is related to the length Emacs search for regular expresions but 
I do not know
> how to fix it.

`flyspell-tex-command-p' has

          (and (re-search-backward "\\\\" (- (point) 100) t)

so maybe replacing 100 by some larger value might help.

martin







reply via email to

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