Kévin Le Gouguec writes: > 1. create an ~/.authinfo.gpg file with the EasyPG assistant[1] > 2. pkill -HUP gpg-agent > 2. emacs -Q > 3. (progn > (setq epg-pinentry-mode 'loopback) > (icomplete-mode)) > 5. C-x C-f /ssh: > > This brings up epa.el's "Passphrase for symmetric encryption" prompt to > unlock ~/.authinfo.gpg. The prompt cannot be completed, because any > self-inserting character brings the "Find file" prompt back up, and from > *there*, typing any character brings the "Passphrase for symmetric > encryption" prompt back again. Still getting bitten by this, just about every time I start Emacs and open a remote file. I've tried to debug this repeatedly, but I'm obviously doing it wrong since no amount of debugging-on-entry or tweaking {pre,post}-command-hook amounted to anything. FWIW I've dumped backtraces of both the TRAMP recipe and the etags recipe.