all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jeremy Bryant via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Roman Rudakov <rrudakov@fastmail.com>
Cc: 71992@debbugs.gnu.org
Subject: 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	[thread overview]
Message-ID: <87cynno98x.fsf@jeremybryant.net> (raw)
In-Reply-To: <m2jzhw47y3.fsf@Romans-MBP.home> (Roman Rudakov's message of "Mon, 08 Jul 2024 10:13:56 +0200")


Roman Rudakov <rrudakov@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





  reply	other threads:[~2024-07-08 21:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-08  8:13 bug#71992: 30.0.60; major-mode-remap-alist doesn't work for combination js-mode + js-ts-mode Roman Rudakov
2024-07-08 21:37 ` Jeremy Bryant via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-07-08 23:55   ` Dmitry Gutov
2024-07-09  8:51     ` Roman Rudakov
2024-07-09 20:35       ` Jeremy Bryant via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87cynno98x.fsf@jeremybryant.net \
    --to=bug-gnu-emacs@gnu.org \
    --cc=71992@debbugs.gnu.org \
    --cc=jb@jeremybryant.net \
    --cc=rrudakov@fastmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.