Collin Funk wrote:
> It is very difficult to indent Autoconf and m4 properly in my opinion
> since Emacs cannot really highlight matching parentheses/brackets
> correctly. I assume this is because C/Shell snippets inside of macros
> can have ')' or ']' which will be interpreted as matching the previous
> opening '(' or ']'.
>
> Maybe there is a trick that I am missing to keep track of indentation?
The '[' / ']' usually match; therefore these are the characters that
I use to look at in my editor.
Paul's trick is to use AS_CASE instead of 'case' statements. But to me,
that cure make things only worse, because
- This makes things harder to understand for me, since I am more
used to writing shell commands directly.
- The indentation of the AS_CASE arguments is not consistent.
Bruno