[lkml]   [2005]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC PATCH 1/10] vfs: Lindentified namespace.c
    On Fri, 16 September 2005 14:39:15 -0700, Ram Pai wrote:
    > On Fri, 2005-09-16 at 14:25, Andrew Morton wrote:
    > > (Ram) wrote:
    > > >
    > > > Lindentified fs/namespace.c
    > >
    > > For something which is as already-close to CodingStyle as namespace.c it's
    > > probably better to tidy it up by hand. Lindent breaks almost as much stuff
    > > as it fixes.
    > I thought Lindent was the gospel for codying style. Looks like its not.
    > Will fix all of them.

    It is an approximation. In my personal experience, the "-l80"
    parameter is doing a lot of harm. It causes things like

    if (...)
    for (...)
    while (...)
    if (...)
    for (...)
    while (...)

    Code with many indentation levels is pressed hard against the 80
    column limit. Such code needs manual cleanup anyway and the 80 column
    thing makes manual cleanup harder instead of easier. Without that,
    Lindent is a big initial improvement.

    It is not the final word. :)


    If you're willing to restrict the flexibility of your approach,
    you can almost always do something better.
    -- John Carmack
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-09-17 14:21    [W:0.024 / U:11.404 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site