Re: NICE EMACS .EMACS file?
| From: | Matthew Leingang | Date: | Thu, 02 Nov 2000 15:23:20 +0000 |
| Subject: | Re: NICE EMACS .EMACS file? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-23406@lists.php.net to get a copy of this message | ||
Yes, that's what I use, but I wish I knew some more emacs LISP to fix it
up. The most annoying this is comments are colored before strings and
variables, so if you type
# this $should be a "comment"
Even though that whole line is a comment and should be the same color, it
looks like a comment with a variable and a string in it. Really, this
should be the matter of transposing a few lines in the .el file.
Also, it would be nice if somehow the mode could fall back to html-mode if
you were outside <?php... ?> tags. Oh, wait, I think it does do that.
It would be better if it could color embedded javascript code. I just
have to switch modes back and forth depending on what I'm editing.
Later,
Matt
----------------------------------------------------------------
Matthew Leingang http://www.math.rutgers.edu/
Rutgers University leingang@math.rutgers.edu
Department of Mathematics "There is no $#!$!@$ box!"
On Wed, 1 Nov 2000, Martin A. Marques wrote:
> On Mié 01 Nov 2000 22:25, jonty wrote:
> > hello,
> >
> > Just wondering if anyone has a nice .emacs file they could post
> > so i could have nice colours and formatting for .php files?
>
> There is a nice php-mode.el file to get nice colors on emacs.
>
> --
> "And I'm happy, because you make me feel good, about me." - Melvin Udall
> -----------------------------------------------------------------
> Martín Marqués email: martin@math.unl.edu.ar
> Santa Fe - Argentina http://math.unl.edu.ar/~martin/
> Administrador de sistemas en math.unl.edu.ar
> -----------------------------------------------------------------
>
> --aoglngljcdhfbfeeogem
> Content-Type: message/rfc822
> Content-Disposition: inline; filename="php-general_23271.ezm"
>