From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Water Lin Newsgroups: gmane.emacs.help Subject: Re: How to redefine color theme of nXhtml? Date: Mon, 19 Oct 2009 15:13:38 +0800 Organization: A poorly-installed InterNetNews site Message-ID: <83hbtv3lgd.fsf@ymail.invalid> References: <83r5t6clw6.fsf@ymail.invalid> <838wfdxk4i.fsf@ymail.invalid> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1255955814 8070 80.91.229.12 (19 Oct 2009 12:36:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Oct 2009 12:36:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 19 14:36:44 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MzrTa-0004Uo-MK for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Oct 2009 14:36:38 +0200 Original-Received: from localhost ([127.0.0.1]:52846 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MzrTa-0007XH-6V for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Oct 2009 08:36:38 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!news.glorb.com!news2.glorb.com!news.glorb.com!newsgate.cuhk.edu.hk!www.shinco.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 Original-NNTP-Posting-Host: 59.37.5.24 Original-X-Trace: www.shinco.com 1255936418 22449 59.37.5.24 (19 Oct 2009 07:13:38 GMT) Original-X-Complaints-To: news@www.shinco.com Original-NNTP-Posting-Date: Mon, 19 Oct 2009 07:13:38 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt) Cancel-Lock: sha1:+nCysh3oiUUcTkGbOTDMmwGLDlg= Original-Xref: news.stanford.edu gnu.emacs.help:173997 X-Mailman-Approved-At: Mon, 19 Oct 2009 08:36:15 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:69082 Archived-At: Lennart Borgman writes: > On Thu, Oct 15, 2009 at 8:10 AM, Water Lin wrote: >> >> But I found a very strange question. >> >> When I open a PHP or html file first time, Emacs will use nXhtml for this >> file. But then I open another PHP or html files, Emacs will use php-mode >> bu not nXhtml mode for this file. >> >> How strange this is! >> >> Why? > > This happens because loading some elisp tells Emacs to use a new major > mode for a file extension. In this case php-mode.el probably tells > Emacs to use php-mode for .php-files. > > I have done a workaround for this in nXhtml. Which version are you > using? (BTW, everybody using nXhtml should upgrade to the latest > version, 1.97!) > > Are you using the php-mode.el that comes with nXhtml or some other version? > > Thanks for your kindly reminder. After I upgrade to the latest version 1.97, the problem is fixed now. Thanks Water Lin -- Water Lin's notes and pencils: http://en.waterlin.org Email: WaterLin@ymail.com