all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Cheney Chen <cheneytiod@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: The problem of writing php code with emacs, Help!!
Date: Wed, 28 Oct 2009 22:11:55 -0700 (PDT)	[thread overview]
Message-ID: <3f667c87-c3fe-42ec-9c48-b791223ce139@u36g2000prn.googlegroups.com> (raw)

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.....


             reply	other threads:[~2009-10-29  5:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-29  5:11 Cheney Chen [this message]
2010-03-28  0:27 ` The problem of writing php code with emacs, Help!! m.pontus
2010-03-29 20:28   ` Lennart Borgman
2010-03-28  0:29 ` m.pontus

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=3f667c87-c3fe-42ec-9c48-b791223ce139@u36g2000prn.googlegroups.com \
    --to=cheneytiod@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.