[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pretty-layout in html-mode

From: Chris Withers
Subject: Re: pretty-layout in html-mode
Date: Tue, 12 May 2009 10:59:57 +0100
User-agent: Thunderbird (Windows/20090302)

ken wrote:
Using html-helper-mode, doing C-i properly indents the current line.  So
 in such files I start with the point on the first line, do C-i, then do
the same on the second line, and so on.  This of course doesn't work if
all the html code is on one line.  The tags and text you want to indent
properly must lie at the beginning of a new line (optionally with some
white space preceding it); that is, C-i won't insert newlines at proper
locations.  ("Proper location" is not an objective determination
anyway.)  But html-helper-mode does understand opening and closing tags
and (normally) indents these at the same level.

Thanks, but I'm looking for something more like:
- select region
- M-x unsuck-html-layout


Simplistix - Content Management, Zope & Python Consulting

reply via email to

[Prev in Thread] Current Thread [Next in Thread]