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: Specifying mode in file variables trouble Date: Thu, 25 Sep 2008 18:42:36 +0200 Message-ID: References: <48D79A25.7050000@gmail.com> <48D954F9.4010302@gmail.com> <48DA770F.8010803@gmail.com> <20080925062845.GA17698@tomas> <877i90ralp.fsf@gmail.com> <20080925075544.GA18347@tomas> <873ajor5ca.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1222361064 5716 80.91.229.12 (25 Sep 2008 16:44:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Sep 2008 16:44:24 +0000 (UTC) Cc: "Richard M. Stallman" , emacs-devel@gnu.org, tomas@tuxteam.de, monnier@iro.umontreal.ca, dmhouse@gmail.com, aaron.s.hawley@gmail.com To: "Paul R" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 25 18:45:20 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 1Kitxv-0002M4-EO for ged-emacs-devel@m.gmane.org; Thu, 25 Sep 2008 18:45:19 +0200 Original-Received: from localhost ([127.0.0.1]:58459 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kitwt-0002sG-86 for ged-emacs-devel@m.gmane.org; Thu, 25 Sep 2008 12:44:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KitvN-00024A-VR for emacs-devel@gnu.org; Thu, 25 Sep 2008 12:42:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KitvM-00022v-CR for emacs-devel@gnu.org; Thu, 25 Sep 2008 12:42:41 -0400 Original-Received: from [199.232.76.173] (port=59821 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KitvL-00022a-K4 for emacs-devel@gnu.org; Thu, 25 Sep 2008 12:42:39 -0400 Original-Received: from nf-out-0910.google.com ([64.233.182.190]:1892) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KitvL-0006J5-7u for emacs-devel@gnu.org; Thu, 25 Sep 2008 12:42:39 -0400 Original-Received: by nf-out-0910.google.com with SMTP id c7so233882nfi.26 for ; Thu, 25 Sep 2008 09:42:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=nXF2cRkQJcY/MNgobTyMBgBwA6nXhzjinwmVHfrT1gs=; b=cY33cVrLd0Zv6mbrJ8smZe1awqplBcnhSKy/szlcHIqxqc+JNbsOecSfLe4e9aug0c 9w3Sq3dYjpwZsRDaELWoukjXXfGOyr5vx9ZpLXjs8GUdZ/sboxBuB3E0cez5VUD0PKus hkw/2Twea9s9ZfZ146y3XL1EcO3qq0P2KlJaU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=V9w9YFRKdZl81U0KvkXPbj3YJr6UFtgU0TTyl6wFflAuZ381Tn5pVOXzGrVcF12BVf LFzBthxx0WShKCR/2taOxzwKHyFLHjHbc9ok3TtGXpEl97HLBjx2M5HRpZK8Qloq/EGI ozo9rVVhzpRb8r/AnqJWF4RS2oMuX03zeBios= Original-Received: by 10.86.95.20 with SMTP id s20mr187334fgb.65.1222360956497; Thu, 25 Sep 2008 09:42:36 -0700 (PDT) Original-Received: by 10.86.65.3 with HTTP; Thu, 25 Sep 2008 09:42:36 -0700 (PDT) In-Reply-To: <873ajor5ca.fsf@gmail.com> Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:104150 Archived-At: On Thu, Sep 25, 2008 at 10:35 AM, Paul R wrote: > On Thu, 25 Sep 2008 09:55:44 +0200, tomas@tuxteam.de said: > tomas> [snip] I probably wouldn't like to have > tomas> the whole XML/HTML kaboodle in that as well *unless I needed > tomas> it*. > > I guess it would not be triggered unless the point is inside an XML > region. IOW, you would not see the whole XML kaboodle unless you > actually need it. Lennart, can you confirm ? Thanks for asking, Paul. Actually I did a load a bit more than I think is necessary for cases like files consisting of just PHP code and no XHTML code. I just removed it. I don't think it is needed any more. The heavy things should be autoloaded. Possibly I missed something. If you find out please tell me. When it comes to editing a PHP file there is actually three possibilities 1) Just using php-mode from php-mode.el. 2) html-mumamo-mode, which is 1 + mumamo + html-mode. 3) nxhtml-mumamo-mode, which is 1 + mumamo + nxhtml-mode Number 2 here may perhaps be a good choice for those that does not care about completion and validation in the XHTML parts. It is possibly a bit smaller than 3 since html-mode is smaller than nxhtml-mode (at least that is what I believe). And of course a little bit less complicated since it does not offer the more accurate completion in the XHTML parts that nxml-mode (nxhtml-mode) offers. Personally I think 3 is the best, but then I of course knows about the complexities. (Note that the multi major mode names are not the ones used in the released version of nXhtml.)