unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* The problem of writing php code with emacs, Help!!
@ 2009-10-29  5:11 Cheney Chen
  2010-03-28  0:27 ` m.pontus
  2010-03-28  0:29 ` m.pontus
  0 siblings, 2 replies; 4+ messages in thread
From: Cheney Chen @ 2009-10-29  5:11 UTC (permalink / raw)
  To: help-gnu-emacs

I want to use emacs to write php code..first I tried php-mode with mmm-
mode, but I found a problem soon, when I press c-j quickly, there will
be a
"Wrong type argument: stringp, nil "
then the indentation does work....I don't know how to solve it...

Recently I am using nxhtml+emacsw32, but I still find a very confusing
problem..
when I type <?php
The first line has a very well indentation, just like
<?php
    echo "test";
But when the second line is completed, when I press ";", the whole
line will move to the left most, it looks like
<?php
    echo "test";
echo "test2";
#
The cursor will move to the location of "#' above...
I am very troubled by this problem..

if someone knows how to solve it, please help me.....


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-03-29 20:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-29  5:11 The problem of writing php code with emacs, Help!! Cheney Chen
2010-03-28  0:27 ` m.pontus
2010-03-29 20:28   ` Lennart Borgman
2010-03-28  0:29 ` m.pontus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).