The question for toggling the auto indent behavior has been asked repeatedly (last time see tracker item #2962106). Though it's well documented that this is only a matter of assigning shortcuts (which is brilliant consistent BTW), it's possibly not very intuitive. I guess many users don't think of ENTER as a key that can be assigned to an arbitrary action. Also, if You want toggle auto indent often, re-assigning shortcuts is inconvenient.
Attached is a beanshell macro that toggles the auto indent feature by alternatively assigning the ENTER key to "insert-newline-indent" or "insert-newline" action. By default, the assignments are made temporarily, which means for the current jEdit session only.
Beanshell script that toggles the auto indent feature
I guess, this is not the way we want to address this issue officially.
Robert, daily built jedit has switchable indentation: none, simple, full. I think your macro is no longer necessary and you may close.
OK.
BTW: I remember a time when SF "Pending" status has had some automatic functionality. This doesn't seem to work at all...