bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#3953: 23.0.94; GPG interaction fails


From: Daiki Ueno
Subject: bug#3953: 23.0.94; GPG interaction fails
Date: Thu, 30 Jul 2009 08:59:16 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.96 (gnu/linux)

>>>>> In <87vdlbtho2.fsf@physik.rwth-aachen.de> 
>>>>>   Torsten Bronger <bronger@physik.rwth-aachen.de> wrote:
> > 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) ;; <-
  )

Regards,
-- 
Daiki Ueno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]