[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: Re: [gentoo-dev] Ebuild indentation (tabs vs. spaces) fascism ;^)
From: Joachim Blaabjerg <styx () SuxOS ! org>
Date: 2002-04-29 17:00:39
[Download RAW message or body]
Spider wrote:
> now, Does anyone know how to make gpm transfer tabs/spaces ok instead of
> converting all my tabs to spaces? or failing gpm working, getting vim to
> notice gpm broken paste and convert and align nicely?
I don't know how that would be done, and I agree with mr. McArthur that it is
unlikely to happen. However, you could always use an sed ugly hack once in a
while to convert tabs to spaces.
sed s/"\t"/\ \ \ \ /g source-tabs.c > source-spaces.c
It works here, but I realise it's _far_ from a solution (and ugly as hell).
Just replace the number of escaped spaces to suit your needs.
Regards,
--
Joachim Blaabjerg
styx@SuxOS.org
www.SuxOS.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic