Gnus development mailing list
 help / color / mirror / Atom feed
* possible pop password broken
@ 1996-11-20 18:20 andreas
  1996-11-20 20:26 ` David Moore
  0 siblings, 1 reply; 2+ messages in thread
From: andreas @ 1996-11-20 18:20 UTC (permalink / raw)



hi all...

i just downloaded rgnus 0.66 and tried it out and found that something
that was working the last time i remembered is not working now....

i have the following code in my .gnus to remember my pop password but
i get the following error message...


(setq gnus-secondary-select-methods '((nnml "")))
(setq nnmail-spool-file "po:scc-ak")
(setq nnmail-pop-password-required t)

;; remember POP password once given at startup

(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)")

now i thought i remembered from a post of Lars that this was supposed
to be fixed in rgnus... i there for commented out the
nnmail-pop-password references in regards to ange-ftp but the password
does not get remembered...

so... what am i doing wrong here... :)

any help is appreciated...

cheers,
andreas





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: possible pop password broken
  1996-11-20 18:20 possible pop password broken andreas
@ 1996-11-20 20:26 ` David Moore
  0 siblings, 0 replies; 2+ messages in thread
From: David Moore @ 1996-11-20 20:26 UTC (permalink / raw)


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 <dmoore@ucsd.edu>       | Computer Systems Lab      __o
UCSD Dept. Computer Science - 0114  | Work: (619) 534-8604    _ \<,_
La Jolla, CA 92093-0114             | Fax:  (619) 534-1445   (_)/ (_)
<URL:http://oj.egbt.org/dmoore/>    | Solo Furnace Creek 508 -- 1996!


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-11-20 20:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-11-20 18:20 possible pop password broken andreas
1996-11-20 20:26 ` David Moore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).