[webkit-dev] Modelines

Maciej Stachowiak mjs at apple.com
Thu Aug 24 10:26:02 PDT 2006


On Aug 24, 2006, at 8:44 AM, George Staikos wrote:

>
> It was brought to my attention that patches containing editor  
> modelines are
> being rejected until the modelines are removed.  Modelines are a  
> great way to
> instruct the editor to use the proper coding convention on a given  
> file,
> especially when one works on various projects each with different  
> coding
> conventions.  Is this really such a horrible thing?

I put this at the top of all C++ files and headers:

// -*- mode: c++; c-basic-offset: 4 -*-

I think if we want multiple modelines we should agree on which ones  
and use them consistently.

Cheers,
Maciej






More information about the webkit-dev mailing list