RE: [PEAR-DEV] tabs and spaces (was: VIM config in PEAR files?)
| From: | Lukas Smith | Date: | Tue, 16 Apr 2002 08:21:57 +0000 |
| Subject: | RE: [PEAR-DEV] tabs and spaces (was: VIM config in PEAR files?) | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-5543@lists.php.net to get a copy of this message | ||
The problem is simple: there are editors that dont have a feature to set
the tab spacing (I dont touch an editor that does not have this
feature). I never really had problems with diff.
Anyways the discussion is moot. Its not going to change. I know because
I have tried :-)
Best regards,
Lukas Smith
smith@dybnet.de
_______________________________
DybNet Internet Solutions GbR
Reuchlinstr. 10-11
Gebäude 4 1.OG Raum 6 (4.1.6)
10553 Berlin
Germany
Tel. : +49 30 83 22 50 00
Fax : +49 30 83 22 50 07
www.dybnet.de info@dybnet.de
_______________________________
> -----Original Message-----
> From: Dave Mertens [mailto:dave@zyprexia.com]
> Sent: Tuesday, April 16, 2002 11:01 AM
> To: Stig S. Bakken
> Cc: Markus Fischer; Richard Heyes; Tomas V.V.Cox;
pear-dev@lists.php.net
> Subject: Re: [PEAR-DEV] VIM config in PEAR files?
>
> On Mon, Apr 15, 2002 at 09:06:22PM +0200, Stig S. Bakken wrote:
> > On Mon, 2002-04-15 at 11:23, Dave Mertens wrote:
> >
> > Tabs have variable rendering size, so using spaces only is the only
> > predictable way of formatting code. Did you ever see what happens
to
> > indentation in "cvs diff" output on code that uses a mix of tabs and
> > spaces? Or in "less"? Or in any other program using a different
tab
> > width? It's all messed up, and that's why we have this standard.
>
> But why is using someone spaces and tabs mixed up?? And in every
editor a
> tab still is a tab.
> I don't program in diff and less is as far i know read-only.
>
> You know, at the company i work we have some 'special' developers
> keyboards. In the past WP and AutoCad had keyboard layers telling you
with
> function key did what.
> On the dev-layout tab is written as 'indent'
>
> Every used the 'indent' tool?? Guess what that tool is making of 4
spaces?
> I'm ok that indent uses 4 places and i don't care if that are 4 spaces
OR
> 1 tab.
>
> b.t.w. The indenting of less is configurable. (-x4 or --tabs=4)
>
> Dave Mertens
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php