From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Hadron <hadronquark@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: more on mmm/php mode
Date: Mon, 09 Apr 2007 23:28:00 +0200 [thread overview]
Message-ID: <461AAFE0.1000003@gmail.com> (raw)
In-Reply-To: <87irc55oiu.fsf@gmail.com>
Hadron wrote:
> Anyone using mmm mode successfully to edit php/html combinations?
>
> How is reformat/indent?
Hi Hadron,
No, but I was just going to write to the list that the new version of
nXhtml mode can handle this combination quite good. It requires Emacs 22
(yet, hopefully released in some weeks) as you know. Are there still
problems with Emacs 22 and debian/ubuntu?
I got some critic for the way I handled multiple modes in nXhtml and
thought about it again and came to the conclusion that it was possible
to write a fully functional general multiple major mode handling in
Emacs 22 -- as long as you did not involve nXml and its derivatives.
Since that was what I really wanted to do I had to rethink again. And
looking closer into the nXml code I finally understood how to make it
cooperate with other major modes.
So nXhtml mode now offers editing of php/xhtml code with completion of
xhtml tags, attributes and sometimes also attribute values. It requires
no setup (except for unzipping and adding a single line to .emacs).
I actually uploaded the new version today (and introduced a new small
bug I will just fix - it affects empty documents only). You can find it
here, with explanations of how the new way of handling multiple major
modes and xhtml completion works:
http://ourcomments.org/Emacs/nXhtml/doc/nxhtml.html
prev parent reply other threads:[~2007-04-09 21:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-09 19:35 more on mmm/php mode Hadron
2007-04-09 21:28 ` Lennart Borgman (gmail) [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=461AAFE0.1000003@gmail.com \
--to=lennart.borgman@gmail.com \
--cc=hadronquark@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.
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).