[Freeciv-Dev] Re: [PATCH] Unit movement
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Raimar Falke (hawk@xxxxxxxxxxxxxxxxxxxxxxx) wrote:
> I can't use indent for the reasons stated below. And I don't know a
> tool which will ident only a part of a file or a patch.
The GNU version of indent, at least, can read from standard input and write
to standard output. Therefore you can do it in vi.
ma -> set mark "a"
!'aindent <Enter> -> pipe the block of text from the cursor to mark "a"
through indent and replace it with the output thereof
Although I don't know emacs very well, I'd be surprised if it can't do
the same thing.
--
*** Please note new address. --> | Greg Wooledge
| greg@xxxxxxxxxxxx
"Truth belongs to everybody." | http://wooledge.org/~greg/
Red Hot Chili Peppers | old page: http://www.kellnet.com/wooledge/
pgpdHw3mjyFae.pgp
Description: PGP signature
[Freeciv-Dev] Re: [PATCH] Unit movement, Raimar Falke, 2001/01/14
[Freeciv-Dev] Re: [PATCH] Unit movement, ccrayne, 2001/01/12
|
|