From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/14093 Path: main.gmane.org!not-for-mail From: Per Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: AUTHINFO Date: 16 Feb 1998 12:25:13 +0100 Organization: The Church of Emacs Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035153342 12896 80.91.224.250 (20 Oct 2002 22:35:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:35:42 +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 DAA06892 for ; Mon, 16 Feb 1998 03:28:13 -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 FAA10271 for ; Mon, 16 Feb 1998 05:26:41 -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 FAJ28644; Mon, 16 Feb 1998 05:26:18 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 16 Feb 1998 05:25:35 -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 FAA28631 for ; Mon, 16 Feb 1998 05:25:24 -0600 (CST) Original-Received: (qmail 29863 invoked by uid 504); 16 Feb 1998 11:25:18 -0000 Original-Received: (qmail 29860 invoked from network); 16 Feb 1998 11:25:18 -0000 Original-Received: from elc1.dina.kvl.dk (130.225.40.228) by claymore.vcinet.com with SMTP; 16 Feb 1998 11:25:17 -0000 Original-Received: from zuse.dina.kvl.dk (zuse.dina.kvl.dk [130.225.40.245]) by elc1.dina.kvl.dk (8.6.12/8.6.4) with ESMTP id MAA17671; Mon, 16 Feb 1998 12:25:14 +0100 Original-Received: (abraham@localhost) by zuse.dina.kvl.dk (8.6.12/8.6.4) id MAA27282; Mon, 16 Feb 1998 12:25:13 +0100 Original-To: ding@gnus.org X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM|8MBp/ In-Reply-To: Lars Magne Ingebrigtsen's message of "16 Feb 1998 11:46:48 +0100" Original-Lines: 41 X-Mailer: Quassia Gnus v0.24/Emacs 20.2 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:14093 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:14093 Lars Magne Ingebrigtsen writes: > Per Abrahamsen writes: > > > If the value is in a Lisp variable, they can change it with customize, > > and get online help. That should be easier for most people than > > learning the ".netrc" format from a man page (I for one don't know the > > ".netrc" format). > > Uhm... Ok. If `nntp-authinforc-file' is an alist, it can be used. > The format should be > > '(("machine.name" (token . value) (token . value) ...) > ...) > > TOKEN can be "login" and "password". > > I'm not sure how to express this in customeze. Can the tokens really appear multiple times? Does the order matter? If not, this might work: (defcustom nntp-authinforc-file "~/.authinforc" "Docstring." :type '(choice file (repeat :tag "Entries" :menu-tag "Inline" (list :format "%v" :value ("" ("login" . "") ("password" . "")) (string :tag "Host") (checklist :inline t (cons :format "%v" (const :format "" "login") (string :format "Login: %v")) (cons :format "%v" (const :format "" "password") (string :format "Password: %v"))))))) BTW: "rc" stands for "run commands" and means "commands to run when the interpreter is started". Is that really appropriate for the authinforc file?