Fix glitches with struct field aligned indents
Indent correctly after opening square bracket
Allow indenting to align struct fields after curly brace
Indent return type to align with arguments
Add custom group for rust-mode
Add paragraph fill and auto-fill for multi-line comments
Add ERT tests
Fix #6031.  Allow symbolic log levels, not just numbers.
Fix regression of multi-line statement indents
Cover all cases for padding in paragraph fills as intended
Remove even more usage of clownshoes in symbols

This removes another large chunk of this odd 'clownshoes' identifier showing up
in symbol names. These all originated from external crates because the encoded
items were encoded independently of the paths calculated in ast_map. The
encoding of these paths now uses the helper function in ast_map to calculate the
"pretty name" for an impl block.

Unfortunately there is still no information about generics in the symbol name,
but it's certainly vastly better than before

    hash::__extensions__::write::_version::v0.8

becomes

    hash::Writer$SipState::write::hversion::v0.8

This also fixes bugs in which lots of methods would show up as `meth_XXX`, they
now only show up as `meth` and throw some extra characters onto the version
string.
Handle global log levels (fixes #6033)
Run gyp with CFG_PYTHON which is python < 3

This is required for systems where /usr/bin/python is actually python 3
Renamed Uuid::from_utf8 to Uuid::from_bytes

This method doesn't deal with utf8. I guess it got caught in a mass
rename.
auto merge of #8906 : novalis/rust/master, r=alexcrichton

This is a patch to fix #6031.  I didn't see any tests for the C++ library code, so I didn't write a test for my changes.  Did I miss something, or are there really no tests?
fix repr of strings/chars with quotes

Closes #8743
auto merge of #9041 : alexcrichton/rust/use-python-2, r=thestinger

This is required for systems where /usr/bin/python is actually python 3

I already did this before, but forgot to re-port it once libuv was re-upgraded
auto merge of #9043 : sfackler/rust/uuid-from-bytes, r=alexcrichton

This method doesn't deal with utf8. I guess it got caught in a mass
rename.
auto merge of #9046 : thestinger/rust/repr, r=alexcrichton

Closes #8743
auto merge of #9015 : MicahChalmer/rust/emacs-fixes-round-2, r=nikomatsakis

Here are fixes for more problems mentioned in #8787.  I think I've addressed everything mentioned there except for @nikomatsakis's comment about match/patterns now.  (This also fixes the bug in struct alignment that @pnkfelix mentioned from my earlier pull request #8872.)

The biggest change here is to make fill-paragraph (M-q) and auto-fill-mode work inside different variations of multi-line and doc comments.  Because of the way emacs paragraph fills work (callbacks interacting with global regexp variables that are used in odd ways) there were quite a few edge cases that I had to work around.

The only way I was able to keep it all straight was to create some regression tests.  They use the emacs lisp regression testing tool ERT, and are included as the last commit here.  I added a few tests for indentation as well.  I have not attempted to integrate the tests into the overall rust compiler build process, since I can't imagine anyone would want the compiler build to have a dependency on emacs.  Maybe at some point tools like this get their own repositories?  Just a thought.

One other thought related to the tests: should there be a place to put these types of style samples that isn't specific to one text editor?  Maybe as part of an official rust style guide, but in a form that would allow tools like this to pull out the samples and use them for tests?