Hello,

I downloaded jde.el file (and new dependent files) from the CVS to
fix a syntax highlight issue, but then got the auto-indent issue.
Being a newbie, it took me a while to figure out that it's due to the
binding ot [enter] to jde-gen-embrace.

I see two issues with the command:

1- If you already have the following code:

if (some-cond) {
  doSomething();
}

Now if you need to add code above doSomething(), and hit enter after
the opening bracket, you get:

if (some-cond) {
  ^
}
  doSomething();
}

2- I don't like auto-indent and prefer to do so using tab. It would
be nice if jde-gen-embrace checked for my preferences before doing a
newline-and-indent. So that if I had set auto-indent it would do a
newline-and-indent, otherwise it would just insert a newline.

I like the auto matching closing bracket idea, but ended up unbinding
the [enter] key mapping because of the above issues.

Just my $.02
-Hai.

(Sorry I don't know how to implement that in elisp).


__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster
http://search.yahoo.com

Reply via email to