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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 18622 in the body.
You can then email your comments to 18622 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#18622; Package emacs. (Fri, 03 Oct 2014 18:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Arni Magnusson <arnima <at> hafro.is>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 03 Oct 2014 18:00:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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




Reply sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
You have taken responsibility. (Fri, 10 Oct 2014 04:05:02 GMT) Full text and rfc822 format available.

Notification sent to Arni Magnusson <arnima <at> hafro.is>:
bug acknowledged by developer. (Fri, 10 Oct 2014 04:05:03 GMT) Full text and rfc822 format available.

Message #10 received at 18622-done <at> debbugs.gnu.org (full text, mbox):

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 07 Nov 2014 12:24:03 GMT) Full text and rfc822 format available.

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

Previous Next


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