* bug#4080: 23.1.50; Message-mode doesn't handle YANK-ACTION argument of COMPOSE-MAIL
@ 2009-08-08 8:29 Teemu Likonen
2010-01-17 23:36 ` Chong Yidong
0 siblings, 1 reply; 2+ messages in thread
From: Teemu Likonen @ 2009-08-08 8:29 UTC (permalink / raw)
To: emacs-pretest-bug
Command compose-mail has an optional sixth argument YANK-ACTION which
defines what to do when user presses C-c C-y (mail-yank-original) in
mail-mode buffer. Here's a simple test suite:
(let ((mail-user-agent 'sendmail-user-agent))
(compose-mail user-mail-address "Test" nil nil nil
(list (lambda (&rest args)
(insert (format "%s\n" (car args))))
"Body")))
After evaluating the above code press C-c C-y in the mail-mode buffer to
see text "Body" appear. It should work nicely.
However, this does not work when mail-user-agent is "message-user-agent"
or "gnus-user-agent". Message-mode has C-c C-y (message-yank-original)
command but it does not do anything.
Here's the same test suite with message-user-agent as the
mail-user-agent:
(let ((mail-user-agent 'message-user-agent))
(compose-mail user-mail-address "Test" nil nil nil
(list (lambda (&rest args)
(insert (format "%s\n" (car args))))
"Body")))
C-c C-y doesn't do anything.
---------------
In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
of 2009-08-08 on mithlond
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#4080: 23.1.50; Message-mode doesn't handle YANK-ACTION argument of COMPOSE-MAIL
2009-08-08 8:29 bug#4080: 23.1.50; Message-mode doesn't handle YANK-ACTION argument of COMPOSE-MAIL Teemu Likonen
@ 2010-01-17 23:36 ` Chong Yidong
0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2010-01-17 23:36 UTC (permalink / raw)
To: Teemu Likonen; +Cc: 4080
> Command compose-mail has an optional sixth argument YANK-ACTION which
> defines what to do when user presses C-c C-y (mail-yank-original) in
> mail-mode buffer.
>
> However, this does not work when mail-user-agent is
> "message-user-agent" or "gnus-user-agent". Message-mode has C-c C-y
> (message-yank-original) command but it does not do anything.
Thanks for the report. I've checked in a fix for this shortcoming of
message-mode.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-17 23:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-08 8:29 bug#4080: 23.1.50; Message-mode doesn't handle YANK-ACTION argument of COMPOSE-MAIL Teemu Likonen
2010-01-17 23:36 ` Chong Yidong
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.