More emacs and ranger stuff