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: Arni Magnusson <arnima <at> hafro.is>
To: 18622 <at> debbugs.gnu.org
Subject: bug#18622: 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.