From: Richard Riley <rileyrg@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: js2-mode and nxhtml
Date: Sun, 26 Jun 2011 17:39:21 +0200 [thread overview]
Message-ID: <80hb7csity.fsf@news.eternal-september.org> (raw)
I'm trying to get the el-get js2-mode loading properly with nxhtml
installed. My .js files are still opening as "javascript-mode" instead
of javascript-ide mode however.
I modified mumamo-major-modes
mumamo-major-modes is a variable defined in `mumamo.el'.
Its value is
((asp-js-mode js-mode javascript-mode espresso-mode ecmascript-mode)
(asp-vb-mode visual-basic-mode)
(asp-csharp-mode csharp-mode)
(javascript-mode js2-mode js-mode javascript-mode espresso-mode ecmascript-mode)
(java-mode jde-mode java-mode)
(groovy-mode groovy-mode)
(nxhtml-mode nxhtml-mode html-mode))
What else needs to be done?
I also added js2-mode to the auto-mode-alist
(add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))
thanks
r.
next reply other threads:[~2011-06-26 15:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-26 15:39 Richard Riley [this message]
2011-06-26 16:05 ` js2-mode and nxhtml Perry Smith
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=80hb7csity.fsf@news.eternal-september.org \
--to=rileyrg@googlemail.com \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).