How to make the emacs not to pop up a window when using tab-completion?

Posted by Jinx on Ask Ubuntu See other posts from Ask Ubuntu or by Jinx
Published on 2011-03-14T07:58:30Z Indexed on 2011/03/15 8:22 UTC
Read the original article Hit count: 242

Filed under:

When I use the emacs shell mode or in gdb, when I type double tab, the emacs pop up a new window which always cover an existed window. While in terminal, when I type double tab, to complete a directory, the terminal just print all the candidates in the same window. Can I make the emacs not to pop up a new window when I use this feature?

edit this is I wanna do , but it's wrong, can somebody fix this?

;remove annoying poped-up windows
(defun rm-popup-window () (other-window) (kill-this-buffer) (other-window) )

(global-set-key [C-'] 'rm-popup-window);

© Ask Ubuntu or respective owner

Related posts about emacs