public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] [CodingStyle] Add comment to not put spaces before tabs.
@ 2007-05-25 17:25 Auke Kok
  2007-05-25 17:25 ` [PATCH 2/2] [condingstyle] Add chapter on tests Auke Kok
  2007-05-25 17:32 ` [PATCH 1/2] [CodingStyle] Add comment to not put spaces before tabs Stefan Richter
  0 siblings, 2 replies; 19+ messages in thread
From: Auke Kok @ 2007-05-25 17:25 UTC (permalink / raw)
  To: randy.dunlap; +Cc: auke-jan.h.kok, linux-kernel

Mixed space/tab indentation is wrong. Ironically this is what the coding
style document actually shows ;)

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
---

 Documentation/CodingStyle |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/Documentation/CodingStyle b/Documentation/CodingStyle
index afc2867..f518395 100644
--- a/Documentation/CodingStyle
+++ b/Documentation/CodingStyle
@@ -13,7 +13,7 @@ and NOT read it.  Burn them, it's a great symbolic gesture.
 Anyway, here goes:
 
 
-	 	Chapter 1: Indentation
+		Chapter 1: Indentation
 
 Tabs are 8 characters, and thus indentations are also 8 characters.
 There are heretic movements that try to make indentations 4 (or even 2!)
@@ -71,6 +71,8 @@ used for indentation, and the above example is deliberately broken.
 
 Get a decent editor and don't leave whitespace at the end of lines.
 
+Don't put spaces before tabs or mix them.
+
 
 		Chapter 2: Breaking long lines and strings
 

^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2007-05-27 21:01 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-25 17:25 [PATCH 1/2] [CodingStyle] Add comment to not put spaces before tabs Auke Kok
2007-05-25 17:25 ` [PATCH 2/2] [condingstyle] Add chapter on tests Auke Kok
2007-05-25 17:34   ` Stefan Richter
2007-05-25 17:40     ` Kok, Auke
2007-05-26 19:27   ` Jan Engelhardt
2007-05-26 20:13     ` [PATCH] " Jan Engelhardt
2007-05-26 22:35       ` Scott Preece
2007-05-27 14:37       ` Stefan Richter
2007-05-27 15:02         ` Jan Engelhardt
2007-05-27 15:23           ` Stefan Richter
2007-05-27 15:52             ` Jan Engelhardt
2007-05-27 21:01       ` Guennadi Liakhovetski
2007-05-27 18:04     ` [PATCH 2/2] " Kok, Auke
2007-05-27 20:17       ` Pekka Enberg
2007-05-27 16:08   ` Jesper Juhl
2007-05-25 17:32 ` [PATCH 1/2] [CodingStyle] Add comment to not put spaces before tabs Stefan Richter
2007-05-25 19:43   ` H. Peter Anvin
2007-05-25 20:29     ` Kok, Auke
2007-05-25 21:26       ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox