From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chris Withers Newsgroups: gmane.emacs.help Subject: Re: pretty-layout in html-mode Date: Tue, 12 May 2009 11:57:42 +0100 Message-ID: <4A095626.2090003@simplistix.co.uk> References: <4A09414F.2010206@simplistix.co.uk> <4A094842.8090701@mousecar.com> <4A09489D.2030304@simplistix.co.uk> <20090512110340.GB21268@tomas> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1242125890 21224 80.91.229.12 (12 May 2009 10:58:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 May 2009 10:58:10 +0000 (UTC) Cc: Emacs Help To: tomas@tuxteam.de Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 12 12:58:00 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M3pgO-0002JD-9h for geh-help-gnu-emacs@m.gmane.org; Tue, 12 May 2009 12:58:00 +0200 Original-Received: from localhost ([127.0.0.1]:34992 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3pgN-0003Am-QI for geh-help-gnu-emacs@m.gmane.org; Tue, 12 May 2009 06:57:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M3pg2-0003Ag-Kx for help-gnu-emacs@gnu.org; Tue, 12 May 2009 06:57:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M3pg0-00037v-3n for help-gnu-emacs@gnu.org; Tue, 12 May 2009 06:57:37 -0400 Original-Received: from [199.232.76.173] (port=44675 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3pfz-00037m-T4 for help-gnu-emacs@gnu.org; Tue, 12 May 2009 06:57:35 -0400 Original-Received: from server1.simplistix.co.uk ([89.151.125.140]:33659) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M3pfz-0004dz-HI for help-gnu-emacs@gnu.org; Tue, 12 May 2009 06:57:35 -0400 Original-Received: from [192.168.1.15] (cust162-dsl93-89-128.idnet.net [93.89.128.162]) by server1.simplistix.co.uk (Postfix) with ESMTPSA id 630F44F8079; Tue, 12 May 2009 11:57:34 +0100 (BST) User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <20090512110340.GB21268@tomas> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64373 Archived-At: tomas@tuxteam.de wrote: > I don't know at the moment how to pipe a region through an external > process, but that should be feasible. Xmllint does a nice job at what > you are trying: > > xmllint --html --format > > Maybe others could chime in as to how one could pass the region (or the > whole buffer) through an external program? I'm hoping for something internal to emacs as, for tedious but unchangeable reasons, I'm stuck running on Windows... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk