From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#11660: 24.1; Supercite doesn't work with RMAIL in 24.1 Date: Sat, 09 Jun 2012 14:29:22 -0400 Message-ID: References: <87y5nwikgw.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1339266585 27215 80.91.229.3 (9 Jun 2012 18:29:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 9 Jun 2012 18:29:45 +0000 (UTC) Cc: 11660@debbugs.gnu.org To: Kenichi Handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 09 20:29:44 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SdQPu-0006TF-6a for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jun 2012 20:29:42 +0200 Original-Received: from localhost ([::1]:47783 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdQPt-0007HN-Um for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jun 2012 14:29:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdQPq-0007HI-IU for bug-gnu-emacs@gnu.org; Sat, 09 Jun 2012 14:29:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SdQPo-0006Af-Ip for bug-gnu-emacs@gnu.org; Sat, 09 Jun 2012 14:29:38 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdQPo-0006Aa-FH for bug-gnu-emacs@gnu.org; Sat, 09 Jun 2012 14:29:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SdQSA-0003lM-FZ for bug-gnu-emacs@gnu.org; Sat, 09 Jun 2012 14:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Jun 2012 18:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11660 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11660-submit@debbugs.gnu.org id=B11660.133926671614452 (code B ref 11660); Sat, 09 Jun 2012 18:32:02 +0000 Original-Received: (at 11660) by debbugs.gnu.org; 9 Jun 2012 18:31:56 +0000 Original-Received: from localhost ([127.0.0.1]:36226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SdQS3-0003l1-E3 for submit@debbugs.gnu.org; Sat, 09 Jun 2012 14:31:56 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:47869) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SdQS0-0003ku-FO for 11660@debbugs.gnu.org; Sat, 09 Jun 2012 14:31:53 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SdQPa-0000ZK-AY; Sat, 09 Jun 2012 14:29:22 -0400 X-Spook: interception Sears Tower LABLINK Islam Abduganievich X-Ran: amA=KF/LM*+TKpYgir&r%~,Wy:3W( (Kenichi Handa's message of "Sun, 10 Jun 2012 00:16:47 +0900") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:60816 Archived-At: 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.