Gnus development mailing list
 help / color / mirror / Atom feed
From: Shenghuo ZHU <zsh@cs.rochester.edu>
Subject: Re: pop server access?
Date: 04 Nov 1998 02:47:07 -500	[thread overview]
Message-ID: <2nzpa7sxvo.fsf@zsh.cs.rochester.edu> (raw)
In-Reply-To: <x7btmyyk3x.fsf@peorth.gweep.net>


>>>>> "RLP" == Stainless Steel Rat <ratinox@peorth.gweep.net> writes:
User-Agent: Gnus/5.07004 (Pterodactyl Gnus v0.40) Emacs/20.3

>>>>> "UE" == Urban Engberg <ue@cci.dk> writes:
User-Agent: Gnus/5.070035 (Pterodactyl Gnus v0.35) Emacs/20.3

>> "viteno" == Norbert Koch <n.koch@delta-ii.de> 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  <zsh@cs.rochester.edu>
+
+	* pop3.el (pop3-open-server): Use "binary" instead of
+ 	"no-conversion".
+
 Sun Nov  1 01:26:42 1998  Shenghuo ZHU  <zsh@cs.rochester.edu>
 
 	* 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)


  parent reply	other threads:[~1998-11-04  7:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-20 10:53 Norbert Koch
1998-10-20 17:57 ` Lars Magne Ingebrigtsen
1998-10-22  5:21   ` Norbert Koch
     [not found]     ` <x7yaq8gpp8.fsf@peorth.gweep.net>
1998-10-23  4:39       ` Norbert Koch
     [not found]         ` <x7emry3jcc.fsf@peorth.gweep.net>
1998-10-25 11:54           ` Norbert Koch
     [not found]             ` <x7zpak5fgp.fsf@peorth.gweep.net>
1998-10-26  6:02               ` Norbert Koch
     [not found]                 ` <x7btmyyk3x.fsf@peorth.gweep.net>
1998-10-27 13:18                   ` Norbert Koch
1998-11-04  7:47                   ` Shenghuo ZHU [this message]
     [not found]                     ` <x7u30fpi7v.fsf@peorth.gweep.net>
1998-11-04 18:00                       ` Jan Vroonhof
     [not found]   ` <x790ia3thq.fsf@peorth.gweep.net>
1998-10-22  7:14     ` Urban Engberg
1998-10-22  7:22   ` Urban Engberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2nzpa7sxvo.fsf@zsh.cs.rochester.edu \
    --to=zsh@cs.rochester.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).