I tried to run imenu-list-show in hook which is called after frame creation but it doesnt work as expected. It toggled the imenu-list in new frame but my keyboard arrows become unresponsive.

Code is:

(add-hook 'after-make-frame-functions
          (lambda (new-f)
            (select-frame new-f)
  • 1
    I'ver tried your code and the arrows keys are working fine (GNU Emacs 25.1.1 (OSX)). Maybe you should try it starting Emacs with "emacs -Q" and debug your init code..
    – Pedro
    Commented Dec 11, 2017 at 22:53

1 Answer 1


Works normally now, dont know why, but this code needed full emacs restart to works good.

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.