From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/52622 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: [PATCH] Use shell-command-on-region in pgg-gpg.el Date: Tue, 13 May 2003 20:09:35 +0200 Organization: Programmerer Ingebrigtsen 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 1052849460 22457 80.91.224.249 (13 May 2003 18:11:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 13 May 2003 18:11:00 +0000 (UTC) Original-X-From: ding-owner+M1166@lists.math.uh.edu Tue May 13 20:10:58 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 19FeCC-0005aB-00 for ; Tue, 13 May 2003 20:08:12 +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 19FeDd-000285-00; Tue, 13 May 2003 13:09:41 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19FeDY-000280-00 for ding@lists.math.uh.edu; Tue, 13 May 2003 13:09:36 -0500 Original-Received: (qmail 33597 invoked by alias); 13 May 2003 18:09:36 -0000 Original-Received: (qmail 33592 invoked from network); 13 May 2003 18:09:36 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by sclp3.sclp.com with SMTP; 13 May 2003 18:09:36 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 19FeIx-0006yn-00 for ; Tue, 13 May 2003 20:15:11 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 22 Original-NNTP-Posting-Host: quimbies.gnus.org Original-X-Trace: quimby.gnus.org 1052849711 26805 80.91.231.2 (13 May 2003 18:15:11 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 13 May 2003 18:15:11 GMT Mail-Copies-To: never X-Now-Playing: Black Dice's _Beaches & Canyons_: "Things Will Never Be the Same" Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAADFBMVEX19veIk4JbRzm4xc4Z j9aRAAACMUlEQVR4nD2S0WtSURzHf9fDlGLOiPniXL3voYfa3WA4VKR6ajPUDLnzvozQ4yDD2Ygy i/6ARkGCsephoPd3e4mK3tp1FxmE4KDZSBy+DEbu5crmU15u507pPBz4PvzO7/v9fg48RXa+fjfv LGxI1g+UqNLca3wI8gq0rhD17rQy1QGJ85c5oioddZQCWlEeJ9CixRcIOIbysV1LUPyMQLdxedae FqbQz8QPBKgHgOAnGbCIAT6nBy34RgL6DutHcO2ogkUJIksycY9olxUakyErlGxVuy+jJV0F6Amp 6eqkmN5NMREJpiYfNMTrbnmuAPvKQSTf3q9GEiNR2ANOXDyp6w0F2hD2XJjNR9b0nx7PHxC8Dv4J lecFTXNBlDi8fVr2rmpKEyIwqvac97dAI5QJnxo3ujd3CEchyvvInthrq9ZMDAR+sXIrt7agdoO/ wGjUZuJ67tHLqyUdPC3HJczlcFUZPwHjd23mnq7HvnBhYzCj526o3VBj+NrfA3Vs3VyqqEuG/rhm r9Chg9CWQ2FLww7mrbNp1DQlNnCNzLXSd5l5nPk7b/Wgu980k942k/IKNKDtG3ZwStpn7WQaYrUt 81HWW8JTdYoZd9n1HrLipm2HNcpK/AbJeIm4bZoBtFkYUCDAKMQkwBiqfF4PWRio/+Q43GDkLLgy a/ftOtEvmejLx/PpZYrPESTzHwAc4pngtsucowJ0IYBQ+gjCRVI5nYAJCq/k8+tJQsrnntHmP/j5 E1Uk32DKAAAAAElFTkSuQmCC User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:du6cmAWewEE1c8FfVG4fAhMgKvk= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:52622 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:52622 Niklas Morberg writes: >>> 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). I'm kinda surprised that that would make any difference. If the command uses environment variables, it should heed them in any case, shouldn't it? > I haven't been able to test the original implementation > (since call-process-region does not use my proxy settings) > and don't know if the output from the command is supposed to > pop up in a new frame. Now it does. It's not supposed to do that, which is why one doesn't use `shell-command*' in programs. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen