[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shell-script[bash] indention broken (or fixed?)

From: Richard Stallman
Subject: Re: Shell-script[bash] indention broken (or fixed?)
Date: Sat, 11 Jun 2005 19:17:00 -0400

    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\

    Now it indents it like this:

    export VARIABLE=/path/to/here\

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

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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]