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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 53568 in the body.
You can then email your comments to 53568 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#53568; Package emacs. (Thu, 27 Jan 2022 04:27:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Arni Magnusson <thisisarni <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 27 Jan 2022 04:27:02 GMT) Full text and rfc822 format available.

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

From: Arni Magnusson <thisisarni <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 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)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53568; Package emacs. (Thu, 27 Jan 2022 16:13:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Arni Magnusson <thisisarni <at> gmail.com>
Cc: 53568 <at> debbugs.gnu.org
Subject: Re: bug#53568: Keyword "setx" in `bat-mode`
Date: Thu, 27 Jan 2022 17:12:42 +0100
Arni Magnusson <thisisarni <at> gmail.com> writes:

> 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.

Thanks; pushed to Emacs 29 (with an added ChangeLog-style commit
message).

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 53568 <at> debbugs.gnu.org and Arni Magnusson <thisisarni <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 27 Jan 2022 16:14:01 GMT) Full text and rfc822 format available.

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

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

Previous Next


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