From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/16798 Path: main.gmane.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.gnus.general Subject: Re: pop3.el & multibyte problems Date: 08 Sep 1998 10:30:50 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035155611 29923 80.91.224.250 (20 Oct 2002 23:13:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:13:31 +0000 (UTC) Return-Path: Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id GAA00384 for ; Tue, 8 Sep 1998 06:28:21 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id EAF26836; Tue, 8 Sep 1998 04:04:02 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 08 Sep 1998 04:31:20 -0500 (CDT) 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 EAA24419 for ; Tue, 8 Sep 1998 04:31:10 -0500 (CDT) Original-Received: from djlvig.dl.ac.uk (djlvig.dl.ac.uk [148.79.112.146]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id FAA29732 for ; Tue, 8 Sep 1998 05:30:57 -0400 (EDT) Original-Received: (from fx@localhost) by djlvig.dl.ac.uk (8.8.7/8.8.5) id KAA08977; Tue, 8 Sep 1998 10:30:55 +0100 X-Face: "_!nmR@11ZNuumt0oqG"Y3Hfy|;FGz)`"ul[G?ah6k-oNyDW?3/Nq3Qab$kUnUQ_d4};kPl R=}-Vqfo|S5mThi-kaBR=>%g5a3-OvnEhdHu{^APIaP:b}0m!$bDC>SX zz'r)e?`at?tpD*+~b+pf Original-To: ding@gnus.org In-Reply-To: Hrvoje Niksic's message of "Mon, 07 Sep 1998 22:39:28 GMT" Original-Lines: 52 X-Mailer: Gnus v5.6.42/Emacs 20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:16798 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:16798 >>>>> "HN" == Hrvoje Niksic writes: >> It currently uses `pop3-movemail-file-coding-system' HN> Not in `pop3.el' distributed with Gnus. Sorry. It's only in my local copy. I thought Lars had merged this from the Emacs 20.3 version, which I reckoned might avoid grief. I don't know if it does avoid it, as I haven't had to use POP yet. BTW, it looks as though `file-name-coding-system' still needs binding too, whereever `path-name-coding-system' is. (Morioka 1997-10-21 change.) 1997-08-28 Miyashita Hisashi * pop3.el (pop3-movemail-file-coding-system): Append it for assigning a coding system to receive mail with pop3. (pop3-movemail): Modify for writing messages with pop3-movemail-file-coding-system. *** pop3.el 1997/04/16 22:13:18 1.1 --- pop3.el 1997/08/28 04:51:02 1.2 *************** *** 60,65 **** --- 60,68 ---- "Timestamp returned when initially connected to the POP server. Used for APOP authentication.") + (defvar pop3-movemail-file-coding-system nil + "Crashbox made by pop3-movemail with this coding system.") + (defvar pop3-read-point nil) (defvar pop3-debug nil) *************** *** 85,91 **** (pop3-retr process n crashbuf) (save-excursion (set-buffer crashbuf) ! (append-to-file (point-min) (point-max) crashbox) (set-buffer (process-buffer process)) (while (> (buffer-size) 5000) (goto-char (point-min)) --- 88,95 ---- (pop3-retr process n crashbuf) (save-excursion (set-buffer crashbuf) ! (let ((coding-system-for-write pop3-movemail-file-coding-system)) ! (append-to-file (point-min) (point-max) crashbox)) (set-buffer (process-buffer process)) (while (> (buffer-size) 5000) (goto-char (point-min))