I always wear Nike Pro compression shorts under loose fitting nylon shorts or under warmer pants in winter. That's whenever I ride. Not just commuting. This solves a chafing problem I had before with boxer shorts.
Edit: I have at least 7 pair of these compression shorts so as to always have some to wear.