all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "B. T. Raven" <nihil@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: pretty-layout in html-mode
Date: Tue, 12 May 2009 09:58:09 -0500	[thread overview]
Message-ID: <JO6dnb_vLMvvE5TXnZ2dnUVZ_g2dnZ2d@sysmatrix.net> (raw)
In-Reply-To: <mailman.7058.1242125860.31690.help-gnu-emacs@gnu.org>

Chris Withers wrote:
> 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 <your html file here>
>>
>> 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
> 

If the external program can be invoked as a standard filter then M-| 
(shell-command-on-region) might work. I ran it with sort and a sorted 
region was written to a new *Shell Command Output* buffer.

Ed


  parent reply	other threads:[~2009-05-12 14:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-12  9:28 pretty-layout in html-mode Chris Withers
2009-05-12  9:58 ` ken
2009-05-12  9:59   ` Chris Withers
2009-05-12 11:03     ` tomas
2009-05-12 10:57       ` Chris Withers
2009-05-12 11:14         ` tomas
     [not found]       ` <mailman.7058.1242125860.31690.help-gnu-emacs@gnu.org>
2009-05-12 14:58         ` B. T. Raven [this message]
     [not found]   ` <mailman.7055.1242122394.31690.help-gnu-emacs@gnu.org>
2009-05-12 10:02     ` Anselm Helbig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=JO6dnb_vLMvvE5TXnZ2dnUVZ_g2dnZ2d@sysmatrix.net \
    --to=nihil@nihilo.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.