From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/51560 Path: main.gmane.org!not-for-mail From: Niklas Morberg Newsgroups: gmane.emacs.gnus.general Subject: Re: Getting gpg (or is it pgg?) to play nice with proxy Date: Thu, 17 Apr 2003 10:57:13 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050569830 11256 80.91.224.249 (17 Apr 2003 08:57:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 17 Apr 2003 08:57:10 +0000 (UTC) Original-X-From: ding-owner+M104@lists.math.uh.edu Thu Apr 17 10:57:08 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1965Ce-0002vK-00 for ; Thu, 17 Apr 2003 10:57:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1965Cu-0005bo-00; Thu, 17 Apr 2003 03:57:24 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1965Cq-0005bj-00 for ding@lists.math.uh.edu; Thu, 17 Apr 2003 03:57:20 -0500 Original-Received: (qmail 29044 invoked by alias); 17 Apr 2003 08:57:19 -0000 Original-Received: (qmail 29039 invoked from network); 17 Apr 2003 08:57:19 -0000 Original-Received: from krynn.se.axis.com (193.13.178.10) by sclp3.sclp.com with SMTP; 17 Apr 2003 08:57:19 -0000 Original-Received: from PCNIKLAS2 (dh10-13-8-222.se.axis.com [10.13.8.222]) by krynn.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) with ESMTP id h3H8vDfZ008902 for ; Thu, 17 Apr 2003 10:57:13 +0200 Original-To: ding@gnus.org In-Reply-To: (Niklas Morberg's message of "Thu, 13 Mar 2003 15:07:34 +0100") Mail-Followup-To: ding@gnus.org User-Agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.2 (windows-nt) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:51560 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:51560 Niklas Morberg writes: > If I do `M-x shell-command' and execute: > > gpg --recv-keys 0x80808080 [snip] This works fine. > But if I try to verify a signed message from within gnus > the request times out. I've tried to change the keyserver > to a local one inside the firewall and then it works. [snip] > I'm running cygwin as my shell and unless I have: > > (setq shell-command-switch "-ic") > > the `M-x shell-command' also times out. It still works if I > run it in a shell in emacs (`M-x shell' and then the gpg > command.) Ok, I think I have found the problem. I would need some help to find a solution. In pgg-gpg.el, the function pgg-gpg-process-region uses call-process-region. My guess is that call-process-region does not use my proxy settings (defined in .emacs with setenv). Would it be possible to use shell-command-on-region instead? I think that this would work better, but I don't quite know how to change the function to test this as s-c-o-r takes different arguments than call-process-region. Niklas