lkml.org 
[lkml]   [2006]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH/RFC] CodingStyle updates
On 12/14/06, Randy Dunlap <randy.dunlap@oracle.com> wrote:
> Scott Preece wrote:
> [1]
> >> Outside of comments, documentation and except in Kconfig, spaces are
> >> never
> >> used for indentation, and the above example is deliberately broken.
> > ---
> >
> > I realize it isn't text you added, but what's that supposed to mean?
> > Surely the 8-character indents are made up of spaces. Does it mean
>
> No, the 8-character indents are made of one ASCII TAB character.
----

Probably should say so, then. As it is, the only way to figure that
out (other than loking at code (:)) is to infer it from the .emacs
example, which doesn't come until 8 chapters later in the document.

Maybe:

Outside of comments, documentation, and Kconfig, use TAB characters
for indentation. Spaces are never used for indentation, and the above
example is deliberately broken in several ways, including use of
spaces.

scott
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-12-15 00:57    [W:0.033 / U:2.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site