GNU bug report logs - #18622
Syntax highlighting in bat-mode

Previous Next

Package: emacs;

Reported by: Arni Magnusson <arnima <at> hafro.is>

Date: Fri, 3 Oct 2014 18:00:02 UTC

Severity: minor

Fixed in version 24.4

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Arni Magnusson <arnima <at> hafro.is>
Subject: bug#18622: closed (Re: bug#18622: Syntax highlighting in bat-mode)
Date: Fri, 10 Oct 2014 04:05:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#18622: Syntax highlighting in bat-mode

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 18622 <at> debbugs.gnu.org.

-- 
18622: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18622
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Arni Magnusson <arnima <at> hafro.is>
Cc: 18622-done <at> debbugs.gnu.org
Subject: Re: bug#18622: Syntax highlighting in bat-mode
Date: Fri, 10 Oct 2014 00:04:19 -0400
Version:24.4

> I was able to get the desired syntax highlighting by moving one underscore
> within line 81 of bat-mode.el:

>   \\<_  to  \\_<

> and a similar change in line 85.

Indeed, thank you.  Should be fixed.
A similar bug was present in prolog.el.


        Stefan

[Message part 3 (message/rfc822, inline)]
From: Arni Magnusson <arnima <at> hafro.is>
To: bug-gnu-emacs <at> gnu.org
Subject: Syntax highlighting in bat-mode
Date: Fri, 3 Oct 2014 17:58:27 +0000 (GMT)
There appears to be a bug in the syntax highlighting `bat-mode' (Emacs 
pretest 24.3.94). In the following lines, the word FOO should be 
highlighted:

  call FOO
  set FOO=42

I was able to get the desired syntax highlighting by moving one underscore 
within line 81 of bat-mode.el:

  \\<_  to  \\_<

and a similar change in line 85.

Cheers,

Arni



This bug report was last modified 10 years and 228 days ago.

Previous Next


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