unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* more on mmm/php mode
@ 2007-04-09 19:35 Hadron
  2007-04-09 21:28 ` Lennart Borgman (gmail)
  0 siblings, 1 reply; 2+ messages in thread
From: Hadron @ 2007-04-09 19:35 UTC (permalink / raw)
  To: help-gnu-emacs


Anyone using mmm mode successfully to edit php/html combinations?

How is reformat/indent?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: more on mmm/php mode
  2007-04-09 19:35 more on mmm/php mode Hadron
@ 2007-04-09 21:28 ` Lennart Borgman (gmail)
  0 siblings, 0 replies; 2+ messages in thread
From: Lennart Borgman (gmail) @ 2007-04-09 21:28 UTC (permalink / raw)
  To: Hadron; +Cc: help-gnu-emacs

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-04-09 21:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-09 19:35 more on mmm/php mode Hadron
2007-04-09 21:28 ` Lennart Borgman (gmail)

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).