Gnus development mailing list
 help / color / mirror / Atom feed
* pop error in 0.81 and 0.82
@ 1997-01-20 17:29 Karl Kleinpaste
  1997-01-20 18:37 ` Dan Schmidt
  0 siblings, 1 reply; 2+ messages in thread
From: Karl Kleinpaste @ 1997-01-20 17:29 UTC (permalink / raw)


The change below ("diff -u", 0.80 -> 0.82) breaks movemail usage for
POP mail access:

--- nnmail.el   Sat Jan 18 13:13:58 1997
+++ .bad/nnmail.el      Thu Jan 16 18:45:30 1997
@@ -548,7 +550,7 @@
                                         exec-directory)
                       nil errors nil inbox tofile)
                      (when nnmail-internal-password
-                       (list nnmail-internal-password))))))
+                       (list (prin1-to-string nnmail-internal-password)))))))
                (if (not (buffer-modified-p errors))
                    ;; No output => movemail won
                    (progn

The problem is that
	(list nnmail-internal-password)
generates
	("xxxxx")
while
	(list (prin1-to-string nnmail-internal-password))
generates
	("\"xxxxx\"")

Reverting to the non-prin1 case makes it work again.


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

* Re: pop error in 0.81 and 0.82
  1997-01-20 17:29 pop error in 0.81 and 0.82 Karl Kleinpaste
@ 1997-01-20 18:37 ` Dan Schmidt
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Schmidt @ 1997-01-20 18:37 UTC (permalink / raw)


Karl Kleinpaste <karl@jprc.com> writes:

| The change below ("diff -u", 0.80 -> 0.82) breaks movemail usage for
| POP mail access:
| 
| --- nnmail.el   Sat Jan 18 13:13:58 1997
| +++ .bad/nnmail.el      Thu Jan 16 18:45:30 1997
| @@ -548,7 +550,7 @@
|                                          exec-directory)
|                        nil errors nil inbox tofile)
|                       (when nnmail-internal-password
| -                       (list nnmail-internal-password))))))
| +                       (list (prin1-to-string nnmail-internal-password)))))))
|                 (if (not (buffer-modified-p errors))
|                     ;; No output => movemail won
|                     (progn
| 
| The problem is that
| 	(list nnmail-internal-password)
| generates
| 	("xxxxx")
| while
| 	(list (prin1-to-string nnmail-internal-password))
| generates
| 	("\"xxxxx\"")
| 
| Reverting to the non-prin1 case makes it work again.

This is my code (sorry); I added it because otherwise passwords with
spaces were being passed to movemail as two separate arguments.

Is there a solution that will work for both of us?

Dan


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

end of thread, other threads:[~1997-01-20 18:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-01-20 17:29 pop error in 0.81 and 0.82 Karl Kleinpaste
1997-01-20 18:37 ` Dan Schmidt

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).