Gnus development mailing list
 help / color / mirror / Atom feed
* Please apply this patch to pop3.el in Gnus-5.4 to use with Emacs/Mule
@ 1997-07-28  1:38 himi
       [not found] ` <wklo2rhpjq.fsf@peorth.gweep.net>
  0 siblings, 1 reply; 2+ messages in thread
From: himi @ 1997-07-28  1:38 UTC (permalink / 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 --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Please apply this patch to pop3.el in Gnus-5.4 to use with Emacs/Mule
       [not found] ` <wklo2rhpjq.fsf@peorth.gweep.net>
@ 1997-07-28  7:12   ` David Hedbor
  0 siblings, 0 replies; 2+ messages in thread
From: David Hedbor @ 1997-07-28  7:12 UTC (permalink / raw)


Stainless Steel Rat <ratinox@peorth.gweep.net> writes:

> If you want your own pop3-movemail function, or distribute it as an
> unofficial patch, be my guest; but I will not be adding this patch to my
> "master" source area.  Sorry.

No offense, but you don't seem to care about any patches which doesn't
directly apply what you are using it for. I thinking about my patch
which allows you do deny downloading of large files, if you want. This
is something which others might want as well, I would guess.

Do you have any specific reason for this or do you just feel like
discouraging people from developing pop3.el?

-- 
A good scapegoat is hard to find.
A guilty conscience is the mother of invention.
		-- Carolyn Wells


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-07-28  7:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-07-28  1:38 Please apply this patch to pop3.el in Gnus-5.4 to use with Emacs/Mule himi
     [not found] ` <wklo2rhpjq.fsf@peorth.gweep.net>
1997-07-28  7:12   ` David Hedbor

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