Also note that DNS lookups do not go through a SOCKS proxy, which leaves a huge surface of attack and monitoring.
DNS does seem to go through SOCKS to an exit node, which then does the name resolution[1]
Supposedly more attention is to be paid to this in the next major version.
http://tor.stackexchange.com/questions/8/how-does-tor-route-...
It get's a bit more complicated for other services besides web browsing. torsocks works well to send traffic trough tor, but providing anonymity means you have to be really sure that no identity related information is leaked.