Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I open a shell in Emacs and try to Tab-complete paths, this stupid window pops up:

Click <mouse-2> on a completion to select it.
In this buffer, type RET to select the completion near point.

Possible completions are:
../     ./  .DS_Store   .git/     bar/     foo/

Is there a way I could use a minibuffer completion instead of this awful window, such as Ido or Icicles, or maybe even auto-complete.el?

share|improve this question
Thats really very good question, I also dislike window popping to just show the possible completion. – kindahero Feb 8 '12 at 8:32

Doesn't solve what you wanted, but you should use ansi-term, it's a much better shell emulator than the normal shell command. It has two modes where one acts like a regular emacs buffer (C-p goes up and C-n goes down) and the other mode acts like a normal shell (C-p for previous command and C-n for next command). And in both modes tab just completes like a normal shell.

share|improve this answer
How do you switch between said modes? – a paid nerd Feb 27 '12 at 18:43
C-c C-k and C-c C-j. – Ammar Abdulaziz Feb 27 '12 at 21:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.