Use a bar cursor in emacs gui.