From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: emacs-devel@gnu.org
Subject: Re: PHP mode in Emacs?
Date: Mon, 01 May 2006 22:22:52 +0200 [thread overview]
Message-ID: <44566E1C.5030505@student.lu.se> (raw)
In-Reply-To: <jwvfyjt640v.fsf-monnier+emacs@gnu.org>
Stefan Monnier wrote:
>> Well, major modes have basically two major areas of interest: key maps
>> and syntax highlighting.
>>
>
> You forget a big one: indentation.
>
nxml-mode also checks the document against the DTD as you type in your
text. And I believe that it also does syntax highlighting in a different
way than other modes. Here is the explanation form nxml-mode.el:
;; The font locking here is independent of font-lock.el. We want to
;; do more sophisticated handling of changes and we want to use the
;; same xmltok rather than regexps for parsing so that we parse
;; consistently and correctly.
next prev parent reply other threads:[~2006-05-01 20:22 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
2006-05-01 17:38 ` Stefan Monnier
2006-05-01 20:22 ` Lennart Borgman [this message]
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=44566E1C.5030505@student.lu.se \
--to=lennart.borgman.073@student.lu.se \
--cc=emacs-devel@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 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).