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

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

[Emacs-bug-tracker] bug#6761: closed (23.2; flyspell-prog-mode in TeX mo


From: GNU bug Tracking System
Subject: [Emacs-bug-tracker] bug#6761: closed (23.2; flyspell-prog-mode in TeX mode)
Date: Mon, 15 Nov 2010 13:24:01 +0000

Your message dated Mon, 15 Nov 2010 14:28:06 +0100
with message-id <address@hidden>
and subject line Re: bug#6761: 23.2; flyspell-prog-mode in TeX mode
has caused the GNU bug report #6761,
regarding 23.2; flyspell-prog-mode in TeX mode
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
6761: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6761
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 23.2; flyspell-prog-mode in TeX mode Date: Fri, 30 Jul 2010 06:26:00 +0100
When flyspell-prog-mode is turned on a TeX buffer, anything that has a
trailing % will be checked, for example

  bookmarksnumbered%

This is incorrect as the word is neither doc string nor comment. I run
into this bug fairly often in LaTeX class and style files.

Leo



--- End Message ---
--- Begin Message --- Subject: Re: bug#6761: 23.2; flyspell-prog-mode in TeX mode Date: Mon, 15 Nov 2010 14:28:06 +0100 User-agent: Mutt/1.5.20 (2009-06-14)
On Fri, Nov 12, 2010 at 05:59:14PM +0100, Agustin Martin wrote:
> On Fri, Jul 30, 2010 at 06:26:00AM +0100, Leo wrote:
> > When flyspell-prog-mode is turned on a TeX buffer, anything that has a
> > trailing % will be checked, for example
> > 
> >   bookmarksnumbered%
> > 
> > This is incorrect as the word is neither doc string nor comment. I run
> > into this bug fairly often in LaTeX class and style files.
> 
> I finally had time to look at this and seems I found the problem.
> flyspell-prog-mode just checks that face is not one of the faces selected as
> text faces, but does that in the char right after the word, so in
> 
> auto%
> 
> checks face in the % char getting font-lock-comment-face instead of nil as
> should be for a not-to-be-checked word.

Committed a change that should fix this, so closing this bug report. 
Just made sure that (flyspell-prog-mode) checks inside the word.

-- 
Agustin


--- End Message ---

reply via email to

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