From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juan Fiol Newsgroups: gmane.emacs.bugs Subject: bug#2696: 23.0.91; flyspell in TeX cite commands Date: Tue, 17 Mar 2009 23:37:36 -0300 Message-ID: <49C05E70.3000802@gmail.com> References: <49BFC9F7.1090703@cab.cnea.gov.ar> <49C01740.6030402@gmx.at> Reply-To: Juan Fiol , 2696@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1237352357 16663 80.91.229.12 (18 Mar 2009 04:59:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Mar 2009 04:59:17 +0000 (UTC) To: 2696@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 18 06:00:33 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LjntD-0002el-SF for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Mar 2009 06:00:28 +0100 Original-Received: from localhost ([127.0.0.1]:53640 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ljnrr-00068G-9K for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Mar 2009 00:59:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ljm4N-0000pj-26 for bug-gnu-emacs@gnu.org; Tue, 17 Mar 2009 23:03:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ljm4I-0000l9-AW for bug-gnu-emacs@gnu.org; Tue, 17 Mar 2009 23:03:50 -0400 Original-Received: from [199.232.76.173] (port=49705 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ljm4I-0000kx-1L for bug-gnu-emacs@gnu.org; Tue, 17 Mar 2009 23:03:46 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:54119) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ljm4H-0003Fq-As for bug-gnu-emacs@gnu.org; Tue, 17 Mar 2009 23:03:45 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2I33hfi016144; Tue, 17 Mar 2009 20:03:43 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n2I2j2D4011367; Tue, 17 Mar 2009 19:45:02 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juan Fiol Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 18 Mar 2009 02:45:02 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2696 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2696-submit@emacsbugs.donarmstrong.com id=B2696.123734386510084 (code B ref 2696); Wed, 18 Mar 2009 02:45:02 +0000 Original-Received: (at 2696) by emacsbugs.donarmstrong.com; 18 Mar 2009 02:37:45 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2I2bf6T010078 for <2696@emacsbugs.donarmstrong.com>; Tue, 17 Mar 2009 19:37:43 -0700 Original-Received: by yx-out-2324.google.com with SMTP id 8so226485yxm.31 for <2696@emacsbugs.donarmstrong.com>; Tue, 17 Mar 2009 19:37:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=q8c8Fc1xtB4vlRvUg9goFycIqcvzNKC36eIKkip1+5c=; b=Kumn7xwOVrA4w1NTvrUs9LT0odQOn6FaXHZgvBaQYHGHB5F5zcotKD/rZQGq7XOf7f kEt0ip0gSa/ydW51e+i+iZ8i5/c8nNynyAwkZ3gU4XXZ90WEWn8KvlRrniYj712SDaha oB1MoxDntV7R0NXdz8kB7kXy/rCOJ93Lcq/kI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=A6w7iYzwx76aYQpbijJqT0qUp4dVxFlWY2cP0esp7CSlye77uFWtjvK1svknvLWO0r 8AKSZV4OHWErxvyRzaDw0jB5pn2EqArcwqbeS4zWDSkRUIjE9MqHeo8J6IA4wNlYmnKi SgLpoiVpP/3NCDJPmLYsDEFha+DRC806100hM= Original-Received: by 10.90.96.1 with SMTP id t1mr413405agb.17.1237343861529; Tue, 17 Mar 2009 19:37:41 -0700 (PDT) Original-Received: from ?192.168.2.100? (host158.190-138-212.telecom.net.ar [190.138.212.158]) by mx.google.com with ESMTPS id 3sm2039489aga.0.2009.03.17.19.37.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 17 Mar 2009 19:37:41 -0700 (PDT) User-Agent: Thunderbird 2.0.0.19 (X11/20090105) In-Reply-To: <49C01740.6030402@gmx.at> X-Enigmail-Version: 0.95.7 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 17 Mar 2009 23:03:50 -0400 X-Mailman-Approved-At: Wed, 18 Mar 2009 00:58:59 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:26450 Archived-At: -----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-----