From: Lennart Borgman <lennart.borgman@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to redefine color theme of nXhtml?
Date: Thu, 15 Oct 2009 12:26:01 +0200 [thread overview]
Message-ID: <e01d8a50910150326q61321feh22cc3739d52d2572@mail.gmail.com> (raw)
In-Reply-To: <838wfdxk4i.fsf@ymail.invalid>
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?
next prev parent reply other threads:[~2009-10-15 10:26 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 [this message]
[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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e01d8a50910150326q61321feh22cc3739d52d2572@mail.gmail.com \
--to=lennart.borgman@gmail.com \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.