[Freeciv-Dev] Re: [PATCH] Unit movement
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sat, Jan 13, 2001 at 07:59:39PM -0500, Greg Wooledge wrote:
> 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
>
Thanks for pointing this out. Since indent only sees some part of the
code it doesn't know the starting level. Nevertheless its better than
nothing.
> Although I don't know emacs very well, I'd be surprised if it can't do
> the same thing.
shell-command-on-region
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
Tank: So what do you need? Besides a miracle.
Neo: Guns. Lots of guns.
-- From The Matrix
[Freeciv-Dev] Re: [PATCH] Unit movement, Raimar Falke, 2001/01/14
[Freeciv-Dev] Re: [PATCH] Unit movement, ccrayne, 2001/01/12
- [Freeciv-Dev] Re: [PATCH] Unit movement, Raimar Falke, 2001/01/13
- [Freeciv-Dev] Re: [PATCH] Unit movement, Raimar Falke, 2001/01/14
- [Freeciv-Dev] Re: [PATCH] Unit movement, ccrayne, 2001/01/14
- [Freeciv-Dev] Re: [PATCH] Unit movement, Marko Lindqvist, 2001/01/15
- [Freeciv-Dev] Re: [PATCH] Unit movement, Raimar Falke, 2001/01/15
- [Freeciv-Dev] Re: [PATCH] Unit movement, Reinier Post, 2001/01/15
|
|