From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.help Subject: js2-mode and nxhtml Date: Sun, 26 Jun 2011 17:39:21 +0200 Organization: aich tea tea pea dicky riley dot net Message-ID: <80hb7csity.fsf@news.eternal-september.org> Reply-To: help-gnu-emacs@gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309102870 27305 80.91.229.12 (26 Jun 2011 15:41:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 26 Jun 2011 15:41:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 26 17:41:07 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QarSI-0003l3-BE for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Jun 2011 17:41:02 +0200 Original-Received: from localhost ([::1]:38829 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QarSH-0007Ej-G6 for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Jun 2011 11:41:01 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QarQX-0007EO-Jm for help-gnu-emacs@gnu.org; Sun, 26 Jun 2011 11:39:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QarQV-00069G-U2 for help-gnu-emacs@gnu.org; Sun, 26 Jun 2011 11:39:13 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:46841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QarQV-00069C-Ln for help-gnu-emacs@gnu.org; Sun, 26 Jun 2011 11:39:11 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QarQT-0002yV-Uz for help-gnu-emacs@gnu.org; Sun, 26 Jun 2011 17:39:09 +0200 Original-Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Jun 2011 17:39:09 +0200 Original-Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Jun 2011 17:39:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 26 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 85.183.18.158 Mail-Copies-To: never User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:Ue9uJ14b9HiFGl9G6kDQ1dU/c+8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81447 Archived-At: 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.