From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/23290 Path: main.gmane.org!not-for-mail From: Robert Epprecht Newsgroups: gmane.emacs.gnus.general Subject: Agent startup Date: 14 Jun 1999 20:05:10 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035161050 1194 80.91.224.250 (21 Oct 2002 00:44:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:44:10 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id OAA23422 for ; Mon, 14 Jun 1999 14:13:35 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id NAB29658; Mon, 14 Jun 1999 13:09:59 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 14 Jun 1999 13:10:33 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id NAA11388 for ; Mon, 14 Jun 1999 13:10:23 -0500 (CDT) Original-Received: from mail.sunweb.ch ([195.141.237.254]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id OAA23324 for ; Mon, 14 Jun 1999 14:09:23 -0400 (EDT) Original-Received: from pc.sunweb.ch [195.141.237.115] by mail.sunweb.ch with ESMTP (SMTPD32-4.03) id A504420298; Mon, 14 Jun 1999 20:08:04 +03d00 Original-Received: (from epprecht@localhost) by pc.sunweb.ch (8.8.8/8.8.8) id UAA01593; Mon, 14 Jun 1999 20:05:10 +0200 Original-To: ding@gnus.org In-Reply-To: Lars Magne Ingebrigtsen's message of "12 Jun 1999 03:53:02 +0200" Original-Lines: 113 X-Mailer: Gnus v5.6.45/Emacs 20.2 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:23290 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:23290 Lars Magne Ingebrigtsen writes: > But Agent startup issues haven't been tested all that much. I get the > feeling that it basically doesn't work, but after restarting a few > times and fiddling a bit it starts working, and people forget to file > bug reports. Well this is very true. I did post here about these issues... (Can't remember for shure if I filed a bug report, though.) > Could a few of youse try to start using the agent "for the first time" > -- perhaps out of a new, pristine account -- according to how the > manual says it should be done, and see how things go? OK, lets see: I use GNU Emacs 20.3.1 and Gnus v5.6.45 (no pgnus, hope that's ok) Let me say first, that I think the section of the manual, that describes the Agent should be much more easy to find from the top menu using a word like 'offline reader' or so, so that even beginners could find it without problems. thats what I did: I made a new user on my Linux machine I made a simple .gnus.el like this: ;; =========== .gnus.el (setq gnus-select-method '(nntp "news.sunrise.ch")) (setq gnus-verbose 10) ; let's hear what she will say (setq debug-on-error t) ; just in case (gnus-agentize) ============ 1st try: emacs -f gnus-unplugged 'Symbol's function definition is void: gnus-unplugged' I put (require 'gnus-agent) in .emacs 2nd try: emacs -f gnus-unplugged 'nntp (news.sunrise.ch) open error: 'No such file or directory: ~/News/agent/nntp/news.sunrise.ch/' ok: mkdir -p News/agent/nntp/news.sunrise.ch/ Now Gnus starts up (without reading the active file from the server) I also tried '^ J a' but Gnus complaints that the server is already covered by the agent (Probably because I made the directory) I have a problem with the interpretation of the manual: * First, set up Gnus as you would do if you were running it on a machine that has full connection to the net. Go ahead. I'll still be waiting here. * Then, put the following magical incantation at the end of your `.gnus.el' file: (gnus-agentize) That's it. Gnus is now an "offline" newsreader. Does this say, I just *set up* the Agent or does it imply, that I should *run* Gnus first (w/o the Agent) to read the actve file? 3rd try: I decide to try it the other way round and start it all over again: I make a new account but do *not* put (gnus-agentize) in .gnus.el going online, 'emacs M-x gnus' 'Reading active file from news.sunrise.ch via nntp...' Everything works fine. I quit gnus, put '(gnus-agentize)' in .gnus.el. M-x gnus-unplugged 'Loading gnus-agent...done' ASCI Gnus shows up and then hangs (I give him a looooong time, nothing. 'top' shows no activity) At this state there is a ~/News directory but no ~/News/agent I quit with C-g, set debug-on-quit, M-x gnus-unplugged, same hang. C-g gives: 'nntp (news.sunrise.ch) open error: ''. Continue? (y or n)' 'n' 'Couldn't open server on news.sunrise.ch' (I have already tried saying 'y' last time, but no luck either) Hmm, I remember my first time... A beginner is quite lost here... I try: M-x gnus-no-server because I want to have the server covered by the agent '^' but no luck: only the following servers shows up: {nnfolder:archive} (closed) {nndraft:} (opened) Stupid me, didn't I say 'no-server'? OK, let's do It the hard way: mkdir -p News/agent/nntp/ :-( I have never been able to set up the agent, without making his directories by hand. )-: emacs -f gnus-unplugged 'Symbol's function definition is void: gnus-unplugged' I put (require 'gnus-agent) back in .emacs Now Gnus dances in ASCI and ..... hangs. :-( C-g mkdir News/agent/nntp/agent emacs -f gnus-unplugged, hanging again, C-g 'nntp (news.sunrise.ch) open error: ''. Continue? (y or n)' this time I try 'y', and see... the default groups show up '^' {nntp:news.sunrise.ch} (denied) shows up wanna make 'J a' but emacs beeps at me when I do the 'J' Hmm, this posting gets kind of longish, so let's stop here. I've done no tests with pgnus. Maybe I should? I want to mention, that i like the Agent very much, even if there are some things which are not quite finished yet. I'm glad that you take time to improve it a little. Thank you Lars. Robert Epprecht