[BEN-MULE-21.5] Problems with pop3 retrieval
[email protected] (Nickolay Pakoulin) 13 Mar 2002 16:57:12 +0300
| Newsgroups | gmane.xemacs.mule |
|---|---|
| Message-ID | <[email protected]> |
Checked out ben-mule-21-5 today. Compiled as windows native on Windows 2000. `pop3-read-response' from pop3.el hangs when talks to POP3 server. The problem is with the code: (while (not (search-forward "\r\n" nil t)) (accept-process-output process) (goto-char pop3-read-point)) The loop works until there is a complete string, i.e. a string ending with CRLF. BUT under xemacs the pop-process buffer DOES NOT contain CRLF at line ends. Instead it leaves just linefeed (^J) at the end. Consequently the loop condition is always true and the loop never breaks. I removed searches for CR in pop3.el and it worked. Still it not a good solution, IMHO. Nick.