There are still indention issues with 1.4.0beta and emacs 22.
Reproduce: edit the provided sample code and go through the lines with TAB
or use "indent-region". The problematic lines are marked with comments.
All problems seem to be caused by the "<?php" start tag (deleting that line
leads to a correct indention).
<?php
// first comment line: indent=2, should be 0 here
$test = 1; // indent=0 (correct)
// comment line after some code: indent=0 (correct)
function test($test) {
$x = 1;
} // closing curly bracket of first function: indent=2, should be 0
here
function test2($test) {
$x = 1;
} // second closing curly bracket: indent=0 is correct here
?>
Aaron S. Hawley
None
None
Public
|
Date: 2008-10-21 17:26 I'm not see this anymore with: |
|
Date: 2008-04-07 04:23
|
|
Date: 2008-03-17 21:04
|
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2008-10-21 17:26 | ashawley |
| resolution_id | Accepted | 2008-10-21 17:26 | ashawley |
| close_date | - | 2008-10-21 17:26 | ashawley |
| resolution_id | None | 2008-04-07 04:23 | ashawley |
| priority | 5 | 2008-04-07 04:23 | ashawley |
| assigned_to | nobody | 2008-04-07 04:23 | ashawley |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use