some display configuration, especially for gui emacs.