Gnus development mailing list
 help / color / mirror / Atom feed
From: Niklas Morberg <niklas.morberg@axis.com>
Subject: Re: Getting gpg (or is it pgg?) to play nice with proxy
Date: Mon, 12 May 2003 11:16:10 +0200	[thread overview]
Message-ID: <uaddsplt1.fsf@axis.com> (raw)
In-Reply-To: <iluvfwjrzxg.fsf@latte.josefsson.org> (Simon Josefsson's message of "Sat, 10 May 2003 10:03:39 +0200")

Simon Josefsson <jas@extundo.com> writes:

> Niklas Morberg <niklas.morberg@axis.com> writes:
>
> I think it would be better to first understand exactly why
> call-process-region doesn't work for you.

Agreed.

> Try evaluate the following
>
> (progn
>   (setenv "FOO" "bar")
>   (call-process-region (point-min) (point-max) shell-file-name
> 		       nil (current-buffer) nil shell-command-switch "set"))

Not quite sure what's important here, but:

BASH=/usr/bin/bash
BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="9" [4]="release" [5]="i686-pc-cygwin")
BASH_VERSION='2.05b.0(9)-release'
...
FOO=bar
...
HTTP_PROXY=[my-proxy-server]

The value for HTTP_PROXY is correct.

> Is it possible that your shell somehow alters the http proxy variable?

Certainly, but I don't know how to verify it. As I said in
my original mail: 
<URL:
http://article.gmane.org/gmane.emacs.gnus.general/50816> the
proxy works for both `M-x shell-command' and within the emacs
shell.

Niklas




  reply	other threads:[~2003-05-12  9:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-13 14:07 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
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 [this message]
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=uaddsplt1.fsf@axis.com \
    --to=niklas.morberg@axis.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).