Quote Originally Posted by jusdooit View Post
ride as far to the right as is safe
Part of keeping safe means staying out of the "door zone", ie the area where car doors can suddenly open into.

Also, if it is momentarily not safe for a car to pass you using the same lane as you, then "take the lane". This means moving over more towards the center of the lane. You might do this on a narrow residential street when someone has parked on the bike lane.