dired-hacks
dired-hacks copied to clipboard
dired-subtree does not refresh when doing operations in dired
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
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...
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.