GNU bug report logs -
#4080
23.1.50; Message-mode doesn't handle YANK-ACTION argument of COMPOSE-MAIL
Previous Next
Reported by: Teemu Likonen <tlikonen <at> iki.fi>
Date: Sat, 8 Aug 2009 08:35:03 UTC
Severity: normal
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
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
This bug report was last modified 15 years and 129 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.