Re: On Tabs and Spaces

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Tuesday, October 16, 2007 - 4:05 pm

On Tue, 16 Oct 2007, Tom Tobin wrote:

I do indeed. I don't think it's sensible. And I did think I already 
answered that issue by talking about how most editors don't even support 
it or show the difference between tabs and spaces.

For example, the editor I use - microemacs - supports tabs just fine. It 
does auto-indentation etc. But it does it with hard-tabs by default, so 
now you have to have some editor-specific setup for that particular 
project if you ever want to do anything else.

And that's really what it boils down to. Everybody support 8-character 
hardtabs (and usually by default). They may support other things *too*, 
but any time you move away from that standard behaviour, you'll most 
likely find something that doesn't support the alternatives.

So yes, the answer really is: "git uses 8-character hard-tabs, live with 
it". 

		Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: On Tabs and Spaces, Jari Aalto, (Tue Oct 16, 10:06 am)
Re: On Tabs and Spaces, Linus Torvalds, (Tue Oct 16, 12:20 pm)
Re: On Tabs and Spaces, Mike Hommey, (Tue Oct 16, 12:36 pm)
Re: On Tabs and Spaces, Linus Torvalds, (Tue Oct 16, 12:47 pm)
Re: On Tabs and Spaces, Linus Torvalds, (Tue Oct 16, 12:51 pm)
Re: On Tabs and Spaces, Tom Tobin, (Tue Oct 16, 1:18 pm)
Re: On Tabs and Spaces, Matthieu Moy, (Tue Oct 16, 1:32 pm)
Re: On Tabs and Spaces, Sam Ravnborg, (Tue Oct 16, 1:56 pm)
Re: On Tabs and Spaces, Linus Torvalds, (Tue Oct 16, 4:05 pm)
Re: On Tabs and Spaces, Christer Weinigel, (Tue Oct 16, 4:51 pm)
Re: On Tabs and Spaces, Linus Torvalds, (Tue Oct 16, 5:45 pm)
Re: On Tabs and Spaces, Michael Witten, (Tue Oct 16, 8:08 pm)
Re: On Tabs and Spaces, Linus Torvalds, (Tue Oct 16, 8:29 pm)
Re: On Tabs and Spaces, Luke Lu, (Wed Oct 17, 12:17 am)
Re: On Tabs and Spaces, Michael Witten, (Wed Oct 17, 2:09 am)
Re: On Tabs and Spaces, Luke Lu, (Wed Oct 17, 3:03 am)
Re: On Tabs and Spaces, Nikolai Weibull, (Wed Oct 17, 3:21 am)
Re: On Tabs and Spaces, Michael Witten, (Wed Oct 17, 4:23 am)
Re: On Tabs and Spaces, Linus Torvalds, (Wed Oct 17, 8:53 am)
Re: On Tabs and Spaces, Johannes Schindelin, (Wed Oct 17, 11:05 am)
Re: On Tabs and Spaces, Tom Tobin, (Wed Oct 17, 11:25 am)
Re: On Tabs and Spaces, Linus Torvalds, (Wed Oct 17, 11:54 am)
Re: On Tabs and Spaces, Tom Tobin, (Wed Oct 17, 12:33 pm)
Re: On Tabs and Spaces, Linus Torvalds, (Wed Oct 17, 12:44 pm)
Re: On Tabs and Spaces, Jan Wielemaker, (Wed Oct 17, 12:47 pm)
Re: On Tabs and Spaces, Nicolas Pitre, (Wed Oct 17, 12:48 pm)
Re: On Tabs and Spaces, Josh England, (Wed Oct 17, 12:52 pm)
Re: On Tabs and Spaces, Linus Torvalds, (Wed Oct 17, 12:53 pm)
Re: On Tabs and Spaces, David Kastrup, (Wed Oct 17, 1:31 pm)
Re: On Tabs and Spaces, Johannes Schindelin, (Wed Oct 17, 2:08 pm)
Re: On Tabs and Spaces, Christer Weinigel, (Wed Oct 17, 2:21 pm)
Re: On Tabs and Spaces, Linus Torvalds, (Wed Oct 17, 3:03 pm)
Re: On Tabs and Spaces, Johannes Schindelin, (Wed Oct 17, 3:11 pm)
Re: On Tabs and Spaces, Christer Weinigel, (Wed Oct 17, 4:17 pm)
Re: On Tabs and Spaces, Johannes Schindelin, (Wed Oct 17, 4:44 pm)
Re: On Tabs and Spaces, Linus Torvalds, (Wed Oct 17, 4:53 pm)
Re: On Tabs and Spaces, Christer Weinigel, (Wed Oct 17, 5:31 pm)
Re: On Tabs and Spaces, Jeff King, (Wed Oct 17, 5:32 pm)
Re: On Tabs and Spaces, Linus Torvalds, (Wed Oct 17, 5:59 pm)
Re: On Tabs and Spaces, Jeff King, (Wed Oct 17, 7:45 pm)
Re: On Tabs and Spaces, Jeff King, (Wed Oct 17, 8:00 pm)
Re: On Tabs and Spaces, david, (Wed Oct 17, 8:03 pm)
Re: On Tabs and Spaces, Linus Torvalds, (Wed Oct 17, 8:13 pm)
Re: On Tabs and Spaces, Jeff King, (Wed Oct 17, 8:23 pm)
Re: On Tabs and Spaces, Linus Torvalds, (Wed Oct 17, 8:32 pm)
Re: On Tabs and Spaces, Linus Torvalds, (Wed Oct 17, 9:17 pm)
Re: On Tabs and Spaces, Dmitry Potapov, (Wed Oct 17, 9:36 pm)
Re: On Tabs and Spaces, Nicolas Pitre, (Wed Oct 17, 9:52 pm)
Re: On Tabs and Spaces, Jeff King, (Wed Oct 17, 9:54 pm)
Re: On Tabs and Spaces, Jeff King, (Wed Oct 17, 9:55 pm)
Re: [PATCH] Add a message explaining that automatic GC is ..., Shawn O. Pearce, (Wed Oct 17, 10:11 pm)
Re: On Tabs and Spaces, Andreas Ericsson, (Wed Oct 17, 11:02 pm)
Re: On Tabs and Spaces, David Kastrup, (Wed Oct 17, 11:25 pm)
Re: [PATCH] git-gc: improve wording of --auto notification, Shawn O. Pearce, (Thu Oct 18, 6:24 pm)