From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: PHP mode in Emacs? Date: Sun, 30 Apr 2006 11:04:19 -0400 Message-ID: <87r73fdsbk.fsf-monnier+emacs@gnu.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1146409478 9026 80.91.229.2 (30 Apr 2006 15:04:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Apr 2006 15:04:38 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 30 17:04:36 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FaDTP-0000ic-1l for ged-emacs-devel@m.gmane.org; Sun, 30 Apr 2006 17:04:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FaDTO-0000b4-Cu for ged-emacs-devel@m.gmane.org; Sun, 30 Apr 2006 11:04:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FaDTC-0000ap-AA for emacs-devel@gnu.org; Sun, 30 Apr 2006 11:04:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FaDTA-0000aW-LI for emacs-devel@gnu.org; Sun, 30 Apr 2006 11:04:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FaDTA-0000aT-Gk for emacs-devel@gnu.org; Sun, 30 Apr 2006 11:04:20 -0400 Original-Received: from [209.226.175.54] (helo=tomts10-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FaDWm-0005t7-19 for emacs-devel@gnu.org; Sun, 30 Apr 2006 11:08:04 -0400 Original-Received: from alfajor ([70.55.146.223]) by tomts10-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060430150419.YRYO20622.tomts10-srv.bellnexxia.net@alfajor>; Sun, 30 Apr 2006 11:04:19 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id 66873D920E; Sun, 30 Apr 2006 11:04:19 -0400 (EDT) Original-To: emacs-devel@gnu.org In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 30 Apr 2006 16:30:40 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:53664 Archived-At: > Are there any plans to include a PHP mode in Emacs? Googling around > finds a couple of these modes, one of which is based on mmm-mode. I > can't find any recent developments, though. I don't have any experience with any php mode (or with php for that matter), but I just want to mention that I think it'd be good to include mmm-mode in Emacs. There are other ways to handle the situation where you want to use different major modes for different parts of a buffer and I don't claim that mmm-mode is the ultimate answer, but I think it's a good solution. Also I think other solutions should not be seen as competing: the choice between them is probably going to come down to user preferences and to usage patterns, so choosing one should not rule out the others. Hopefully the various approaches can share some things (e.g. the syntax of the special elements that indicate the need for a mode switch). Stefan