GNU bug report logs - #67730
[PATCH] Add font-locking for shebangs in js-ts-mode and typescript-ts-mode

Previous Next

Package: emacs;

Reported by: Noah Peart <noah.v.peart <at> gmail.com>

Date: Sat, 9 Dec 2023 19:45:02 UTC

Severity: normal

Tags: patch

Fixed in version 29.2

Done: Dmitry Gutov <dmitry <at> gutov.dev>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Dmitry Gutov <dmitry <at> gutov.dev>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#67730: closed ([PATCH] Add font-locking for shebangs in
 js-ts-mode and typescript-ts-mode)
Date: Sun, 10 Dec 2023 02:54:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 10 Dec 2023 04:53:13 +0200
with message-id <0fb4ab6e-4c89-f303-252a-97350fdfeae9 <at> gutov.dev>
and subject line Re: bug#67730: [PATCH] Add font-locking for shebangs in js-ts-mode and typescript-ts-mode
has caused the debbugs.gnu.org bug report #67730,
regarding [PATCH] Add font-locking for shebangs in js-ts-mode and typescript-ts-mode
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
67730: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67730
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Noah Peart <noah.v.peart <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Add font-locking for shebangs in js-ts-mode and
 typescript-ts-mode
Date: Sat, 9 Dec 2023 11:44:19 -0800
[Message part 3 (text/plain, inline)]
Tags: patch


* Bug: `js-ts-mode` and `typescript-ts-mode` are missing font-locking
rules for hashbang lines.

Recipe to reproduce:
Open a buffer and insert

    #!/usr/bin/env node

Run `M-x js-ts-mode` and `M-x typescript-ts-mode` to see no font-locking
is applied to the hash bang line.
[Message part 4 (text/html, inline)]
[js-ts-mode-fontify-hash-bang.patch (text/x-patch, attachment)]
[typescript-ts-mode-fontify-hash-bang.patch (text/x-patch, attachment)]
[Message part 7 (message/rfc822, inline)]
From: Dmitry Gutov <dmitry <at> gutov.dev>
To: Noah Peart <noah.v.peart <at> gmail.com>, 67730-done <at> debbugs.gnu.org
Subject: Re: bug#67730: [PATCH] Add font-locking for shebangs in js-ts-mode
 and typescript-ts-mode
Date: Sun, 10 Dec 2023 04:53:13 +0200
Version: 29.2

On 09/12/2023 21:44, Noah Peart wrote:
> Tags: patch
> 
> 
> * Bug: `js-ts-mode` and `typescript-ts-mode` are missing font-locking
> rules for hashbang lines.
> 
> Recipe to reproduce:
> Open a buffer and insert
> 
>      #!/usr/bin/env node
> 
> Run `M-x js-ts-mode` and `M-x typescript-ts-mode` to see no font-locking
> is applied to the hash bang line.

Thanks! Installed.

Note that both commit messages exceeded the allowed 78, so I had to 
amend them by hand.


This bug report was last modified 1 year and 167 days ago.

Previous Next


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