From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: mmm-mode/html-mode/php-mode issues Date: Sat, 23 May 2009 15:12:34 +0200 Message-ID: References: <20090521115831.7fb1d235@abz8111lx.eurac.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1243084396 24910 80.91.229.12 (23 May 2009 13:13:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 May 2009 13:13:16 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Yuri D'Elia" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 23 15:13:11 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M7r2E-0005xu-BS for geh-help-gnu-emacs@m.gmane.org; Sat, 23 May 2009 15:13:10 +0200 Original-Received: from localhost ([127.0.0.1]:60617 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M7r2D-0004xG-LO for geh-help-gnu-emacs@m.gmane.org; Sat, 23 May 2009 09:13:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M7r1n-0004vl-D8 for help-gnu-emacs@gnu.org; Sat, 23 May 2009 09:12:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M7r1h-0004tq-G9 for help-gnu-emacs@gnu.org; Sat, 23 May 2009 09:12:42 -0400 Original-Received: from [199.232.76.173] (port=40429 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M7r1h-0004tn-9B for help-gnu-emacs@gnu.org; Sat, 23 May 2009 09:12:37 -0400 Original-Received: from mail-bw0-f209.google.com ([209.85.218.209]:43791) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M7r1g-0002N2-QV for help-gnu-emacs@gnu.org; Sat, 23 May 2009 09:12:37 -0400 Original-Received: by bwz5 with SMTP id 5so2301510bwz.42 for ; Sat, 23 May 2009 06:12:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=q+0g3S7cT3f31FgJwpPPNkZv8Q0zfCaGtnXhQcrekTc=; b=UCf7M4KyPBZAgVwIwb9G/SVilJxZ8gw9AT1NFRtUhN6yGfwFBeRhSOXNhg81ZeDJtI 0ktG92ux3E/zTx4MkLAE2/gysAiasJxCNTIdgOL5nhgEp54M3QOBdL7ZdX71G/Otj0vL Q+yV2i4ZlDxhxIVmuxYz3UFlvY9H+uncEMzzc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=qBA36SHgV8j2UN7rC9NmtObYKUkuNqlm8aLsskRtUy6fPTBFr2E6fPCrC3T7ki5H7q V7UoIgWH4+7lF1FE8Fsui0uSYEpNNIrR3d6gS8GADQOzakO8CbUNA30NWkNEGE0fnFeM h4WPd5uabyAxd/3nycGTDPpbrosSgiDoGVnBo= Original-Received: by 10.239.133.77 with SMTP id 13mr330739hbu.67.1243084354213; Sat, 23 May 2009 06:12:34 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64656 Archived-At: On Sat, May 23, 2009 at 1:34 PM, Yuri D'Elia wrote: > In article > , > =C2=A0Lennart Borgman wrote: > >> > Can I use *just* mumamo and use html-mode with php as a submode? I >> > somewhat tried months ago, but it seemed that mumamo was always loadin= g >> > nXhtml. I would happily replace mmm-mode if I could. >> >> Nearly. All features in nXhtml are autoloaded. Without byte compiling >> nXhtml it loads in 5 sec on my old pc. (Byt that I mean it runs >> nxhtml/autostart.el in 5 sec.) Nearly all of that time is for loading >> mumamo.el. After byte compiling nXhtml (there is an entry for doing >> that in the nXhtml menu) nxhtml/autostart.el takes 0.1 sec. > > I will try again then. I remember editing a normal xhtml+php file on my > powerbook G4 took around ~4 seconds when bytecompiled, and then again > indenting/font-locking was unbearable. That sounds very strange. I would be glad for a bug report with an example. > However I *still* want to know what's the issue with mmm-mode :). > Should I post to emacs.devel? The mmm-mode mailing list seems dead. mmm-mode has nothing to do with emacs devel. You might have a look at EmacsWiki. I think I saw that someone said he had got it to work with Emacs 22. >> But what do you mean with that "mumamo was always loading nXhtml"? >> There is no supported way to use mumamo.el without loading nXhtml (ie >> running nxhtml/autostart.el). > > That's precisely what I meant: can I use mumamo as a *replacement* for > mmm-mode? (for example, for completely different kind of files?) Of course you can use it for different kind of files. You can define your own "multi major mode" if you need to. There are however a lot of predifined ones, for mako, mjt, jsp, laszlo, eruby etc. Maybe the name "nXhtml" is a bit unfortunate for the package. It all started with that I wanted a good major mode for writing (x)html files. The first thing I wrote was nxhtml-mode (based on nxml-mode). But then I discovered that what I really needed was a multi major mode. I tried mmm-mode, but it could not handle that together with nxhtml-mode. That is how it all started, and that is why it is named nXhtml...