dired-hacks icon indicating copy to clipboard operation
dired-hacks copied to clipboard

dired-subtree does not refresh when doing operations in dired

Open larkery opened this issue 9 years ago • 2 comments

I use dired-subtree instead of the default dired-maybe-insert-subdir because it's much better. The only gripe I have is that operations which dired usually keeps up to date for do get reflected in the subtree. For example, if I have a file a/b/c and I open a in dired, and then use dired-subtree to display b inline, and then ask dired to delete or rename c, the listing is not updated until I press g. If I use the normal dired insert subdir, these kinds of changes are reflected immediately without pressing g.

Is there any way to persuade dired-subtrees to update when performing operations on their contents?

Thanks,

Tom

larkery avatar Jan 06 '16 11:01 larkery

Oh, I have also just noticed another similar thing whereby if I use dired-do-touch on a file in a subtree, the file actually disappears from the subtree until I refresh with g...

larkery avatar Jan 06 '16 11:01 larkery

That must have changed recently because older dired did not refresh and you had to do some advice trickery or use a special mode or something.

I'm not against the change but I don't immediately see how to do it.

Fuco1 avatar Jan 06 '16 12:01 Fuco1