On May 29 2007 15:36, Randy Dunlap wrote:[...]Not only diff and emacs. At least joe (joe.sf.net) is another editorYep, we also now allow one space something to do with diff -p not+ if($line=~/^\s*[A-Za-z\d_]+:/ and !($line=~/^\s*default:/)){emacs generates one space label in front of a goto label. I wouldn't
+ print "Gotos should not be indented\n";
+ print "$herecurr";
+ $clean = 0;
+ }
outlaw this.
getting confused...
That's just a joe bug then.
diff no longer requires a beginning space, at least in the testing
that I did it worked with no leading space on a label:.
But not everyone runs the latest and greatest. diffutils 2.8.7
takes /^label:/ as a marker for the @@ line.