all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: PHP mode in Emacs?
Date: Mon, 01 May 2006 18:51:26 +0200	[thread overview]
Message-ID: <m3d5exn0xd.fsf@quimbies.gnus.org> (raw)
In-Reply-To: 44563905.5010605@student.lu.se

Lennart Borgman <lennart.borgman.073@student.lu.se> writes:

> Yes, you are right. I thought I was suggesting something like that
> when I wrote about regions or list of regions for a major mode. Maybe
> we could suggest an interface for telling the major modes (or minor
> modes) where to apply themselves? That would be a minimum I guess.

Well, major modes have basically two major areas of interest: key maps
and syntax highlighting.  Key maps are trivial to do on regions -- you
just use key map text properties.  Syntax highlighting is also pretty
easy to deal with using text props.  

Now, of course you're going to find major modes that will misbehave,
and act on text way outside where you're editing, but I think those
functions are actually pretty rare (in the wider scheme of things),
and can be fixed.  Looking over the mmm code, it seems to be solving
most of what we want, although it is somewhat invasive as it stands.
As Stefan says, the major modes should be fixed to work in an
mmm-ified atmosphere; not the other way around.

For that to happen, we need mmm (or something like it) in Emacs.

But it's starting to sound like nobody has actually been in touch with
the mmm people.  Perhaps I should drop them an email and ask their
opinion on the matter?

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen

  reply	other threads:[~2006-05-01 16:51 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
2006-05-01 16:36         ` Lennart Borgman
2006-05-01 16:51           ` Lars Magne Ingebrigtsen [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3d5exn0xd.fsf@quimbies.gnus.org \
    --to=larsi@gnus.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.