Sometimes a user is working with part of a code and still want to do indentation. In cases like this the body tag will currently be intended to column 0 by sgml-indent-line. The attached patch handles this particular case specially to avoid that. Since I do not want to change the return values from sgml-geet-context (which is where this situation best can be detected) I have transferred the extra information in a global variable sgml-get-context-last-close instead. This is against a checkout from 2009-12-04.