GNU bug report logs - #2696
23.0.91; flyspell in TeX cite commands

Previous Next

Package: emacs;

Reported by: Juan Fiol <fiol <at> cab.cnea.gov.ar>

Date: Tue, 17 Mar 2009 16:15:03 UTC

Severity: minor

Tags: wontfix

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Juan Fiol <fiol <at> cab.cnea.gov.ar>
Cc: 2696 <at> debbugs.gnu.org
Subject: bug#2696: 23.0.91; flyspell in TeX cite commands
Date: Tue, 17 Mar 2009 22:33:52 +0100
> 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





This bug report was last modified 14 years and 9 days ago.

Previous Next


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