[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5127: Indentation of top level tags when no single top level tag
From: |
Lennart Borgman |
Subject: |
bug#5127: Indentation of top level tags when no single top level tag |
Date: |
Sat, 5 Dec 2009 00:17:40 +0100 |
Sometimes a user is working with part of a code and still want to do
indentation. In cases like this
<head>
</head>
<body>
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.
indent-outermost.patch
Description: Text Data
- bug#5127: Indentation of top level tags when no single top level tag,
Lennart Borgman <=