emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PHP mode in Emacs?


From: Lennart Borgman
Subject: Re: PHP mode in Emacs?
Date: Mon, 01 May 2006 22:22:52 +0200
User-agent: Thunderbird 1.5.0.2 (Windows/20060308)

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]