GNU bug report logs -
#11660
24.1; Supercite doesn't work with RMAIL in 24.1
Previous Next
Reported by: Kenichi Handa <handa <at> gnu.org>
Date: Sat, 9 Jun 2012 15:20:01 UTC
Severity: normal
Tags: patch
Fixed in version 24.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11660 in the body.
You can then email your comments to 11660 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11660
; Package
emacs
.
(Sat, 09 Jun 2012 15:20:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Kenichi Handa <handa <at> gnu.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 09 Jun 2012 15:20:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
With the release candidata of 24.1, supercite doesn't work
with RMAIL. This is what I tried:
# In RMAIL buffer showing a message from Kenichi Handa (it's me):
r
# Now I'm in "*unsent mail to Kenichi*".
C-c C-y
# The buffer shows the original message (head and body), and
# the minibuffer prompts "Complete attribution name:" and
# shows the default input "Anon".
RET
# The "*unsent..." buffer inserts " writes" at the first line
# of the composing body, and the following lines are not
# cited by "> ".
Previously (in Emacs 23), C-c C-y RET inserts this line at
the first line:
"In article <87boks4k41.fsf <at> gnu.org>, Kenichi Handa <handa <at> gnu.org> writes:"
and the following lines (containing only the body of the
original) are cited properly.
My .emacs contains this mail-related settings.
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(mail-citation-hook (quote (sc-cite-original)))
'(mail-host-address "gnu.org")
'(mail-user-agent (quote message-user-agent))
'(rmail-movemail-flags (quote ("--tls")))
'(rmail-movemail-program "/usr/bin/movemail")
'(rmail-remote-password-required t)
'(sc-auto-fill-region-p nil)
'(sc-citation-delimiter-regexp "[^-][>]+")
'(sc-citation-leader "")
'(sc-nested-citation-p t)
'(sc-preferred-header-style 2)
'(sc-reference-tag-string "")
'(send-mail-function (quote smtpmail-send-it))
'(sendmail-query-once-function (quote smtpmail-send-it) t)
'(smtpmail-smtp-server "fencepost.gnu.org")
'(smtpmail-smtp-service "smtp")
'(smtpmail-smtp-user "handa"))
---
Kenichi Handa
handa <at> m17n.org
In GNU Emacs 24.1.1 (i686-pc-linux-gnu, X toolkit, Xaw scroll bars)
of 2012-06-09 on ubuntu
Windowing system distributor `The X.Org Foundation', version 11.0.10706000
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: ja_JP.utf8
value of $XMODIFIERS: @im=ibus
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
display-time-mode: t
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
Recent input:
M-r C-c C-y r C-c C-y <return> <help-echo> <down-mouse-1>
<mouse-1> C-/ C-/ C-/ C-/ C-x k <return> C-x b * <tab>
<tab> C-a C-k <tab> <tab> C-g <down-mouse-1> <mouse-1>
C-x o M-x r e p o <tab> r <tab> <return>
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Counting messages...done
(No new mail has arrived)
0 new messages read
Mark set [2 times]
Undo! [3 times]
undo-more: No further undo information
Making completion list...
Quit
Making completion list...
Load-path shadows:
None found.
Features:
(shadow sort emacsbug help-mode view supercite easy-mmode
regi gnus-util mail-extr rmailmm message format-spec rfc822
mml mml-sec mm-decode mm-bodies mm-encode mailabbrev
gmm-utils mailheader mail-parse rfc2231 time sendmail
regexp-opt rmail-spam-filter easymenu rmailsum rmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date
japan-util tooltip ediff-hook vc-hooks lisp-float-type
mwheel x-win x-dnd tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu
font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer loaddefs button faces cus-face
files text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget hashtable-print-readable
backquote make-network-process dynamic-setting
font-render-setting x-toolkit x multi-tty emacs)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11660
; Package
emacs
.
(Sat, 09 Jun 2012 15:43:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 11660 <at> debbugs.gnu.org (full text, mbox):
> From: Kenichi Handa <handa <at> gnu.org>
> Date: Sun, 10 Jun 2012 00:16:47 +0900
>
> With the release candidata of 24.1, supercite doesn't work
> with RMAIL. This is what I tried:
>
> # In RMAIL buffer showing a message from Kenichi Handa (it's me):
> r
> # Now I'm in "*unsent mail to Kenichi*".
> C-c C-y
> # The buffer shows the original message (head and body), and
> # the minibuffer prompts "Complete attribution name:" and
> # shows the default input "Anon".
> RET
> # The "*unsent..." buffer inserts " writes" at the first line
> # of the composing body, and the following lines are not
> # cited by "> ".
>
> Previously (in Emacs 23), C-c C-y RET inserts this line at
> the first line:
> "In article <87boks4k41.fsf <at> gnu.org>, Kenichi Handa <handa <at> gnu.org> writes:"
> and the following lines (containing only the body of the
> original) are cited properly.
Whatever is done to fix this, _please_ test the changes, if any, also
with mail-user-agent set to sendmail-user-agent. Too many times this
configuration was broken during the last stages of pretest by changes
to either rmail*.el or sendmail.el, which suggests that the changes
are only tested with the default mail-user-agent.
TIA
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11660
; Package
emacs
.
(Sat, 09 Jun 2012 16:26:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 11660 <at> debbugs.gnu.org (full text, mbox):
> From: Kenichi Handa <handa <at> gnu.org>
> Date: Sun, 10 Jun 2012 00:16:47 +0900
>
> With the release candidata of 24.1, supercite doesn't work
> with RMAIL.
I think this happens because "C-c C-y" now invokes
rmail-yank-current-message, which doesn't run mail-citation-hook. Can
you verify that rmail-yank-current-message is indeed invoked when you
type "C-c C-y", and also that a different function was invoked in
Emacs 23?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11660
; Package
emacs
.
(Sat, 09 Jun 2012 18:32:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 11660 <at> debbugs.gnu.org (full text, mbox):
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.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11660
; Package
emacs
.
(Sun, 10 Jun 2012 02:38:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 11660 <at> debbugs.gnu.org (full text, mbox):
Glenn Morris <rgm <at> gnu.org> writes:
> This simple patch fixes it. Tested with and without supercite, and with
> sendmail- and message- user-agents.
>
> Should this be installed in emacs-24?
Please install it. Thanks.
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Sun, 10 Jun 2012 04:42:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Kenichi Handa <handa <at> gnu.org>
:
bug acknowledged by developer.
(Sun, 10 Jun 2012 04:42:01 GMT)
Full text and
rfc822 format available.
Message #22 received at 11660-done <at> debbugs.gnu.org (full text, mbox):
Version: 24.1
Chong Yidong wrote:
>> Should this be installed in emacs-24?
>
> Please install it. Thanks.
Done. I faked the ChangeLog date to put it before the release
announcement. I don't know if you plan to adjust those dates.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11660
; Package
emacs
.
(Sun, 10 Jun 2012 13:56:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 11660 <at> debbugs.gnu.org (full text, mbox):
In article <pqehpobapp.fsf <at> fencepost.gnu.org>, Glenn Morris <rgm <at> gnu.org> writes:
> This simple patch fixes it. Tested with and without supercite, and with
> sendmail- and message- user-agents.
I confirmed that the patch surely fixes the bug in my
environment, thank you!
---
Kenichi Handa
handa <at> m17n.org
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 09 Jul 2012 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 302 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.