Fuco1/dired-hacks

Running `dired-find-file` (`RET`) on a file under `~/.avfs` causes Emacs to lock up

Closed this issue · 4 comments

This is very easy to do with #76. The only thing I can do is send the process SIGKILL.

Fuco1 commented

That's probably an issue with the avfs mount more than with Emacs. There is nothing special except opening the file which then goes right through the system.

Can you access those files from the command line? If so then we can be a bit more sure this is caused by Emacs or this package.

Yeah, it's not just Emacs, because catting a file always hangs and sometimes needs SIGKILL (and even then sometimes that doesn't work). It's also nothing directly to do with this package, because you can lock up emacs -Q. Ideally it would be impossible to try to open files under ~/.avfs; if it's easy to do this somehow it would be a good idea.

Fuco1 commented

Are you using dired-avfs to open them? In which case, if your avfs daemon is not working maybe not using that package would be easier solution. As it is quite hard to wander into ~/.avfs by accident.

I originally wandered into ~/.avfs due to #76, otherwise I've been just testing things by going directly in there with dired.