Re: [BEN-MULE-21.5] Problems with pop3 retrieval
[email protected] (Adrian Aichner) 15 Mar 2002 00:04:00 +0100
| Newsgroups | gmane.xemacs.mule |
|---|---|
| Organization | The XEmacs Project |
| Message-ID | <[email protected]> |
>>>>> "Nickolay" == Nickolay Pakoulin <[email protected]> writes: Nickolay> Checked out ben-mule-21-5 today. Nickolay> Compiled as windows native on Windows 2000. Nickolay> `pop3-read-response' from pop3.el hangs when talks to POP3 server. Nickolay> The problem is with the code: Nickolay> (while (not (search-forward "\r\n" nil t)) Nickolay> (accept-process-output process) Nickolay> (goto-char pop3-read-point)) Nickolay> The loop works until there is a complete string, i.e. a Nickolay> string ending with CRLF. BUT under xemacs the Nickolay> pop-process buffer DOES NOT contain CRLF at line ends. Nickolay> Instead it leaves just linefeed (^J) at the end. Nickolay> Consequently the loop condition is always true and the Nickolay> loop never breaks. Nickolay> I removed searches for CR in pop3.el and it Nickolay> worked. Still it not a good solution, IMHO. I have the same problem. What was the fix? I thought a saw a followup from Stephen to this but can't find it now. Thanks in advance, Adrian Nickolay> Nick. -- Adrian Aichner mailto:[email protected] http://www.xemacs.org/