From: Julien Danjou <julien@danjou.info>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 9392@debbugs.gnu.org
Subject: bug#9392: 24.0.50; rmail-forward produces messages in unsupported format that cannot be customized away
Date: Fri, 02 Sep 2011 12:54:32 +0200 [thread overview]
Message-ID: <sa3zkin43kn.fsf@cigue.easter-eggs.fr> (raw)
In-Reply-To: <83vctbcjco.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 02 Sep 2011 13:46:31 +0300")
[-- Attachment #1: Type: text/plain, Size: 1926 bytes --]
On Fri, Sep 02 2011, Eli Zaretskii wrote:
> I don't know what was the rationale for this change, because if
> message-setup calls message-setup-1, it will still return nil, since
> message-setup-1 returns nil unconditionally. The simple patch below
> fixes this particular regression.
I think I was trying to fix the FIXME. :)
diff --git a/lisp/message.el b/lisp/message.el
index 28050f8..42ca73c 100644
--- a/lisp/message.el
+++ b/lisp/message.el
@@ -6582,9 +6582,7 @@ is a function used to switch to and display the mail buffer."
(dolist (h other-headers other-headers)
(if (stringp (car h)) (setcar h (intern (capitalize (car h)))))))
yank-action send-actions continue switch-function
- return-action)
- ;; FIXME: Should return nil if failure.
- t))
+ return-action)))
;;;###autoload
(defun message-news (&optional newsgroups subject)
> However, rmail-forward is still broken if mail-user-agent is set to
> sendmail-user-agent. That is a separate issue. So please do not
> close this bug, even if this patch is accepted by the Gnus developers.
>
> Here's the patch to message.el to restore the Emacs 23.3 default
> behavior of rmail-forward:
>
> === modified file 'lisp/gnus/message.el'
> --- lisp/gnus/message.el 2011-08-20 00:20:39 +0000
> +++ lisp/gnus/message.el 2011-09-02 09:45:18 +0000
> @@ -6530,7 +6530,9 @@ are not included."
> (message-position-point)
> ;; Allow correct handling of `message-checksum' in `message-yank-original':
> (set-buffer-modified-p nil)
> - (undo-boundary))
> + (undo-boundary)
> + ;; rmail-start-mail expects message-mail to return t (Bug#9392)
> + t)
>
> (defun message-set-auto-save-file-name ()
> "Associate the message buffer with a file in the drafts directory."
>
From my quick understanding, this looks good.
--
Julien Danjou
❱ http://julien.danjou.info
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
next prev parent reply other threads:[~2011-09-02 10:54 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-28 9:21 bug#9392: 24.0.50; rmail-forward produces messages in unsupported format that cannot be customized away Eli Zaretskii
2011-08-28 21:04 ` Andreas Schwab
2011-08-29 2:55 ` Eli Zaretskii
2011-08-29 5:17 ` Eli Zaretskii
2011-08-30 0:36 ` Kenichi Handa
2011-08-30 2:57 ` Eli Zaretskii
2011-08-30 5:47 ` Eli Zaretskii
2011-09-02 10:46 ` Eli Zaretskii
2011-09-02 10:54 ` Julien Danjou [this message]
2011-09-02 14:23 ` Eli Zaretskii
2011-09-02 14:27 ` Julien Danjou
2011-09-02 17:59 ` Eli Zaretskii
2011-09-02 18:47 ` Eli Zaretskii
2011-09-02 19:13 ` Julien Danjou
2011-09-02 19:26 ` Eli Zaretskii
2011-09-03 21:49 ` Lars Magne Ingebrigtsen
2011-09-09 9:05 ` Eli Zaretskii
2011-09-16 3:41 ` Kenichi Handa
2011-09-16 6:57 ` Eli Zaretskii
2011-09-16 8:02 ` Kenichi Handa
2011-09-03 0:24 ` Glenn Morris
2011-09-03 7:36 ` Eli Zaretskii
2011-09-06 6:53 ` Reiner Steib
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sa3zkin43kn.fsf@cigue.easter-eggs.fr \
--to=julien@danjou.info \
--cc=9392@debbugs.gnu.org \
--cc=eliz@gnu.org \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).