From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/11798 Path: main.gmane.org!not-for-mail From: himi@etl.go.jp Newsgroups: gmane.emacs.gnus.general Subject: Please apply this patch to pop3.el in Gnus-5.4 to use with Emacs/Mule Date: 28 Jul 1997 10:38:05 +0900 Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by SEMI MIME-Edit 0.86 "Naka-Tsurugi") Content-Type: multipart/mixed; boundary="Multipart_Mon_Jul_28_10:38:04_1997-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035151452 32590 80.91.224.250 (20 Oct 2002 22:04:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:04:12 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.6/8.8.6) with ESMTP id TAA00983 for ; Sun, 27 Jul 1997 19:17:51 -0700 Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with SMTP id VAA05790 for ; Sun, 27 Jul 1997 21:13:56 -0500 (CDT) Original-Received: from mail1-im.etl.go.jp (mail1-im.etl.go.jp [192.50.105.9]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Mon, 28 Jul 1997 03:28:55 +0200 Original-Received: from etlpom.etl.go.jp (etlpom.etl.go.jp [192.31.200.9]) by mail1-im.etl.go.jp (8.8.5/3.5Wpl1-96112918) with ESMTP id KAA18732; Mon, 28 Jul 1997 10:28:49 +0900 (JST) Original-Received: from mule.etl.go.jp (mule.etl.go.jp [192.31.197.93]) by etlpom.etl.go.jp (8.8.5/3.5Wpl4-ETL_MASTER) with SMTP id KAA21732; Mon, 28 Jul 1997 10:28:48 +0900 (JST) Original-Received: by mule.etl.go.jp (4.1/6.4J.6-ETL.SLAVE) id AA12096; Mon, 28 Jul 97 10:29:22 JST Original-To: ding@ifi.uio.no, morioka@jaist.ac.jp, himi@bird.scphys.kyoto-u.ac.jp X-Emacs: Emacs 20.0.92, MULE 3.0 (MOMIJINOGA), Meadow Alpha-1.00(FUMI) Original-Lines: 55 X-Mailer: Gnus v5.4.64 + SEMI patch (r2.1)/Emacs 20.0 Xref: main.gmane.org gmane.emacs.gnus.general:11798 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:11798 --Multipart_Mon_Jul_28_10:38:04_1997-1 Content-Type: text/plain; charset=US-ASCII Hello. I am using Gnus-5.4 on Emacs/Mule comfotably. But I found a problem pop3.el write files with the default coding system. I set the buffer-file-coding-system to japanese-shift-jis-dos. So crashbox is written with this coding system. I apply this patch to pop3.el to resolve it. Could you use this patch officially? Thank you. Hisashi Miyashita --Multipart_Mon_Jul_28_10:38:04_1997-1 Content-Type: application/octet-stream Content-Disposition: attachment; filename="tmp" Content-Transfer-Encoding: 7bit --- gnus-5.4.64\lisp\pop3.el Sun Jul 20 06:39:26 1997 +++ gnus-5.4.64-m\lisp\pop3.el Mon Jul 28 10:18:10 1997 @@ -60,6 +60,9 @@ "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,7 +88,8 @@ (pop3-retr process n crashbuf) (save-excursion (set-buffer crashbuf) - (append-to-file (point-min) (point-max) crashbox) + (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)) --Multipart_Mon_Jul_28_10:38:04_1997-1 Content-Type: text/plain; charset=US-ASCII --Multipart_Mon_Jul_28_10:38:04_1997-1--