From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.bugs Subject: Re: Gnus of emacs21 not reading NNTPSERVER on Fink/Mac OS 10.4.3 Date: Tue, 06 Dec 2005 14:20:15 +0100 Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1133881838 5568 80.91.229.2 (6 Dec 2005 15:10:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Dec 2005 15:10:38 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 06 16:10:29 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EjePq-00021W-O3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Dec 2005 16:07:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EjeOq-00063X-LZ for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Dec 2005 10:06:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ejcl2-00012m-6R for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2005 08:21:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ejcky-00011k-M8 for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2005 08:21:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ejckw-00010x-Qb for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2005 08:21:19 -0500 Original-Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_ARCFOUR_SHA:16) (Exim 4.34) id 1Ejclc-0000bf-GS for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2005 08:22:00 -0500 Original-Received: from [134.60.1.1] (helo=mail.uni-ulm.de) by mx20.gnu.org with esmtp (Exim 4.34) id 1Ejckb-0007Ky-5m for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2005 08:21:00 -0500 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by mail.uni-ulm.de (8.13.4/8.13.4) with ESMTP id jB6DKFxY014135; Tue, 6 Dec 2005 14:20:20 +0100 (MET) Original-Received: by bridgekeeper.physik.uni-ulm.de (Postfix, from userid 170) id 8715D10DAB; Tue, 6 Dec 2005 14:20:15 +0100 (CET) Original-To: Hans Aberg Mail-Followup-To: Hans Aberg , bug-gnu-emacs@gnu.org X-Face: P05mdcZT&lL[-s2=mw~RsllZ0zZAb?vdE}.s (Hans Aberg's message of "Tue, 6 Dec 2005 11:41:18 +0100") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-DCC-sgs_public_dcc_server-Metrics: gemini 1199; Body=2 Fuz1=2 Fuz2=2 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:14498 Archived-At: On Tue, Dec 06 2005, Hans Aberg wrote: > I cannot tell whether this is a problem in emacs21, or in the Fink > version of for Mac OS 10.4.3: > > I can get emacs21 to read the NNTPSERVER variable if I type (in uxterm/bash): > env NNTPSERVER= emacs21 & > but I cannot get emacs21 to read it otherwise, for example, by putting > NNTPSERVER= > into ".profile" and ".bashrc", nor does typing > NNTPSERVER= > emacs21 & > work. This is not a bug in Emacs or Gnus. You must export the variable to the child process (= emacs21 in your case) of the shell. See the bash manual: ,----[ (info "(bash)Bourne Shell Builtins") ] | `export' | export [-fn] [-p] [NAME[=VALUE]] | Mark each NAME to be passed to child processes in the environment. `---- > If I make a ".gnus" file with say > (setq gnus-select-method '(nntp "news1.comhem.se")) I'd prefer this way anyhow. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/