From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: web-mode.el Date: Wed, 13 Jun 2012 12:36:48 +0200 Message-ID: References: <874nqfslig.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1339583870 27391 80.91.229.3 (13 Jun 2012 10:37:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Jun 2012 10:37:50 +0000 (UTC) Cc: Bois Francois-Xavier , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 13 12:37:49 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SekxO-0003XT-OS for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2012 12:37:46 +0200 Original-Received: from localhost ([::1]:46458 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SekxO-00075y-LJ for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2012 06:37:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SekxG-0006vw-2a for emacs-devel@gnu.org; Wed, 13 Jun 2012 06:37:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SekxA-0004gE-1H for emacs-devel@gnu.org; Wed, 13 Jun 2012 06:37:37 -0400 Original-Received: from mail-lb0-f169.google.com ([209.85.217.169]:51902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sekx1-0004ci-L7; Wed, 13 Jun 2012 06:37:23 -0400 Original-Received: by lbjn8 with SMTP id n8so1379536lbj.0 for ; Wed, 13 Jun 2012 03:37:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=IXt8yuEZNWOHcfTYEhF5bn5S60lNBv+gdt8VKTQJg58=; b=ltk21HQC9GvxoHAjpQaKfJCzogi157XwM3U/cEOdXVI1VM/XnR87RsQIH1HsEq8dlD Vzwu6LPovfUGR6p1DFIqlnpE0wjtuniukQAiBf0snihuzCW8f2x6ZHztmiAYtffRzQ36 lwrAZf2RIOqoqjHgfjwlelMCCydfkQ5aU5y01slG+wIGxJeyVfYTJmwYO8HKzdopheSV oYJ0stAhbcSGIEeBO1MjicsoiRt4ZYnD0z1rEQ3TRcIXVYV7a/We+Wp8lnQmaTIb/VrC RPuL3PLkx3Kco0o0D7MZBJK462YS1G9w32wdSJfCty025FhXORyzBRF5bKB2FcjYSgWB C2xw== Original-Received: by 10.112.45.168 with SMTP id o8mr6000733lbm.88.1339583838953; Wed, 13 Jun 2012 03:37:18 -0700 (PDT) Original-Received: by 10.112.41.99 with HTTP; Wed, 13 Jun 2012 03:36:48 -0700 (PDT) In-Reply-To: <874nqfslig.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.217.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:150918 Archived-At: On Wed, Jun 13, 2012 at 9:45 AM, Chong Yidong wrote: > > Bois Francois-Xavier writes: > > > I've written web-mode.el, a major mode for PHP/HTML templates files. > > It aims to natively indent and syntaxcolor according to the "context" > > of (point) (which can be in an HTML part or in a PHP/JavaScript/CSS > > bloc). > > Thanks, this looks interesting. =C2=A0The problem with nXhtml mode (and > php-mode) is that we've had a hell of a time trying to get the copyright > assignments to get them incorporated into Emacs, and at this point I've > given up. The problem is with php-mode.el and some other major modes nXhtml/MuMaMo may use. Nearly all of nXhtml is written by me so when it comes to copyright there is no problem with that. As I have said before, there are technical problems with mumamo.el which can not be solved currently. Some very tough changes have to be made to Emacs to make it better. Those changes will also make mumamo.el a lot simpler. So I have left mumamo.el in the state it is. It works reasonably well in the current situation, but it is not at all perfect. (I have not tested with Emacs 24 yet.) Does web-mode.el incorporate a new mode for PHP? Then it would be interesting to test this with mumamo.el.