[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: |
Thu, 15 Oct 2009 14:10:37 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt) |
Richard Riley <rileyrgdev@gmail.com> writes:
> Water Lin <WaterLin@ymail.invalid> writes:
>
>> I try to use nXhtml to edit PHP, CSS, XHtml, Javascript codes in
>> Emacs23. I installed nXhtml successfully, but I find that the color
>> theme of nXhtml conflicts with my own Emacs theme. It makes that the PHP
>> mode, CSS mode etc. in nXhtml looks bad.
>>
>> Can I re-define color of each modes in nXhtml?
>
> Put your cursor in the section you want to change and do
> M-x:describe-face, you can then customise it and see the changes in your
> custom .el file.
>
> Also note a rather good new release is out to be downloaded from
> Lennart's web site. A lot faster and less buggy.
>
I can re-define color for each mode now.
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?
Thanks
Water Lin
--
Water Lin's notes and pencils: http://en.waterlin.org
Email: WaterLin@ymail.com