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:55:36 +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 X-Trace: dough.gmane.org 1339584990 3910 80.91.229.3 (13 Jun 2012 10:56:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Jun 2012 10:56:30 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: Bois Francois-Xavier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 13 12:56:29 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 1SelFV-0005Iz-3p for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2012 12:56:29 +0200 Original-Received: from localhost ([::1]:34827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SelFV-00085L-4R for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2012 06:56:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SelFN-00084w-TT for emacs-devel@gnu.org; Wed, 13 Jun 2012 06:56:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SelFH-0001iN-U7 for emacs-devel@gnu.org; Wed, 13 Jun 2012 06:56:21 -0400 Original-Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:53807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SelFD-0001h4-G0; Wed, 13 Jun 2012 06:56:11 -0400 Original-Received: by lahi5 with SMTP id i5so380470lah.0 for ; Wed, 13 Jun 2012 03:56:06 -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; bh=+LoRBTiv2qerfsUCv5zCE0h22E0v5B5gJIlGZ9j0Ico=; b=u7Gu5nTjoRCOOo7MWbLfQiiActeCjAlLz2FagHcvoZRGvfEjuO8iZPT8O/L7tm3uT+ xPAj5zg3VGPMtJMf2hgv9fGHl7b71SPxKMMHRtJmZqnEztMXZ5bbZU2eBpgub8+Mu+Sg W8eS5gkdF0scyTt/a9q2LPVdmZkv5GviArMP91JIBEyWXnh9l4uTzurF4FZVNMS7e69A SyNMjZrAeQ6rr9Q/eBMU4OxR96fs1AsbxBRaXyKM9xEoiFaADJ9tENZfs4gvBUY/ry90 t/ZHYpEXshtLL9VMlbxrE+RrwoYJ7G1gHGWtacGMByt5Vyw9X2OEpNxS1JslXhAw19yj jeDw== Original-Received: by 10.112.45.168 with SMTP id o8mr6026781lbm.88.1339584966737; Wed, 13 Jun 2012 03:56:06 -0700 (PDT) Original-Received: by 10.112.41.99 with HTTP; Wed, 13 Jun 2012 03:55:36 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: [-] ERROR: /var/run/p0f.sock: Connection refused X-Received-From: 209.85.215.41 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:150920 Archived-At: On Wed, Jun 13, 2012 at 12:49 PM, Bois Francois-Xavier wrote: >> >> Does web-mode.el incorporate a new mode for PHP? Then it would be >> interesting to test this with mumamo.el. > > It is not really a new mode for PHP. There is a dedicated function for > syntax hightlight (with dedicated font lock keywords) and dedicated > cases in the main indent function. It is the same with HTML, CSS, > JavaScript. It would be very nice if those functions for PHP would be available as a major mode. Then it could immediately be used in a lot of other combinations with nXhtml/MuMaMo. I guess you have written the parsing functions so that they do not cross the chunk boundaries. Or, do I misunderstand that? If you have done that then perhaps a major mode for PHP could use that and make it available in some way to multi major modes frameworks?