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: Juan Fiol
Subject: bug#2696: 23.0.91; flyspell in TeX cite commands
Date: Tue, 17 Mar 2009 23:37:36 -0300
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

martin rudalics wrote:
>> 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
> 
> 
Thanks for the prompt reply,
Martin's suggestion worked. I fixed it and the problem was fixed. How does it
follows now? Will it be corrected for next version of flyspell?
Thanks for your time,
Juan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknAXnAACgkQqiWjWCO20uy/LQCfaFw7aU98NLbYSpRtTgHQhWQl
+G8An2JQpNwul8vyQ3LYzeUmx9nMm9NT
=aq26
-----END PGP SIGNATURE-----






reply via email to

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