|
From: | Dmitry Gutov |
Subject: | Re: html, css, and js modes working together |
Date: | Sun, 12 Feb 2017 18:17:28 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 |
On 11.02.2017 22:20, Stefan Monnier wrote:
The way I see it is that Emacs should come with something reasonable out of the box.Agreed: html-mode should default to be an alias for "the most popular html mode that comes with Emacs". That doesn't mean that the canonical name of that mod should be `html-mode`.
Why not call it selected-html-mode or something? Isn't the most important thing to just have it in auto-mode-alist for *.html files out of the box? Also, if the function name doesn't end with "-mode", people won't try to derive from it, which is good because derived-mode-p doesn't handle aliases.
Not a huge concern, but it would make life a bit easier for mmm-mode and polymode if html-mode remainted the same as html-basic-mode.
[Prev in Thread] | Current Thread | [Next in Thread] |