[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\
:/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?
- Shell-script[bash] indention broken (or fixed?), Steven T. Hatton, 2005/06/07
- Re: Shell-script[bash] indention broken (or fixed?),
Richard Stallman <=
- Re: Shell-script[bash] indention broken (or fixed?), Richard Stallman, 2005/06/13
- Re: Shell-script[bash] indention broken (or fixed?), Stefan Monnier, 2005/06/13
- Re: Shell-script[bash] indention broken (or fixed?), Richard Stallman, 2005/06/14
- Re: Shell-script[bash] indention broken (or fixed?), Stefan Monnier, 2005/06/14
- Re: Shell-script[bash] indention broken (or fixed?), Steven T. Hatton, 2005/06/14