GNU bug report logs - #71992
30.0.60; major-mode-remap-alist doesn't work for combination js-mode + js-ts-mode

Previous Next

Package: emacs;

Reported by: Roman Rudakov <rrudakov <at> fastmail.com>

Date: Mon, 8 Jul 2024 08:15:02 UTC

Severity: normal

Found in version 30.0.60

Done: Jeremy Bryant <jb <at> jeremybryant.net>

Bug is archived. No further changes may be made.

Full log


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

From: Jeremy Bryant <jb <at> jeremybryant.net>
To: Roman Rudakov <rrudakov <at> fastmail.com>
Cc: 71992 <at> debbugs.gnu.org
Subject: Re: bug#71992: 30.0.60; major-mode-remap-alist doesn't work for
 combination js-mode + js-ts-mode
Date: Mon, 08 Jul 2024 22:37:50 +0100
Roman Rudakov <rrudakov <at> fastmail.com> writes:

> 1. Evaluate: (setopt major-mode-remap-alist '((js-mode . js-ts-mode)))
> 2. C-x C-f ~/tmp.js
>
> Expected result:
>
> major-mode is js-ts-mode
>
> Actual result:
>
> major-mode is js-mode
>
>
> In GNU Emacs 30.0.60 (build 1, aarch64-apple-darwin23.5.0, NS
> appkit-2487.60 Version 14.5 (Build 23F79)) of 2024-07-06 built on
> Romans-MBP.home
> Windowing system distributor 'Apple', version 10.3.2487
> System Description:  macOS 14.5
>

FWIW, I've been able to reproduce this bug report in 30.0.60 and 29.4




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

Previous Next


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