Return-Path: Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: (qmail 14031 invoked from network); 25 Mar 2004 03:36:31 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 25 Mar 2004 03:36:31 -0000 Received: (qmail 4932 invoked by uid 500); 25 Mar 2004 03:36:16 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 4702 invoked by uid 500); 25 Mar 2004 03:36:15 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 4687 invoked from network); 25 Mar 2004 03:36:14 -0000 Received: from unknown (HELO emu.ext-unix.urnet.com.au) (203.7.149.10) by daedalus.apache.org with SMTP; 25 Mar 2004 03:36:14 -0000 Received: from mail by emu.ext-unix.urnet.com.au with local (Exim 3.35 #1 (Debian)) id 1B6LfE-0001ul-00; Thu, 25 Mar 2004 14:36:16 +1100 Received: from lambast.inside.urnet.com.au ([10.0.6.19]) by emu.ext-unix.urnet.com.au with esmtp (Exim 3.35 #1 (Debian)) id 1B6LfD-0001uW-00; Thu, 25 Mar 2004 14:36:15 +1100 Received: from localhost ([127.0.0.1] helo=lambast.inside.urnet.com.au) by lambast.inside.urnet.com.au with esmtp (Exim 3.36 #1 (Debian)) id 1B6Lf4-0000t8-00; Thu, 25 Mar 2004 14:36:06 +1100 Date: Thu, 25 Mar 2004 14:36:05 +1100 Message-ID: <87lllpsimy.wl@lambast.inside.urnet.com.au> From: Angus Lees To: "Beau E. Cox" Cc: embperl@perl.apache.org Subject: Re: emacs and embperl In-Reply-To: <200403232156.31941.beau@beaucox.com> References: <200403232156.31941.beau@beaucox.com> Mail-Followup-To: embperl@perl.apache.org User-Agent: Wanderlust/2.10.1 (Watching The Wheels) XEmacs/21.4 (Reasonable Discussion) X-Meat: Blood sausage MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-BusiBoxMcafee: scanned X-Envelope-To: beau@beaucox.com, embperl@perl.apache.org X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N At Tue, 23 Mar 2004 21:56:31 -1000, Beau E. Cox wrote: > I am up and running with Embperl, but want to set my emacs > (gnu-emacs 21.3) for proper editing. > > I downloaded and installed the 'mmm' package (0.4.7) as per > the directions on the Embperl site. The instructions there are for a much older version of mmm. The embperl "class" is now included by default and configuration has changed completely. You're better off reading the (quite extensive) mmm-mode info documentation. > Does anyone have the 'mmm' perl/embperl systax system > in gnu emacs? If so, could you shre your setup with me? I use ".epl" and ".html" for my Embperl files, and I prefer using html-helper-mode rather than html-mode (a psgml derivative) but the following should work with both. The following is copied from my ~/.xemacs/init.el and tweaking should be obvious from the relevant variable's documentation: (require 'mmm-mode) ;; make Embperl files load in html-helper-mode (add-to-list 'auto-mode-alist '("\\.epl\\'" . html-helper-mode)) ;; enable mmm subclass if major mode and filename match (mmm-add-mode-ext-class 'html-mode "\\.(epl\\|html)\\'" 'embperl) (mmm-add-mode-ext-class 'html-helper-mode "\\.(epl\\|html)\\'" 'embperl) (setq mmm-global-mode 'maybe) -- - Gus --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org