Subject: Re: bug#14559: 24.3.50; accept-process-output hang

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 14 Aug 2019 21:28:40 -0700

Chep <[email-masked]> writes:

> accept-process-output hangs sometimes. It always happens with erc (decrypting
> password file with gpg), sometimes with ampc and ispell.
>
> create a ~/.authinfo.gpg encrypted file (I think you can write what you want in
> this file)
>
> start emacs -Q
> M-x toggle-debug-on-quit
> M-x erc
> RET RET RET (default values)
> *emacs hangs after displaying "Decrypting /home/chep/.authinfo.gpg...done" *
> C-g
>
> Backtrace:
> Debugger entered--Lisp error: (quit)
>   accept-process-output(#<process epg> 1)
>   epg-wait-for-completion((epg-context . [OpenPGP nil nil nil nil nil nil (epa-file-passphrase-callback-function . "/home/chep/.authinfo.gpg") (epa-progress-callback-function . "Decrypting /home/chep/.authinfo.gpg") nil nil #<process epg> "/tmp/epg-output10821MWw" ((decryption-okay . t) (encrypted-to ("6A2BCF610629F4AC" 1 0))) decrypt nil]))

(I'm going through old bug reports that have unfortunately gotten no
responses yet.)

This sounds to me like the epg command doesn't output the expected data.

Are you still seeing this problem in more modern versions of Emacs?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no