Clean up some references to ~str and ~[]

None of these are exactly code changes: emacs indenting tests and doc comments