Menu

#1 aspectj-mode.el over-indents constructor introduction

open
None
3
2004-06-04
2003-01-09
No

Hi guys! I'm transferring this over from Jitterbug just so it doesn't get
lost in the shuffle. It was ajde-emacs/830.

The emacs minor
mode for aspectj code messes up the indentation for constructor
introduction. For example, it indents the following aspect like
so:

aspect Foo {
public Bar.new() {
baz();
}

}

The "baz();" line should be two spaces to the left. Normal
method introduction works fine, but there appears to be something
special about the use of "new".

Mon Aug 26 08:52:12 2002:
isberg
aspectj-mode.el: ;;; We are doing essentially nothing for
indentation.
(side-effect of "new" as java keyword in cc-
mode?)

Discussion

  • Doug Orleans

    Doug Orleans - 2003-01-09

    Logged In: YES
    user_id=611539

    Well, that's annoying, it screwed up the formatting. You'll have to use your
    imagination to figure out what the whitespace is.

     
  • Erik Hilsdale

    Erik Hilsdale - 2004-06-04
    • priority: 5 --> 3
    • assigned_to: nobody --> ehilsdal
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.