From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Perry Smith Newsgroups: gmane.emacs.help Subject: Re: js2-mode and nxhtml Date: Sun, 26 Jun 2011 11:05:20 -0500 Message-ID: <0E6C50AD-EFD9-47E2-A24D-BCC6D85A7682@gmail.com> References: <80hb7csity.fsf@news.eternal-september.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1309104447 2846 80.91.229.12 (26 Jun 2011 16:07:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 26 Jun 2011 16:07:27 +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 18:07:23 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 1Qarrm-0004qS-CJ for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Jun 2011 18:07:22 +0200 Original-Received: from localhost ([::1]:59733 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qarrl-0003EJ-4O for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Jun 2011 12:07:21 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qarpz-0003Dc-1z for help-gnu-emacs@gnu.org; Sun, 26 Jun 2011 12:05:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qarpt-0000su-Oc for help-gnu-emacs@gnu.org; Sun, 26 Jun 2011 12:05:30 -0400 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:64387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qarpt-0000sn-G3 for help-gnu-emacs@gnu.org; Sun, 26 Jun 2011 12:05:25 -0400 Original-Received: by iyl8 with SMTP id 8so4739288iyl.0 for ; Sun, 26 Jun 2011 09:05:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=LVZHk7M47fT2aNDsxOg8aEpK/GjudQAFC6Lgr4C+qSs=; b=o9bW9GW6M4KC2B8g9EQ3rGGHzJyf+Ym9y2AqoHH3gGhPWEoqyV7TDjFjTeZRb0B2Ze zwc1K2qJRrhAy1lFV+oeDTPwZ+DiaGwH/M9iz5yT4ZCB4evnO5eVuyXpByXWsYGebn4E TLmTKKMHlJ/FRGIZdoig4lIT+EkuvjwTW+MgM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=xZjhPIYICropG4OHYfS/3Vb3q4qEjOyQza8ENbnvgs2pdmpq0TSSm+nP2hQBw4GD9S PAP7VGZoBKp3h4C3r9FeWiwFbOU5dfoIGJuIy5QB1/YNe7OXO+QzYoDUCzFOpCUhZhRO vZwhABSHjhO3QBTw9v0V6W85v//yk1OTcfvQo= Original-Received: by 10.42.153.4 with SMTP id k4mr6482387icw.103.1309104324191; Sun, 26 Jun 2011 09:05:24 -0700 (PDT) Original-Received: from [10.0.0.4] ([64.128.19.234]) by mx.google.com with ESMTPS id in11sm2571327ibb.5.2011.06.26.09.05.22 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 26 Jun 2011 09:05:23 -0700 (PDT) In-Reply-To: <80hb7csity.fsf@news.eternal-september.org> X-Mailer: Apple Mail (2.1084) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 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:81448 Archived-At: Oh bummer... I had this problem but did not keep careful notes. If you dump out the auto-mode-alist before nxhtml loads, it will be like = you want it. If you dump it out after it loads, it will have extra = entries that is causing the problem. I don't recall what I did to fix = it. I may have just found where nxhtml added its entries and deleted it = from my copy of the source. Hopefully, this vague reply will help you track it down. pedz On Jun 26, 2011, at 10:39 AM, Richard Riley wrote: >=20 > 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. >=20 > I modified mumamo-major-modes >=20 > mumamo-major-modes is a variable defined in `mumamo.el'. > Its value is=20 > ((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)) >=20 > What else needs to be done? >=20 > I also added js2-mode to the auto-mode-alist >=20 > (add-to-list 'auto-mode-alist '("\\.js$" . js2-mode)) >=20 > thanks >=20 > r. >=20 >=20