unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Water Lin <WaterLin@ymail.invalid>
To: help-gnu-emacs@gnu.org
Subject: Re: How to redefine color theme of nXhtml?
Date: Mon, 19 Oct 2009 15:13:38 +0800	[thread overview]
Message-ID: <83hbtv3lgd.fsf@ymail.invalid> (raw)
In-Reply-To: mailman.8861.1255602391.2239.help-gnu-emacs@gnu.org

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


      parent reply	other threads:[~2009-10-19  7:13 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
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 [this message]

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=83hbtv3lgd.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).