Subject: bug#3953: 23.0.94; GPG interaction fails

From: Torsten Bronger <[email-masked]>
Date: Thu, 30 Jul 2009 06:57:09 +0200

Hallöchen!

Daiki Ueno writes:

> [...]
>
>>> Can you insert debug-prints in epg-wait-for-completion?  It
>>> would be something like:
>>>
>>> (message "epg-process-filter-running: %S" epg-process-filter-running)
>
>> And where should I put it exactly?
>
> Like this:
>
> (defun epg-wait-for-completion (context)
>   "Wait until the `epg-gpg-program' process completes."
>   (while (eq (process-status (epg-context-process context)) 'run)
>     (accept-process-output (epg-context-process context) 1))
>   (message "epg-process-filter-running: %S" epg-process-filter-running) ;; <-
>   (sleep-for 0.1)
>   (message "epg-process-filter-running: %S" epg-process-filter-running) ;; <-
>   )

I get (no matter whether Gnus shows the correct result or not):

epg-process-filter-running: nil [2 times]

Tschö,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus
                   Jabber ID: [email-masked]
                                  or http://bronger-jmp.appspot.com