Indentation error when coding in php
Bug #463136 reported by
Cheney Chen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nXhtml |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Recently I am using nxhtml+emacsw32, but I 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 leftmost, it looks like
<?php
echo "test";
echo "test2";
#
The cursor will move to the location of "#' above...
I think the right way should be
<?php
echo "test";
echo "test2;
#
I never change the emacs config file..
I am very troubled by this problem..
I don't know if this is a new bug?
To post a comment you must log in.
Hi Cheney, thanks for the bug report. I need some more information:
- Are you using the latest nXhtml? Otherwise please try that and tell me how it works.
- Could you please give a more complete example? How does the start of the file look?