It is true it is baan specific….
But the indenting algorithms are driven from language.s.
I guess I will debug language.s and find out how to improve the matching algorithm.
I think that the problem is inherent in languages that use begin/end keyword matchings.
Oh by the way, my baan.s macro is really really great now, thanks to Dan and Reid. The current version that I use on my pc is substantially better than the earlier version that appears on the website.
I did offer freely to provide updates. The offer is always open.
I thank all of the staff for the wonderful help provided thus far.