Pat Thoyts wrote: > In Emacs, select the whole buffer then (assuming c++-mode) do M-C-\ > and it will re-indent the file. Thanks, I did - tried several formatting styles, but they all seemed to do something other than what I wanted. In the end, I used SourceFormatX, a Windows Shareware app. The (massively) reformatted sources are now in CVS. -jcw