From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Lars Magne Ingebrigtsen <larsi@gnus.org>,
Peter Heslin <pj@heslin.eclipse.co.uk>,
emacs-devel@gnu.org
Subject: Re: PHP mode in Emacs?
Date: Mon, 01 May 2006 12:17:52 -0400 [thread overview]
Message-ID: <jwvwtd568b2.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <4456222F.9030401@student.lu.se> (Lennart Borgman's message of "Mon, 01 May 2006 16:58:55 +0200")
> I do not know whether it has been discussed, but it seems to me there are
> currently unfortunately problems with this approach. I believe a number
> of things have to be addressed in Emacs before something like mmm-mode can
> work for all modes. But I am not sure, it is quite complex. Below are
> however my thoughts about it.
Making it work for all modes in not even a goal for me. I know there are
some undesired interactions between mmm-mode and various major modes.
We can fix them one by one. The problem of mmm-mode as it currently stands
is that it tries to solve the problem only on its side, whereas in several
cases it would be better to say "it's a bug in the major mode". But that's
exactly what we could do if it were integrated in Emacs.
> I can really see no way to stop different modes from stomping at each other
> with mmm-mode.
That's a failure of imagination; you seem to assume major modes are free to
do whatever they want, but that's not the case: they can technically do what
they want, but it can lead to various problems which are then considered
as bugs in the major mode.
So all we need to do is to come up with a kind of convention for how the
major modes should be written such that they cooperate well with mmm-mode.
Stefan
next prev parent reply other threads:[~2006-05-01 16:17 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-30 14:30 PHP mode in Emacs? Lars Magne Ingebrigtsen
2006-04-30 14:37 ` Nic
2006-04-30 14:49 ` Lars Magne Ingebrigtsen
2006-04-30 15:04 ` Stefan Monnier
2006-04-30 15:14 ` Lars Magne Ingebrigtsen
2006-04-30 15:47 ` Stefan Monnier
2006-04-30 20:54 ` Richard Stallman
2006-05-01 11:42 ` Lars Magne Ingebrigtsen
2006-05-01 14:58 ` Lennart Borgman
2006-05-01 16:17 ` Stefan Monnier [this message]
2006-05-01 16:36 ` Lennart Borgman
2006-05-01 16:51 ` Lars Magne Ingebrigtsen
2006-05-01 17:38 ` Stefan Monnier
2006-05-01 20:22 ` Lennart Borgman
2006-05-02 6:48 ` Gian Uberto Lauri
2006-05-02 2:04 ` Richard Stallman
2006-05-01 17:29 ` Edward O'Connor
2006-05-01 18:52 ` Stefan Monnier
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=jwvwtd568b2.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.org \
--cc=pj@heslin.eclipse.co.uk \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).