|
From: | Angelo Graziosi |
Subject: | bug#15613: Wrong indentation in Shell-script[sh] mode? |
Date: | Mon, 14 Oct 2013 22:53:04 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 |
$ 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 fiThe 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.
[Prev in Thread] | Current Thread | [Next in Thread] |