GNU bug report logs - #53568
Keyword "setx" in `bat-mode`

Previous Next

Package: emacs;

Reported by: Arni Magnusson <thisisarni <at> gmail.com>

Date: Thu, 27 Jan 2022 04:27:02 UTC

Severity: normal

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Arni Magnusson <thisisarni <at> gmail.com>
To: 53568 <at> debbugs.gnu.org
Subject: bug#53568: Keyword "setx" in `bat-mode`
Date: Thu, 27 Jan 2022 15:17:48 +1100
[Message part 1 (text/plain, inline)]
Hi,

As the author of bat-mode, I'd like to suggest adding syntax highlighting
support for the 'setx' command and the subsequent variable name.

Working from bat-mode.el in the current git repository, I added "setx" to
the list of commands and also tweaked the matcher for
`font-lock-variable-name-face`. See the attached patch.

To see the improved syntax highlighting, this example code can be used:

xcopy sty c:\home\latex\sty\spc /s /y
setx TEXINPUTS .\\;c:\home\latex\\;
echo Installation completed

Cheers,
Arni
[Message part 2 (text/html, inline)]
[bat-mode.el.patch (text/x-patch, attachment)]

This bug report was last modified 3 years and 200 days ago.

Previous Next


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