Fix some settings for my python and emacs environments