From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/8859 Path: main.gmane.org!not-for-mail From: David Moore Newsgroups: gmane.emacs.gnus.general Subject: Re: possible pop password broken Date: 20 Nov 1996 12:26:02 -0800 Sender: dmoore@sdnp5.ucsd.edu Message-ID: References: <199611201820.NAA19360@jet-sun.med.iacnet.com> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035148971 14872 80.91.224.250 (20 Oct 2002 21:22:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:22:51 +0000 (UTC) Return-Path: Original-Received: (qmail 2569 invoked from smtpd); 20 Nov 1996 20:44:05 -0000 Original-Received: from ifi.uio.no (0@129.240.64.2) by deanna.miranova.com with SMTP; 20 Nov 1996 20:44:04 -0000 Original-Received: from UCSD.EDU (mailbox1.ucsd.edu [132.239.1.53]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Wed, 20 Nov 1996 21:28:02 +0100 Original-Received: from sdnp5.ucsd.edu (sdnp5.ucsd.edu [132.239.79.10]) by UCSD.EDU (8.8.3/8.6.9) with SMTP id MAA12992 for ; Wed, 20 Nov 1996 12:27:16 -0800 (PST) Original-Received: by sdnp5.ucsd.edu (SMI-8.6/SMI-SVR4) id MAA04305; Wed, 20 Nov 1996 12:26:03 -0800 Original-To: "(ding) Gnus Mailing List" In-Reply-To: andreas@sccon.com's message of Wed, 20 Nov 1996 13:20:41 -0500 Original-Lines: 28 X-Mailer: Red Gnus v0.66/XEmacs 19.14 Xref: main.gmane.org gmane.emacs.gnus.general:8859 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:8859 andreas@sccon.com writes: > (autoload 'ange-ftp-read-passwd "ange-ftp") > (if (not nnmail-pop-password) > (setq nnmail-pop-password > (ange-ftp-read-passwd "Enter POP password: "))) > > i get the following error: > > Signaling: (error "Error in ~/.gnus: (void-variable > nnmail-pop-password)") The problem is that nnmail hasn't been loaded yet, so the variable nnmail-pop-password doesn't exist. Also, rgnus now has it's own password reader which uses 'passwd' under xemacs and 'ange-ftp' otherwise. So you do this to use to get save the password once. The important bit is the check for nnmail-pop-password being bound. (autoload 'nnmail-read-passwd "nnmail") (unless (and (boundp nnmail-pop-password) nnmail-pop-password) (setq nnmail-pop-password (nnmail-read-passwd "Enter POP password: "))) -- David Moore | Computer Systems Lab __o UCSD Dept. Computer Science - 0114 | Work: (619) 534-8604 _ \<,_ La Jolla, CA 92093-0114 | Fax: (619) 534-1445 (_)/ (_) | Solo Furnace Creek 508 -- 1996!