Gnus development mailing list
 help / color / mirror / Atom feed
* problems (and fixes) saving to RMAIL files
@ 2000-05-17 21:17 Jim Davidson
  2000-05-18  1:26 ` Shenghuo ZHU
  0 siblings, 1 reply; 2+ messages in thread
From: Jim Davidson @ 2000-05-17 21:17 UTC (permalink / raw)


Running Gnus 5.8.6, Emacs 20.6...

There are two places where Gnus uses rmail-output-to-rmail-file, when it
should use alternatives that have been defined in Gnus itself.  These are
probably both typos, since the arguments are wrong for invoking
rmail-output-to-rmail-file.  In each case Emacs yields an error.

The following changes fix the problem.  Could someone who is CVS-enabled check
them in?

-Jim

--- message.el.~1~	Mon May 01 05:58:52 2000
+++ message.el	Tue May 16 17:45:27 2000
@@ -1005,6 +1005,7 @@
   (autoload 'mh-send-letter "mh-comp")
   (autoload 'gnus-point-at-eol "gnus-util")
   (autoload 'gnus-point-at-bol "gnus-util")
+  (autoload 'gnus-output-to-rmail "gnus-util")
   (autoload 'gnus-output-to-mail "gnus-util")
   (autoload 'mail-abbrev-in-expansion-header-p "mailabbrev")
   (autoload 'nndraft-request-associate-buffer "nndraft")
@@ -2805,7 +2806,7 @@
   "Append this article to Unix/babyl mail file.."
   (if (and (file-readable-p filename)
 	   (mail-file-babyl-p filename))
-      (rmail-output-to-rmail-file filename t)
+      (gnus-output-to-rmail filename t)
     (gnus-output-to-mail filename t)))
 
 (defun message-cleanup-headers ()


--- gnus-sum.el.~1~	Mon Apr 24 12:01:32 2000
+++ gnus-sum.el	Wed May 17 10:41:15 2000
@@ -8929,7 +8929,7 @@
 If N is nil and any articles have been marked with the process mark,
 save those articles instead."
   (interactive "P")
-  (let ((gnus-default-article-saver 'rmail-output-to-rmail-file))
+  (let ((gnus-default-article-saver 'gnus-summary-save-in-rmail))
     (gnus-summary-save-article arg)))
 
 (defun gnus-summary-save-article-file (&optional arg)



-- 
Jim Davidson
jdavidson @ acm.org



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

* Re: problems (and fixes) saving to RMAIL files
  2000-05-17 21:17 problems (and fixes) saving to RMAIL files Jim Davidson
@ 2000-05-18  1:26 ` Shenghuo ZHU
  0 siblings, 0 replies; 2+ messages in thread
From: Shenghuo ZHU @ 2000-05-18  1:26 UTC (permalink / raw)


>>>>> "Jim" == Jim Davidson <jdavidson@nospam.com> writes:

Jim> Running Gnus 5.8.6, Emacs 20.6...
Jim> There are two places where Gnus uses rmail-output-to-rmail-file, when it
Jim> should use alternatives that have been defined in Gnus itself.  These are
Jim> probably both typos, since the arguments are wrong for invoking
Jim> rmail-output-to-rmail-file.  In each case Emacs yields an error.

Jim> The following changes fix the problem.  Could someone who is
Jim> CVS-enabled check them in?


[...]

Applied.


-- 
Shenghuo



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

end of thread, other threads:[~2000-05-18  1:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-17 21:17 problems (and fixes) saving to RMAIL files Jim Davidson
2000-05-18  1:26 ` Shenghuo ZHU

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