I'm in Dired, and one of the files in the current directory is a named pipe (FIFO)
prw-r--r--+ 1 ivan staff 0 Feb 6 11:13 some_pipe
If I (accidentally) visit it (with dired-visit-file), Emacs appears to freeze. This is not all that surprising, but I'm not sure what it's doing. I can break out of the frozen state by hammering on
C-M-c (exit-recursive-edit) and
C-g (keyboard-quit), though even that behaves inconsistently (sometimes it works after about 3 taps, sometimes it requires more, and a mix of both commands).
What I'd most like to know is what the expected behavior should be when a user tries to visit a FIFO, and maybe more importantly, how to prevent such accidental visitations.