Until recently the behavior of Shell-script[bash] mode was to
not indent the second of the following two lines when tab was hit:
export VARIABLE=/path/to/here\
:/path/to/there
Now it indents it like this:
export VARIABLE=/path/to/here\
:/path/to/there
I loaded a version of sh-script.el from September and it gave the
latter result. So this is not, I believe, the result of a recent
change.
The reason for this behavior seems to be that
sh-indent-for-continuation is +. Should it be 0?
I am surprised by the existence of sh-indent-for-continuation.
In shell syntax, are spaces after backslash-newline ignored?
I did an experiment and they do not seem to be ignored.
That being so, isn't it simply an error to reindent the
continuation line?
_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug