In a Common Lisp REPL buffer using Slime, I am using slime-fuzzy-completions-mode to complete symbols when pressing . Upon doing so, Emacs opens a new buffer (in same frame) and presents possible completions. So far so good.

When pressing SPC the currently selected completion is taken and inserted at point BUT Emacs then switches to the previously opened completion buffer ... See attached screenshots.

Before completion selection

After completion selection

What I want is Emacs closing the completion buffer after the completion selection. I just want to be taken back into the first buffer and continue typing there.

1 Answer 1


I found a workaround on GitHub that worked for me. https://github.com/slime/slime/issues/580#issuecomment-711070373

Same here (v2.26, Emacs 27.1 on Mac). Apparently, slime-fuzzy-window-configuration-change is invoked even if the window configuration doesn't change while the fuzzy completions are active.

(defun slime-fuzzy-window-configuration-change ()
  • Thx. Works for me.
    – frgo
    Commented Jan 18, 2023 at 18:34

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.