unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#17620: sh-mode indentation of continued do loop lists
@ 2014-05-28 21:26 Glenn Morris
  2014-05-29  2:23 ` Stefan Monnier
  2015-02-18 19:11 ` Philipp Stephani
  0 siblings, 2 replies; 6+ messages in thread
From: Glenn Morris @ 2014-05-28 21:26 UTC (permalink / raw)
  To: 17620

Package: emacs
Version: 24.3.91
Severity: minor

emacs -Q foo.sh, where foo.sh is as follows:

for foo in a \
    b; do
    echo $foo
done

In 24.3, using indent-region or indenting line-by-line produces the above.


In 24.3.91, the continued line gets way too much indentation:

for foo in a \
               b; do
    echo $foo
done





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-09-30  1:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-28 21:26 bug#17620: sh-mode indentation of continued do loop lists Glenn Morris
2014-05-29  2:23 ` Stefan Monnier
2014-05-29  3:06   ` Glenn Morris
2015-09-30  1:46   ` Stefan Monnier
2015-02-18 19:11 ` Philipp Stephani
2015-02-18 19:18   ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).