From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "John Thingstad" Newsgroups: gmane.emacs.help Subject: Re: [OT] Emacs under attack Date: Mon, 20 Sep 2004 19:50:56 +0200 Organization: private Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1095702860 16215 80.91.229.6 (20 Sep 2004 17:54:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Sep 2004 17:54:20 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 20 19:54:11 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C9SMc-0002QE-00 for ; Mon, 20 Sep 2004 19:54:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C9SSV-00061X-I1 for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Sep 2004 14:00:15 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news2.telebyte.nl!newshub2.home.nl!home.nl!amsnews01.chello.com!amsnews04.chello.com!amstwist00.POSTED!53ab2750!not-for-mail Original-Newsgroups: alt.religion.emacs,comp.emacs,gnu.emacs.help User-Agent: Opera M2/7.54 (Win32, build 3865) Original-Lines: 43 Original-NNTP-Posting-Host: 80.111.172.51 Original-X-Complaints-To: abuse@chello.no Original-X-Trace: amstwist00 1095702671 80.111.172.51 (Mon, 20 Sep 2004 19:51:11 MEST) Original-NNTP-Posting-Date: Mon, 20 Sep 2004 19:51:11 MEST Original-Xref: shelby.stanford.edu alt.religion.emacs:8585 comp.emacs:86221 gnu.emacs.help:125423 Original-To: help-gnu-emacs@gnu.org 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: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20779 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20779 On Mon, 20 Sep 2004 00:14:41 -0000, Chris Lott wrote: >> Look this: http://www.php-editors.com/review/ >> >> They don't list emacs there but put it in dark and smelly "All >> unreviewed PHP Editors"!! > > It would help if there were a PHP mode that actually worked well. This > isn't a flame, it just seems like the modes I have found all have pretty > significant problems. > > Ideally, mmm with PHP and some HTML mode would be great, but even > consistency just in the PHP blocks would be a start! > > c I use MMM mode with PHP and HTML for my PHP editing.. Guess I can past in the code I added to my .emacs (actually site-start.el) ;; ;; PHP mode (require 'mmm-mode) (setq mmm-global-mode 'maybe) (mmm-add-mode-ext-class nil "\\.php?\\'" 'html-php) (mmm-add-classes '((html-php :submode php-mode :front "<\\?\\(php\\)?" :back "\\?>" ))) (autoload 'php-mode "php-mode" "PHP editing mode" t) (setq auto-mode-alist (cons '("\\.php$" . html-mode) auto-mode-alist)) ;;--- See how this works for you :) -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/