Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

peep-dired-next-file / prev-file open new window showing dired buffer #20

Open
MorpheusMXML opened this issue Jan 11, 2023 · 0 comments

Comments

@MorpheusMXML
Copy link

Hi everyone,

first of all, im new to Emacs + hacking it so please forgive me if i might not be as precise as i should be.
Especially this is most likely my user / configuration fault and not a issue with the package itself.

However, i searched a lot on the net over the past couple of days and i just can't figure it out and actually lack the ability to debug it by myself. But I'd love to do so and am willing to learn 😄

So i use peep-dired like this:

(Use-package peep-dired 
   :after dired
   :config
   (setq peep-dired-cleanup-eagerly t)
   (setq peep-dired-enable-on-directories t))

with keybindings:

(general-def
   :states 'normal
   :keymaps 'peep-dired-mode-map
   "J" 'peep-dired-scroll-page-down
   "K" 'peep-dired-scroll-page-up
   "j" 'peep-dired-next-file
   "k" 'peep-dired-prev-file)

Now to my Problem

  • When i first start peep while in dired buffer, it will open a new window displaying the preview of the File ->Awesome works like expected
  • when i now hit j or k (calling the next-/prev-file method) i expected the just opened window to update its content previewing the now hovered file from the dired Buffer.
  • What actually happens is:
    • a new (3rd) window is opened.
    • both the 2nd and 3rd window are updated to displaying the dired buffer where i originally called peep-dired
  • quitting peep-dired will correctly kill these windows and buffers according to my above configuration.

Does anyone have an idea what i might be doing wrong or how i could debug this situation?

Thanks a lot for bearing with me!
Have a nice one.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant