Closed bastidest closed 2 years ago
I've applied your suggested fix but it doesn't seem to fix the issue. In fact, I'm not even sure what dired-narrow-enter-directory
is suppose to do, it just erases the buffer and insert a line of text into the buffer. It looks like a very crude way to exit narrowing. Your best bet is to reimplement this hack or file a bug to dired-narrow.
Information
emacs -q
?Emacs Configuration:
Bug Description
all-the-icons-dired
does not update the icons when usingdired-narrow
with thedired-narrow-enter-directory
function.How to Reproduce
emacs -q
with the given configuration and up-to-date melpa packages/
or M-xdired-narrow
Expected Behavior
The
all-the-icons-dired--refresh-advice
should be executed when entering a directory (dired-narrow-enter-directory
) with dired-narrow. The dired buffer should not display mangled icons.Actual Behavior
The
all-the-icons-dired--refresh-advice
function is not executed when entering a directory (dired-narrow-enter-directory
) with dired-narrow. This results in mangled icons.Cause
It seems like the advice using the
dired-narrow--internal
function should usedired-narrow--remove-text-with-property
since after executing this function the icons appear mangled (by stepping through it with the debugger).Workaround
Suggested Change
Either replace or add this line. Replacing it has worked for me (1 day of testing).
Comment
Thank you for maintaining this package!