I want to apply word completion on isearch shell. When I press tab ^I shows up on the shell instead of completing the word and show up a window for suggestions.

enter image description here

=> Is it possible to complete a word on isearch shell?

  • An interesting point is what information should it use for providing completion? It needs to guess somehow the strings you want to search.
    – JeanPierre
    Commented Feb 11, 2020 at 20:33
  • I just want it to detect information on the opened file (ex: Driver.py on the example I gave.)
    – alper
    Commented Feb 11, 2020 at 22:19

1 Answer 1


The question seems unclear. What is "isearch shell"?

You seem to be using TAB during Isearch and expecting completion against previous search strings (?). If so, the key you want is C-M-TAB (not TAB), which is bound to isearch-complete in isearch-mode-map.

But you say "complete a word", not complete against a previous search pattern, so the question seems quite unclear.

If you are just looking for full-word searching, that's on M-s w while isearching.

  • I am not sure for the proper definition for it, I try to refer when I do a isearch the interaction shell that show up on the bottom of the emacs
    – alper
    Commented Feb 11, 2020 at 16:17
  • That's the echo area (being used kind of as if it were the minibuffer). But what are you asking about it?
    – Drew
    Commented Feb 11, 2020 at 16:22
  • For example I have a hello_world and hello variables on my file. When I type he into isearch and press tab I want it to complete into hello_world and press tab again complete into hello (I think this is behavior of auto-complete). But on my case when I press tab ^I shows up instead of doing a completion
    – alper
    Commented Feb 11, 2020 at 16:31
  • AFAIK, Isearch does not have such completion.
    – Drew
    Commented Feb 11, 2020 at 18:32
  • @alper It's not integrated with isearch but you might want to look at hippie-expand.
    – Qudit
    Commented Feb 12, 2020 at 0:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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