From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: Specifying mode in file variables trouble Date: Sat, 27 Sep 2008 00:39:53 -0400 Message-ID: References: <48D6E8FB.4070108@gmail.com> <48D79A25.7050000@gmail.com> <48D8BB40.6060806@gmail.com> <48D954F9.4010302@gmail.com> <48DA770F.8010803@gmail.com> <20080925062845.GA17698@tomas> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1222490540 2363 80.91.229.12 (27 Sep 2008 04:42:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Sep 2008 04:42:20 +0000 (UTC) Cc: dmhouse@gmail.com, emacs-devel@gnu.org, lennart.borgman@gmail.com, monnier@iro.umontreal.ca, aaron.s.hawley@gmail.com To: tomas@tuxteam.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 27 06:43:17 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KjReE-00061P-5w for ged-emacs-devel@m.gmane.org; Sat, 27 Sep 2008 06:43:14 +0200 Original-Received: from localhost ([127.0.0.1]:35379 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjRdB-0002BE-Pk for ged-emacs-devel@m.gmane.org; Sat, 27 Sep 2008 00:42:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KjRd5-0002B8-MT for emacs-devel@gnu.org; Sat, 27 Sep 2008 00:42:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KjRd4-0002Aw-QS for emacs-devel@gnu.org; Sat, 27 Sep 2008 00:42:02 -0400 Original-Received: from [199.232.76.173] (port=37083 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjRd4-0002At-JK for emacs-devel@gnu.org; Sat, 27 Sep 2008 00:42:02 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:56672) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KjRd4-00065o-CT for emacs-devel@gnu.org; Sat, 27 Sep 2008 00:42:02 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KjRaz-0005y5-9x; Sat, 27 Sep 2008 00:39:53 -0400 In-reply-to: <20080925062845.GA17698@tomas> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:104180 Archived-At: But I would be wary of pulling in a full-fledged XML machinery just to edit (pure) PHP source just because it is sometimes embedded in (X)HTML templates. That would be a problem, but we can easily avoid it. Here are two ways. * Make `php-mode' check whether there is HTML or XML in the file and choose the mode accordingly. * Arrange for mumamo not to call `nxml-mode' unless/until you move point into an HTML chunk. You're worried about a hypothetical problem in the detail of the implementation. That problem might happen, and if it does, we will fix it. So there is no point worrying about it now.