all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#18622: Syntax highlighting in bat-mode
@ 2014-10-03 17:58 Arni Magnusson
  2014-10-10  4:04 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Arni Magnusson @ 2014-10-03 17:58 UTC (permalink / raw
  To: 18622

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#18622: Syntax highlighting in bat-mode
  2014-10-03 17:58 bug#18622: Syntax highlighting in bat-mode Arni Magnusson
@ 2014-10-10  4:04 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2014-10-10  4:04 UTC (permalink / raw
  To: Arni Magnusson; +Cc: 18622-done

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-10  4:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-03 17:58 bug#18622: Syntax highlighting in bat-mode Arni Magnusson
2014-10-10  4:04 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.