Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Subject: Re: [PATCH] Use shell-command-on-region in pgg-gpg.el
Date: Wed, 14 May 2003 10:31:28 +0200	[thread overview]
Message-ID: <ilufznivsin.fsf@latte-wlan.josefsson.org> (raw)
In-Reply-To: <ullxa0zja.fsf@axis.com> (Niklas Morberg's message of "Wed, 14 May 2003 09:15:37 +0200")

Niklas Morberg <niklas.morberg@axis.com> writes:

> Evaling the following in the *scratch* buffer: 
>
>   (shell-command-on-region (point) (point) "gpg --recv-keys 0x80808080" t)
>
> Returns immediately with the following result:
>
> gpg: requesting key 80808080 from search.keyserver.net
> gpg: no valid OpenPGP data found.
> gpg: Total number processed: 0
>
> Evaling the following in the *scratch* buffer: 
>
>   (call-process-region (point) (point) "gpg" nil t nil "--recv-keys" "0x80808080")
>
> Hangs for a while and then returns:
>
> gpg: requesting key 80808080 from search.keyserver.net
> gpg: can't get key from keyserver: Connection timed out
> gpg: Total number processed: 0
>
> If I do the same but use a local keyserver (by modifying
> ~/.gnupg/gpg.conf) both functions return immediately with
> the identical output:
>
> gpg: requesting key 80808080 from keys.axis.se
> gpg: no valid OpenPGP data found.
> gpg: Total number processed: 0

Perhaps you could attach to the gpg process with a debugger to see
what it is doing, and why it isn't talking through your HTTP proxy?
Or if you have strace or similar, it is probably easier to replace
"gpg" above with "strace" (and make "gpg" a paramter).

Asking on a Windows-Emacs mailing list might help, this sounds like a
Windows-specific problem.




  reply	other threads:[~2003-05-14  8:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-13 14:07 Getting gpg (or is it pgg?) to play nice with proxy Niklas Morberg
2003-04-17  8:57 ` Niklas Morberg
2003-04-25  9:53   ` Niklas Morberg
2003-05-09  9:44     ` [PATCH] Use shell-command-on-region in pgg-gpg.el (was: Getting gpg (or is it pgg?) to play nice with proxy) Niklas Morberg
2003-05-13 18:09       ` [PATCH] Use shell-command-on-region in pgg-gpg.el Lars Magne Ingebrigtsen
2003-05-14  7:15         ` Niklas Morberg
2003-05-14  8:31           ` Simon Josefsson [this message]
2003-05-14  9:51             ` Niklas Morberg
2003-05-14  9:59               ` Simon Josefsson
2003-05-16 16:41         ` Dave Love
2003-05-10  8:03   ` Getting gpg (or is it pgg?) to play nice with proxy Simon Josefsson
2003-05-12  9:16     ` Niklas Morberg
2003-05-12 12:05       ` Simon Josefsson
2003-05-13  7:43         ` Niklas Morberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ilufznivsin.fsf@latte-wlan.josefsson.org \
    --to=jas@extundo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).