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: Noah Peart <noah.v.peart <at> gmail.com>
Subject: bug#67730: closed (Re: bug#67730: [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 bug report

#67730: [PATCH] Add font-locking for shebangs in js-ts-mode and typescript-ts-mode

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 67730 <at> debbugs.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: 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.

[Message part 3 (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 4 (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 5 (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)]

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

Previous Next


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