Gnus development mailing list
 help / color / mirror / Atom feed
From: Dave Love <d.love@dl.ac.uk>
Subject: Re: pop3.el & multibyte problems
Date: 08 Sep 1998 10:30:50 +0100	[thread overview]
Message-ID: <rzq67ez54tx.fsf@djlvig.dl.ac.uk> (raw)
In-Reply-To: Hrvoje Niksic's message of "Mon, 07 Sep 1998 22:39:28 GMT"

>>>>> "HN" == Hrvoje Niksic <hniksic@srce.hr> 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  <himi@etl.go.jp>

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


  parent reply	other threads:[~1998-09-08  9:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-07  9:42 Jean-Yves Perrier
     [not found] ` <x790jvn1zt.fsf@peorth.gweep.net>
1998-09-07 22:30   ` Dave Love
1998-09-08  0:37     ` Hrvoje Niksic
1998-09-08  6:48       ` Jean-Yves Perrier
1998-09-08 11:30         ` Hrvoje Niksic
1998-09-08  9:30       ` Dave Love [this message]
1998-09-08  0:22   ` Michael Welsh Duggan

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=rzq67ez54tx.fsf@djlvig.dl.ac.uk \
    --to=d.love@dl.ac.uk \
    /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).