all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Kenichi Handa <handa@gnu.org>
Cc: 11660@debbugs.gnu.org
Subject: bug#11660: 24.1; Supercite doesn't work with RMAIL in 24.1
Date: Sat, 09 Jun 2012 14:29:22 -0400	[thread overview]
Message-ID: <pqehpobapp.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <87y5nwikgw.fsf@gnu.org> (Kenichi Handa's message of "Sun, 10 Jun 2012 00:16:47 +0900")

Kenichi Handa wrote:

> With the release candidata of 24.1, supercite doesn't work
> with RMAIL.

This simple patch fixes it. Tested with and without supercite, and with
sendmail- and message- user-agents.

To test, apply the 4 possible forms for eval:

emacs -Q --eval "(progn (add-hook 'mail-citation-hook 'sc-cite-original)
                        (setq mail-user-agent 'sendmail-user-agent))"

C-u M-x rmail RET /path/to/mbox RET
r
C-c C-y

(The message and mail citation commands leave point in different
positions, but they did in 23.4 too.)

Should this be installed in emacs-24?

*** lisp/mail/rmail.el	2012-05-04 11:17:28 +0000
--- lisp/mail/rmail.el	2012-06-09 18:19:56 +0000
***************
*** 3567,3573 ****
    (with-current-buffer buffer
      (unless (rmail-buffers-swapped-p)
        (setq buffer rmail-view-buffer)))
!   (insert-buffer buffer)
    ;; If they yank the text of BUFFER, the encoding of BUFFER is a
    ;; better default for the reply message than the default value of
    ;; buffer-file-coding-system.
--- 3567,3573 ----
    (with-current-buffer buffer
      (unless (rmail-buffers-swapped-p)
        (setq buffer rmail-view-buffer)))
!   (insert-buffer-substring buffer)
    ;; If they yank the text of BUFFER, the encoding of BUFFER is a
    ;; better default for the reply message than the default value of
    ;; buffer-file-coding-system.






  parent reply	other threads:[~2012-06-09 18:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-09 15:16 bug#11660: 24.1; Supercite doesn't work with RMAIL in 24.1 Kenichi Handa
2012-06-09 15:40 ` Eli Zaretskii
2012-06-09 16:23 ` Eli Zaretskii
2012-06-09 18:29 ` Glenn Morris [this message]
2012-06-10  2:34   ` Chong Yidong
2012-06-10  4:38     ` Glenn Morris
2012-06-10 13:52   ` Kenichi Handa

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=pqehpobapp.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=11660@debbugs.gnu.org \
    --cc=handa@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.