punassuming / ranger.el

Bringing the goodness of ranger to dired!
699 stars 52 forks source link

Multiple dired buffers uncleaned. #122

Closed gujiaxi closed 8 years ago

gujiaxi commented 8 years ago

When I browse across multiple directories using ranger, it creates multiple dired buffers. I'm not sure if it is the same problem as @Wicus reported in #116. It seems that ranger is responsible for cleaning only ranger buffers instead of dired buffers no matter ranger-cleanup-on-disable or ranger-cleanup-eagerly. Is that so?

Even when I use (require 'dired-single) which works in vanilla dired, there are multiple dired buffers left after using ranger.

Thanks for your awesome work.

punassuming commented 8 years ago

@gujiaxi, thanks for the comment! I need to look more in the cleanup methodology. Let me get back to you when I have refreshed on it.

punassuming commented 8 years ago

@gujiaxi, the latest changes improve cleanup, both when ranger-cleanup-on-disable or ranger-cleanup-eagerly is set.

gujiaxi commented 8 years ago

@ralesi It works fine now. Thanks for your work.