From: Water Lin <WaterLin@ymail.invalid>
To: help-gnu-emacs@gnu.org
Subject: Re: How to redefine color theme of nXhtml?
Date: Thu, 15 Oct 2009 14:10:37 +0800 [thread overview]
Message-ID: <838wfdxk4i.fsf@ymail.invalid> (raw)
In-Reply-To: hb4ec2$s6d$1@news.eternal-september.org
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
next prev parent reply other threads:[~2009-10-15 6:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-14 10:25 How to redefine color theme of nXhtml? Water Lin
2009-10-14 11:57 ` Richard Riley
2009-10-15 2:52 ` Water Lin
2009-10-15 6:10 ` Water Lin [this message]
2009-10-15 10:26 ` Lennart Borgman
[not found] ` <mailman.8861.1255602391.2239.help-gnu-emacs@gnu.org>
2009-10-19 7:13 ` Water Lin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=838wfdxk4i.fsf@ymail.invalid \
--to=waterlin@ymail.invalid \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).