Fuco1 / dired-hacks

Collection of useful dired additions
GNU General Public License v3.0
847 stars 76 forks source link

dired-avfs does nothing #222

Open lrustand opened 1 month ago

lrustand commented 1 month ago

Like the title says, dired-avfs doesn't change anything. Archives are still opened by the default thingy instead of in dired.

lrustand commented 1 month ago

I found out I can manually call (dired-avfs-open) which seems to do the right thing, but the readme says that it should be "seamless" and that everything should "Should Just Work™". The way I understand this is that I should just open the zip file the same way I would open any other file or directory and it should automagically use avfs. Is this not correct?

Fuco1 commented 1 month ago

You still have to configure dired-avfs-root, what is your root? Although if dired-avfs-open works that's probably not the issue.

lrustand commented 1 month ago

Somehow it has started working now, without changing anything.

Anyway, I now have discovered a different problem (should I open a separate issue?):

  1. Open zip file. It now correctly opens in dired.
  2. Navigate up a directory.
  3. Notice that the pathname displayed now is inside of the avfs mount point, and not the real parent directory of the zipfile.
  4. Enter the zipfile again. Now it we are inside avfs inside avfs.
  5. Repeat above two steps and see that it recurses deeper and deeper each time.