Gnus development mailing list
 help / color / mirror / Atom feed
From: himi@etl.go.jp
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	[thread overview]
Message-ID: <usox0c5xe.fsf@tuenmun.etl.go.jp> (raw)

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]


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


[-- Attachment #2: tmp --]
[-- Type: application/octet-stream, Size: 774 bytes --]

--- 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))

[-- Attachment #3: Type: text/plain, Size: 1 bytes --]



             reply	other threads:[~1997-07-28  1:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-28  1:38 himi [this message]
     [not found] ` <wklo2rhpjq.fsf@peorth.gweep.net>
1997-07-28  7:12   ` David Hedbor

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=usox0c5xe.fsf@tuenmun.etl.go.jp \
    --to=himi@etl.go.jp \
    /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).