If you want to submit patches to Notion, you must follow my coding style, even if you think it is the root of all evil. We don't want the code to be an incomprehensible mess of styles and I have better things to do than fix other people's style to match mine. The style should be obvious by studying the source, but here's a list of some things to take note of.
void foo() { again: switch(asdf){ case 1: ... break; default: ... break; } }
if(foo){ bar() }
).
For example, the block
void foo(int a, int b) { if(a==b && c+d==e){ ... } }
has correct style while the block
void foo(int a,int b) { if (a == b && c + d == e) { ... } }
does not.
/*{{{ Many related functions */ void code() { ... } ... /*}}}*/
I think that's mostly it. Study the source when in doubt.