Emacs 26.1, Dired+

  1. Open some folder in dired mode. enter image description here

  2. Split buffer by M-4 (split-window-vertically)

enter image description here

  1. Now I want to open src folder but only in TOP WINDOW. The bottom window must not be change. I press Enter in top window. But folder src open in BOTH windows - top and bottom.

enter image description here

  • 2
    That's not default dired behaviour, and from a quick test it's also not default dired+ behviour; so this is presumably your own custom config at fault, so you should start by looking at that. However, what is RET (Enter) actually bound to? – phils Apr 19 '20 at 13:24
  • What @phils said. Please provide a recipe that starts with emacs -Q (no init file). – Drew Apr 19 '20 at 19:24
  • I imagine the reason is this other question of yours. – phils Apr 19 '20 at 21:26
  • 1
    General rule: If the problem arises only when your init file is loaded then bisect your init file to find the culprit. But see also @phils's last comment. – Drew Apr 20 '20 at 15:04
  • 1
    In that case, please either (1) delete your question or (2) if you think the question and your comment answer might help others, add your answer. – Drew Apr 28 '20 at 17:32

I had this settings

(with-eval-after-load "dired" (define-key dired-mode-map (kbd "RET") 'dired-find-alternate-file))

So I removed it and the problem is gone.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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