I just installed icicles.

I use ido-mode for the minibuffer.

In a dired buffer, when I press + (bound to dired-create-directory), here is what happens:

  • the first time, the error icicle-restore-other-keymap-keys: Key sequence M-s M-s starts with non-prefix key M-s comes up
  • the second time and onward, the minibufferproperly comes up, but there's a twist. It says Create directory: [current dir] the first time as expected, then Create directory: [current dir][current dir] the next, etc. etc.

And after that, even other minibuffer interactions like define-variable would have [current dir][current dir]... in them.

My icicle configuration:

(use-package icicles
  :config (icy-mode 1))

My dired config:

(require 'dired-x)

(add-hook 'dired-mode-hook 'dired-hide-details-mode)

(setq global-auto-revert-non-file-buffers t)
(setq auto-revert-verbose nil)

(setq dired-dwim-target t)

(setq ls-lisp-use-insert-directory-program nil)
(require 'ls-lisp)

  (require 'dired)
  (defun dired-back-to-top ()
    (next-line 2))

  (define-key dired-mode-map
    (vector 'remap 'beginning-of-buffer) 'dired-back-to-top)

  (defun dired-jump-to-bottom ()
    (next-line -1))

  (define-key dired-mode-map
    (vector 'remap 'end-of-buffer) 'dired-jump-to-bottom)

I don't know enough about how icicles to know what's going on. I need some help.

  • OK, but what was the result? Did turning off ido-mode solve the problem?
    – Drew
    Mar 18, 2016 at 4:40
  • It did. I had to actively tell emacs to turn off ido-mode but it did fix the problem.
    – Trevoke
    Mar 18, 2016 at 13:49

1 Answer 1


Turn off ido-mode.

Ido takes over the minibuffer, imposing its own, radically different key bindings and behavior. Ido is not compatible with Icicles or with the vanilla Emacs minibuffer key bindings.

See here for the relation between Ido and Icicles and how to get more Ido-like behavior using Icicles, if you like Ido behavior.

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.