[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to redefine color theme of nXhtml?
From: |
Water Lin |
Subject: |
Re: How to redefine color theme of nXhtml? |
Date: |
Mon, 19 Oct 2009 15:13:38 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt) |
Lennart Borgman <lennart.borgman@gmail.com> writes:
> On Thu, Oct 15, 2009 at 8:10 AM, Water Lin <WaterLin@ymail.invalid> 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