From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/14135 Path: main.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: feedback on AUTHINFO in qgnus-0.27 Date: 17 Feb 1998 10:03:58 +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 1035153378 13161 80.91.224.250 (20 Oct 2002 22:36:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:36:18 +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 BAA09879 for ; Tue, 17 Feb 1998 01:07:46 -0800 Original-Received: from sina.hpc.uh.edu (root@Sina.HPC.UH.EDU [129.7.3.5]) by xemacs.org (8.8.5/8.8.5) with ESMTP id DAA19683 for ; Tue, 17 Feb 1998 03:06:10 -0600 (CST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id DAJ21567; Tue, 17 Feb 1998 03:05:29 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 17 Feb 1998 03:04: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 DAA21554 for ; Tue, 17 Feb 1998 03:04:39 -0600 (CST) Original-Received: (qmail 2578 invoked by uid 504); 17 Feb 1998 09:04:33 -0000 Original-Received: (qmail 2575 invoked from network); 17 Feb 1998 09:04:31 -0000 Original-Received: from norne.oslo.metis.no (195.0.254.238) by claymore.vcinet.com with SMTP; 17 Feb 1998 09:04:30 -0000 Original-Received: by norne.oslo.metis.no (8.8.4/8.8.4) id KAA10352; Tue, 17 Feb 1998 10:03:58 +0100 (MET) Original-To: ding@gnus.org In-Reply-To: Steinar Bang's message of "17 Feb 1998 08:48:47 +0100" Original-Lines: 25 X-Mailer: Quassia Gnus v0.29/Emacs 19.34 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:14135 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:14135 >>>>> Steinar Bang : >>>>> Lars Magne Ingebrigtsen : >> If you want to force sending authinfo for some servers, you should >> put the authinfo function into the server-opened hook for those >> servers. > How do I do that? Create a function that tests the server name before > running nntp-send-authinfo, and put this function into the hook? > (seems clumsy) > Or is there a simpler way? Like this, maybe...? (setq nntp-server-action-alist (append '(("news\.hyssing\.net" (add-hook 'nntp-server-opened-hook 'nntp-send-authinfo))) nntp-server-action-alist)) Still seems clumsy, though. And since I put the alist in .gnus.el, it'll presumably keep growing with every restart? Oh well! It now works, and I'll let it keep running.