[webkit-dev] Modelines

George Staikos staikos at kde.org
Thu Aug 24 11:12:09 PDT 2006


On Thursday 24 August 2006 13:26, Maciej Stachowiak wrote:
> 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.

  I think vim and emacs are the two most common.  I would really like to see 
vim modelines in at least the Qt/KDE related files, but preferably all of 
them.

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/



More information about the webkit-dev mailing list