So, when you press <indent> on a line in [x]emacs' PSGML/HTML mode, it indents that line correctly. But how can I indent all the lines correctly at once (the equivalent of control-c control-q in cc-mode)? Thanks. -- Paul Reavis preavis@partnersoft.com Design Lead Partner Software, Inc. http://www.partnersoft.com