From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/18379 Path: main.gmane.org!not-for-mail From: Shenghuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: pop server access? Date: 04 Nov 1998 02:47:07 -500 Organization: Computer Dept of U Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <2nzpa7sxvo.fsf@zsh.cs.rochester.edu> References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035156913 5856 80.91.224.250 (20 Oct 2002 23:35:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:35:13 +0000 (UTC) Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id CAA10774 for ; Wed, 4 Nov 1998 02:40:51 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id BAB28921; Wed, 4 Nov 1998 01:40:04 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 04 Nov 1998 01:39:55 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id BAA15482 for ; Wed, 4 Nov 1998 01:39:45 -0600 (CST) Original-Received: from cayuga.cs.rochester.edu (cayuga.cs.rochester.edu [192.5.53.209]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id CAA10763 for ; Wed, 4 Nov 1998 02:39:42 -0500 (EST) Original-Received: from slate.cs.rochester.edu (slate.cs.rochester.edu [192.5.53.101]) by cayuga.cs.rochester.edu (8.6.9/O) with ESMTP id CAA08492 for ; Wed, 4 Nov 1998 02:39:40 -0500 Original-Received: from brain.cs.rochester.edu (heart.cs.rochester.edu [192.5.53.109]) by slate.cs.rochester.edu (8.6.9/O) with ESMTP id CAA20626 for ; Wed, 4 Nov 1998 02:39:37 -0500 Original-Received: (from zsh@localhost) by brain.cs.rochester.edu (8.9.0/8.8.5) id CAA01490; Wed, 4 Nov 1998 02:47:10 -0500 Original-To: ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q Original-Lines: 62 User-Agent: Gnus/5.07004 (Pterodactyl Gnus v0.40) XEmacs/20.4 (Emerald) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:18379 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:18379 >>>>> "RLP" == Stainless Steel Rat writes: User-Agent: Gnus/5.07004 (Pterodactyl Gnus v0.40) Emacs/20.3 >>>>> "UE" == Urban Engberg writes: User-Agent: Gnus/5.070035 (Pterodactyl Gnus v0.35) Emacs/20.3 >> "viteno" == Norbert Koch writes: User-Agent: Gnus/5.07004 (Pterodactyl Gnus v0.40) XEmacs/21.2(beta3) (Aglaia) viteno> I've now updated to qpopper-2.52 and pgnus-0.40 and still run into the viteno> same troubles. RLP> Does it work if you start emacs with --unibyte? viteno> Yup, no help with it. UE> Could it be that you run Emacs in unibyte-mode, then? It was I who UE> made the bug report, after detecting that pop3.el did not work in UE> multibyte-mode (CRLF pairs from the pop server were translated into UE> mere CR's). Switching to unibyte made it work for me before the fix. This bug is because of MULE. Stainless Steel Rat fixed it in FSF Emacs 20 by adding (coding-system-for-read 'no-conversion) ;; because FSF Emacs 20 (coding-system-for-write 'no-conversion) ;; is st00pid But Norbert Koch's pop3 does not work because of XEmacs 21.2. My solution is using "binary" as the coding system. "binary" is alias of "no-conversion" in FSF Emacs 20, "nil" in XEmacs 20 (hope it works in XEmacs 21). The patch is attached. -- Shenghuo :- cut ----- --- ChangeLog 1998/11/04 07:24:09 1.4 +++ ChangeLog 1998/11/04 07:25:23 @@ -1,3 +1,8 @@ +Wed Nov 4 02:24:39 1998 Shenghuo ZHU + + * pop3.el (pop3-open-server): Use "binary" instead of + "no-conversion". + Sun Nov 1 01:26:42 1998 Shenghuo ZHU * gnus-srvr.el (gnus-browse-foreign-server): Set --- pop3.el 1998/11/04 07:13:24 1.1 +++ pop3.el 1998/11/04 07:16:54 @@ -112,8 +112,8 @@ (let ((process-buffer (get-buffer-create (format "trace of POP session to %s" mailhost))) (process) - (coding-system-for-read 'no-conversion) ;; because FSF Emacs 20 - (coding-system-for-write 'no-conversion) ;; is st00pid + (coding-system-for-read 'binary) ;; because FSF Emacs 20 and + (coding-system-for-write 'binary) ;; XEmacs 20/1 are st00pid ) (save-excursion (set-buffer process-buffer)