From: Dmitry Gutov <dgutov@yandex.ru>
To: Yuan Fu <casouri@gmail.com>, Juri Linkov <juri@linkov.net>
Cc: 60526@debbugs.gnu.org, Eli Zaretskii <eliz@gnu.org>,
monnier@iro.umontreal.ca
Subject: bug#60526: 29.0.60; javascript-mode → js-mode
Date: Sun, 8 Jan 2023 13:07:41 +0200 [thread overview]
Message-ID: <d98558d7-b261-219c-ff26-006e19a74943@yandex.ru> (raw)
In-Reply-To: <C6E3C2E9-8E54-4F24-9A9C-0D16E8905E49@gmail.com>
On 08/01/2023 03:39, Yuan Fu wrote:
> Juri Linkov<juri@linkov.net> writes:
>
>>>>> - ("\\.js[mx]?\\'" . javascript-mode)
>>>>> + ("\\.js[mx]?\\'" . js-mode)
>>>>> ;;https://en.wikipedia.org/wiki/.har
>>>>> - ("\\.har\\'" . javascript-mode)
>>>>> + ("\\.har\\'" . js-mode)
>>>>> ("\\.json\\'" . js-json-mode)
>>>>> ("\\.[ds]?va?h?\\'" . verilog-mode)
>>>>> ("\\.by\\'" . bovine-grammar-mode)
>>>> This is basically a no-brainer, but we had javascript-mode there for
>>>> quite some time, and it's too late to change that for Emacs 29.
>>>> Please install on master.
>>> I thought auto-mode-alist should use the canonical name and
>>> major-mode-remap-alist maps the canonical name to the actual mode.
>> But the canonical name is js-mode, because javascript-mode is
>> an alias to js-mode.
> js-mode feels more like "implementation name" to me. After all, the name
> of the language is Javascript, not js. I think javascript-mode best
> represents "major mode for javascript", not js-mode, if you get what I
> mean.
>
javascript-mode was the name of a different mode. js-mode was a later
rewrite of it.
prev parent reply other threads:[~2023-01-08 11:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-03 18:12 bug#60526: 29.0.60; javascript-mode → js-mode Juri Linkov
2023-01-03 20:21 ` Eli Zaretskii
2023-01-04 6:40 ` Yuan Fu
2023-01-04 7:45 ` Juri Linkov
2023-01-08 1:39 ` Yuan Fu
2023-01-08 8:26 ` Juri Linkov
2023-01-08 11:07 ` Dmitry Gutov [this message]
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=d98558d7-b261-219c-ff26-006e19a74943@yandex.ru \
--to=dgutov@yandex.ru \
--cc=60526@debbugs.gnu.org \
--cc=casouri@gmail.com \
--cc=eliz@gnu.org \
--cc=juri@linkov.net \
--cc=monnier@iro.umontreal.ca \
/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.