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:46:06 +0200 Message-ID: References: <874nqfslig.fsf@gnu.org> <87y5nr5wgv.fsf@yandex.ru> 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 1339584421 31884 80.91.229.3 (13 Jun 2012 10:47:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Jun 2012 10:47:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 13 12:47:00 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 1Sel6D-0004aS-Ju for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2012 12:46:53 +0200 Original-Received: from localhost ([::1]:53390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sel6D-0002d5-5R for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2012 06:46:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sel65-0002cs-Jw for emacs-devel@gnu.org; Wed, 13 Jun 2012 06:46:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sel5z-0007CW-3K for emacs-devel@gnu.org; Wed, 13 Jun 2012 06:46:45 -0400 Original-Received: from mail-lb0-f169.google.com ([209.85.217.169]:57473) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sel5y-0007C0-PB for emacs-devel@gnu.org; Wed, 13 Jun 2012 06:46:39 -0400 Original-Received: by lbjn8 with SMTP id n8so1386746lbj.0 for ; Wed, 13 Jun 2012 03:46:36 -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=sg9p9fNuOPaF+y2GuZWiNpCcXTNQ0d51cd3fZyhNiPs=; b=vOiXA6cOdMTgg59oSFyIlgr5sEZx2r+RScwq5rjI+rGw4regtSFrfp6ZH/vLaI6r3+ 4eUNifFjEZaxQ2E6E+RSTKzJTKhcWGoM36hUkNSrQIYKw0k4XXSXqU9YUuWeOW8hH+J0 abcRgNGTcHpnDm6CFXL3LAZnTDvuBQj0Khuqijut0FJtaBedOx49jz9J7FrD5kWu1QeV 2gLe5SEvTJLqWip9Za27MWdLQlnCiRKmn9F31j8IH8He85MR2z5NuSfyehVG3a5iJgId 0WGGWkvViX/ryOF7IqA7N8tch5I4mbkE/fWrebLOL7SlggZ271VSA2OnqYuqO2Z0vbhX UCmw== Original-Received: by 10.152.103.11 with SMTP id fs11mr23781964lab.23.1339584396254; Wed, 13 Jun 2012 03:46:36 -0700 (PDT) Original-Received: by 10.112.41.99 with HTTP; Wed, 13 Jun 2012 03:46:06 -0700 (PDT) In-Reply-To: <87y5nr5wgv.fsf@yandex.ru> 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:150919 Archived-At: On Wed, Jun 13, 2012 at 12:37 PM, Dmitry Gutov wrote: > > Hi Chong, > >> 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. > > Is there a particular reason that multi-mode is not in the list? > > http://www.loveshack.ukfsn.org/emacs/multi-mode.el > > I reviewed the packages dealing with this problem recently, and this one > looks most well-written, if probably outdated. > And if we believe the copyright notice, copyright assignments are > already in place. Provided it's a viable candidate, I might see what I > can do to bring it up-to-date. Please see my comments about mumamo.el. It is not possible to write something that works for all cases with the current Emacs. nXhtml includes a rather large test-suite where you can see some of the problems. It should be rather easy to change this test suite to run with for example multi-mode.el. If you do that I think you will get a better view of what works and what does not work. However it might not be worth the trouble. The real problem lies in the Emacs C core. Parsing functions can currently not be stopped from parsing things outside of the major mode chunk they belong too. (mumamo.el goes a long way to try to address this problems as far as possible. That makes the code quite complicated. A rewrite of the C core makes things very simple. In addition to this rewrite of the scheduling functions to add suitable tools for handling chunk finding might be necessary, but that is much simpler.)=C2=A7