[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gnus of emacs21 not reading NNTPSERVER on Fink/Mac OS 10.4.3
From: |
Reiner Steib |
Subject: |
Re: Gnus of emacs21 not reading NNTPSERVER on Fink/Mac OS 10.4.3 |
Date: |
Tue, 06 Dec 2005 14:20:15 +0100 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
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=<newsserver> emacs21 &
> but I cannot get emacs21 to read it otherwise, for example, by putting
> NNTPSERVER=<newsserver>
> into ".profile" and ".bashrc", nor does typing
> NNTPSERVER=<newsserver>
> 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/