From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hans Aberg Newsgroups: gmane.emacs.bugs Subject: Re: Gnus of emacs21 not reading NNTPSERVER on Fink/Mac OS 10.4.3 Date: Tue, 6 Dec 2005 15:19:25 +0100 Message-ID: <1813815B-829D-46E2-ADDB-0759F90523A8@math.su.se> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1133882706 8734 80.91.229.2 (6 Dec 2005 15:25:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Dec 2005 15:25:06 +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:25:03 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ejed1-00088T-Ak for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Dec 2005 16:21:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EjedD-0004oz-2p for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Dec 2005 10:21:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EjdfW-0007wV-BH for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2005 09:19:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EjdfT-0007wE-Cc for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2005 09:19:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EjdfS-0007w9-IH for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2005 09:19:42 -0500 Original-Received: from [81.228.8.83] (helo=pne-smtpout1-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ejdg8-0000dE-QP for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2005 09:20:25 -0500 Original-Received: from [83.250.192.74] (83.250.192.74) by pne-smtpout1-sn2.hy.skanova.net (7.2.060.1) (authenticated as u83812478) id 4394B8720002F404; Tue, 6 Dec 2005 15:19:29 +0100 In-Reply-To: Original-To: Reiner Steib X-Mailer: Apple Mail (2.746.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:14500 Archived-At: On 6 Dec 2005, at 14:20, Reiner Steib 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 =20 >> uxterm/bash): >> env NNTPSERVER=3D emacs21 & >> but I cannot get emacs21 to read it otherwise, for example, by =20 >> putting >> NNTPSERVER=3D >> into ".profile" and ".bashrc", nor does typing >> NNTPSERVER=3D >> emacs21 & >> work. > > This is not a bug in Emacs or Gnus. You must export the variable to > the child process (=3D emacs21 in your case) of the shell. See the = bash > manual: > > ,----[ (info "(bash)Bourne Shell Builtins") ] > | `export' > | export [-fn] [-p] [NAME[=3DVALUE]] > | Mark each NAME to be passed to child processes in the =20 > environment. > `---- Thank you. Yes, when you mention it, I recall having done such =20 exports before, as part of debugging a Bison install. But I was in a =20 hurry, just to get to see if emacs21 could work at all with Fink (Mac =20= OS 10.4.3), which it indeed does. The NNTPSERVER variable now works, =20 either if one puts the export directly in the command line, or in the =20= ".bashrc" file. >> If I make a ".gnus" file with say >> (setq gnus-select-method '(nntp "news1.comhem.se")) > > I'd prefer this way anyhow. That is best for normal use. But it is good to have more than method, =20= perhaps not just for this variable. While at it, the newsreader I use on Mac OS X, NewsWatcher-X 2.2.3b2, =20= has the capacity to take down the active file from the newsserver =20 just once, and update it when new groups arrive. This feature speeds =20 up subsequent startups. So it leads me to the idea that Gnus has such =20= a feature, plus a menu item 'update local active file'. This is good =20 on low bandwidth: my active file is 1-2 MB, which can take some time =20 also on broadband. Hans =C5berg