Partial sum implementation

You can use [DirectoryVariables](http://www.emacswiki.org/emacs/DirectoryVariables) to get emacs to use different formatting modes for different directories. If you write a .dir-locals.el for range-v3 that agrees with the clang-format, you can make a pull request.