This was recently asked about of HTML files in news:comp.emacs.
Run this once: `apt-get install tidy' then, run tidy the following way whenever you need to format a file: C-x h C-! tidy -xml RET Essentially, try investaging tidy. /a On Thu, 24 Nov 2005, Rudradeb Mitra wrote: > Hi, > Does anybody know of an emacs command or add-on to automatically indent and > fix the line wrapping of an xml file in a reasonable way? > > prefarably changes in .emacs file. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]