From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/13844 Path: main.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: Attempted forced authentication on an NNTP server Date: 09 Feb 1998 09:13:56 +0100 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.105) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035153137 11461 80.91.224.250 (20 Oct 2002 22:32:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:32:17 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id AAA22578 for ; Mon, 9 Feb 1998 00:19:05 -0800 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by xemacs.org (8.8.5/8.8.5) with ESMTP id CAA23671 for ; Mon, 9 Feb 1998 02:16:06 -0600 (CST) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id CAN04469; Mon, 9 Feb 1998 02:52:22 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 09 Feb 1998 02:14:46 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id CAA18267 for ; Mon, 9 Feb 1998 02:14:39 -0600 (CST) Original-Received: (qmail 11191 invoked by uid 504); 9 Feb 1998 08:14:34 -0000 Original-Received: (qmail 11188 invoked from network); 9 Feb 1998 08:14:33 -0000 Original-Received: from norne.oslo.metis.no (195.0.254.238) by claymore.vcinet.com with SMTP; 9 Feb 1998 08:14:32 -0000 Original-Received: by norne.oslo.metis.no (8.8.4/8.8.4) id JAA13681; Mon, 9 Feb 1998 09:13:57 +0100 (MET) Original-To: ding@gnus.org In-Reply-To: Lars Magne Ingebrigtsen's message of "08 Feb 1998 21:02:46 +0100" Original-Lines: 28 X-Mailer: Quassia Gnus v0.22/Emacs 19.34 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:13844 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:13844 >>>>> Lars Magne Ingebrigtsen : > Steinar Bang writes: >> I'm trying to do >> (add-hook 'nntp-server-opened-hook 'nntp-force-unsecure-authinfo) >> where nntp-force-unsecure-authinfo is the function in the patch >> attached below. >> >> But I get the same kind of flaky behaviour as when I'm using >> nntp-send-nosy-authinfo here, ie.: it didn't work at first, I just got >> an "error: 411 No such group". > You need the "mode reader" thing in the hook as well. Put > `(require 'nntp)' in there before modifying the hook. Hm... I was already running Gnus, and did the add-hook thingies in the *scratch* buffer. nntp-send-mode-reader was in the hook already I've tried both (add-hook 'nntp-server-opened-hook 'nntp-send-nosy-authinfo) which puts nntp-send-nosy-authinfo first, and (add-hook 'nntp-server-opened-hook 'nntp-send-nosy-authinfo t) which puts it at the end (and yes,... with a remove-hook in between). Currently I have nntp-server-opened-hook's value is (nntp-send-mode-reader nntp-send-nosy-authinfo) and the behaviour is still flaky. Ie. it doesn't work right now. If it starts working later on, I'll tell ya.