Subject: bug#15613: Wrong indentation in Shell-script[sh] mode?

From: Angelo Graziosi <[email-masked]>
Date: Mon, 14 Oct 2013 22:53:04 +0200

In the current trunk the indentation for bash scripts looks as in this 
test case:

$ cat test_indent.sh
#!/bin/bash

if [ "${foo_a}" != "${foo_b}" ]; then

     if [ "${foo_c}" = "${foo_d}" ]; then
	echo
	echo "Hello..."
	echo
	exit 1
     fi

     fi

The inner if-fi looks ok but in the outer one expects the last fi under 
the first if.. Or not?

This happens with

$ emacs -Q &

and using TAB to indent..

Ciao,
  Angelo.