[webkit-dev] Point 3 of the WebKit Style Guidelines (indenting code inside namespaces in headers)

David Levin levin at google.com
Tue Sep 22 17:45:50 PDT 2009

On Tue, Sep 22, 2009 at 5:37 PM, Maciej Stachowiak <mjs at apple.com> wrote:

> On Sep 22, 2009, at 1:06 PM, David Hyatt wrote:
>  I had thought that we resolved ages ago that we would no longer be
>> indenting code inside namespaces in header files, since that just results in
>> the entire class declaration being pointlessly indented.
>> This is point 3 on the page:
>> http://webkit.org/coding/coding-style.html
>> I'd like to reverse the Right and Wrong examples to fix this.
>> Are there any objections to this change?  I know a few months ago, people
>> agreed (notably Maciej) that there was no longer any point to essentially
>> indenting the entire file's contents (when we already don't do this in .cpp
>> files).
> I like this change (even though it's hard to make Emacs play along).

Is there a way to get Emacs to auto-indent this correctly? :'(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090922/c5711203/attachment.html>

More information about the webkit-dev mailing list