GNU bug report logs -
#17620
sh-mode indentation of continued do loop lists
Previous Next
Reported by: Glenn Morris <rgm <at> gnu.org>
Date: Wed, 28 May 2014 21:27:01 UTC
Severity: minor
Found in version 24.3.91
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
Full log
Message #9 received at 17620 <at> debbugs.gnu.org (full text, mbox):
Stefan Monnier wrote:
> I think this requires a config variable:
>
> - The indentation you show above is the one that makes sense to me,
> where the \ is just a way to write "a b" on multiple logical lines,
> like you can do in most free-form programming languages, in which case
> "b", being an argument to "a", should be indented a bit deeper than
> "a". I.e. the indentation rule pretends the \ don't really exist.
>
> - The indentation you ask for seems to be based on the idea that "\" is
> a way to split a single logical line into several physical lines,
> doing a kind of manual "word wrap".
Oh right, I see, now we get:
some-really-rather-long-command arg1 \
arg2
rather than the old
some-really-rather-long-command arg1 \
arg2
where continued lines were always just indented +4.
I'm accustomed to the old dumb method. A config var would make me happy.
This bug report was last modified 9 years and 240 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.