Den 2016-02-24 kl. 22:00, skrev Murray Cumming:AddOn Sun, 2016-02-14 at 17:15 +0100, Kjell Ahlstedt wrote:This is my proposal: BasedOnStyle: Mozilla Standard: Cpp11 AlignAfterOpenBracket: false AlignEscapedNewlinesLeft: true AlwaysBreakAfterDefinitionReturnType: None BreakBeforeBraces: Allman ColumnLimit: 100 IndentCaseLabels: false The differences from your patch is that I've added AlignEscapedNewlinesLeft: true AlwaysBreakAfterDefinitionReturnType: None ColumnLimit: 100 IndentCaseLabels: false and removed SpaceBeforeParens: Never These differences are not important to me. I can accept most formatting rules. Consistent formatting is important, but the exact rules are not. BreakConstructorInitializersBeforeComma: false ConstructorInitializerAllOnOneLineOrOnePerLine: true ConstructorInitializerIndentWidth: 0 Those lines are part of a multi-line comment with too long lines. It's formatted differently if it's not a comment. + list_file.push_back( + MenuElem("_New", "<control>N", sigc::mem_fun(*this, &Example_AppWindow::on_menu_item))); This is not ideal: // left top width height - m_Grid.attach(m_ScrolledWindow, 0, 2, 1, 1); + m_Grid.attach(m_ScrolledWindow, 0, 2, 1, 1); It can be avoided with extra comments: + // clang-format off // left top width height m_Grid.attach(m_Toolbar, 0, 1, 1, 1); + // clang-format on |