all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "John Thingstad" <john.thingstad@chello.no>
Subject: Re: [OT] Emacs under attack
Date: Mon, 20 Sep 2004 19:50:56 +0200	[thread overview]
Message-ID: <opsemzu6rfpqzri1@mjolner.upc.no> (raw)
In-Reply-To: Xns9569A53D9838Dchrislgmail@216.168.3.30

On Mon, 20 Sep 2004 00:14:41 -0000, Chris Lott <chris.lott[AT]gmail.com>  
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/

      reply	other threads:[~2004-09-20 17:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-08  1:42 [OT] Emacs under attack Aquila Deus
2004-09-08 14:50 ` Arjen Wiersma
2004-09-09  2:02   ` Aquila Deus
2004-09-08 19:31 ` Carsten Weinberg
     [not found] ` <mailman.2019.1094672183.1998.help-gnu-emacs@gnu.org>
2004-09-09 14:56   ` Aquila Deus
2004-09-20  0:14 ` Unknown
2004-09-20 17:50   ` John Thingstad [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=opsemzu6rfpqzri1@mjolner.upc.no \
    --to=john.thingstad@chello.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.