Gnus development mailing list
 help / color / mirror / Atom feed
From: Jim Davidson <jdavidson@nospam.com>
Subject: problems (and fixes) saving to RMAIL files
Date: Wed, 17 May 2000 21:17:18 GMT	[thread overview]
Message-ID: <ud7mkub9x.fsf@nospam.com> (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



             reply	other threads:[~2000-05-17 21:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-17 21:17 Jim Davidson [this message]
2000-05-18  1:26 ` Shenghuo ZHU

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=ud7mkub9x.fsf@nospam.com \
    --to=jdavidson@nospam.com \
    /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).