[mew-int 02078] Re: pgp key fetch time-out
Kazu Yamamoto ( 山本和彦 )
kazu at example.com
Mon Oct 24 17:02:26 JST 2005
Hello,
> R1) The action is option a). While reading my email either by
> pressing SPC or 'n'/'p' when i'm on a really slow link or behind a
> firewall that prevents me to reach hkp://subkeys.pgp.net the whole
> emacs process hangs waiting for the process gpgkeys_hkp to
> terminate. I have to kill gpgkeys_hkp to continue editing other
> emacs buffers and/or continue reading my mail in mew.
OK. Since I didn't know gpgkeys_hkp, I didn't understand. But
I think now I understand completely.
You configured gpg.conf like:
keyserver-options auto-key-retrieve
So, GnuPG automatically fetches a public key when necessary.
I did not hit upon an elegant solution. As a workround, put
the following code to your .mew.el. Type M-x mew-toggle-gpg-key-fetch
toggles the auto fetch feature.
(defconst mew-prog-pgpv-arg2
'(("+batchmode=on" "+language=en")
("+batchmode=on" "+language=en" "+force=on")
("+batchmode=on" "+language=en")
("--verify" "--batch")))
(defconst mew-prog-pgpv-arg2
'(("+batchmode=on" "+language=en")
("+batchmode=on" "+language=en" "+force=on")
("+batchmode=on" "+language=en")
("--verify" "--batch" "--keyserver-options"))) ;; override auto-key-retrieve
(defun mew-toggle-gpg-key-fetch ()
(interactive)
(if (equal mew-prog-pgpv-arg mew-prog-pgpv-arg2)
(setq mew-prog-pgpv-arg mew-prog-pgpv-arg3)
(setq mew-prog-pgpv-arg mew-prog-pgpv-arg2)))
--Kazu
More information about the Mew-int
mailing list