From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73766 Path: news.gmane.org!not-for-mail From: Dave Goldberg Newsgroups: gmane.emacs.gnus.general Subject: Re: Forwarding rfc822 messages Date: Sun, 31 Oct 2010 23:51:51 -0400 Message-ID: <84oca9wvjc.fsf@davestoy.home> References: <87r5f60zlf.fsf@wwm03708.mgb.telekom.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1288583658 19072 80.91.229.12 (1 Nov 2010 03:54:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 1 Nov 2010 03:54:18 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22135@lists.math.uh.edu Mon Nov 01 04:54:14 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PClTJ-00048q-Gq for ding-account@gmane.org; Mon, 01 Nov 2010 04:54:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PClSA-0005wg-0w; Sun, 31 Oct 2010 22:53:02 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PClS6-0005wN-PO for ding@lists.math.uh.edu; Sun, 31 Oct 2010 22:52:58 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PClS2-0002XL-VG for ding@lists.math.uh.edu; Sun, 31 Oct 2010 22:52:56 -0500 Original-Received: from vms173003pub.verizon.net ([206.46.173.3]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PClS0-0004HL-00 for ; Mon, 01 Nov 2010 04:52:53 +0100 Original-Received: from davestoy.home.verizon.net ([unknown] [173.48.216.252]) by vms173003.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LB600E00TEG7RS5@vms173003.mailsrvcs.net> for ding@gnus.org; Sun, 31 Oct 2010 22:51:53 -0500 (CDT) X-Face: W!bie|rYVd43O:2CkHTb*~s5}Yzx30X<@6Tq_bnP56Hp!xX4sVl4tgYRirjRcke\wfY!JJ9 i?]VIUJicJzq2\!3%7$5R%wi!R[.]Va97q In-reply-to: (Lars Magne Ingebrigtsen's message of "Sun, 31 Oct 2010 23:34:19 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) XEmacs/21.4.22 (linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73766 Archived-At: > Mario Peter writes: >> I know the way via digest and mail, but this can be done only from the >> same group and I would like to do this seperately - maybe reading the >> article, command to capture this article, go to message buffer, insert >> capured mail in a mml section. > It seems like `S o m' is a pretty easy option -- I mean, after getting > the Message buffer, you can just edit out any of the stuff you don't > want, can't you? > I'm not really seeing a use case here, so perhaps I'm misunderstanding > what you mean... I'm not sure I'm following the OP either, but here's my use case and solution for something that I think is akin to this request. At work, where I manage a group of sysadmins, we use a trouble ticket system (RT) that allows many in my group to handle tickets entirely through email. Our users are not aware of this and often sent replies with CCs directly to particular admins, resulting in several copies of messages, some of which lack the necessary CC to keep a message tracked by RT falls off the list. When it happens with me (I do use the web interface so I can tell if a message in my inbox has not been included) I want to get the message into the ticket - perhaps it contains troubleshooting data that we've asked the user to provide. Simple forwarding can be a pain because then I'd have to fill in the Subject in a particular way. Easier for me is to start a reply on a proper email in the ticket and then attach t he other message as part of the composition. So my summary line format includes the message number and I've written this simple function, bound to C-c C-m C-m. (defun dsg-message-attach-article (group message) (interactive (list (completing-read "Group: " gnus-active-hashtb nil (gnus-read-active-file-p) nil 'gnus-group-history) (read-number "Message: " t))) (let ((tmp (get-buffer-create (generate-new-buffer-name "*MSGTMP*")))) (save-excursion (set-buffer tmp) (gnus-request-article-this-buffer message group)) (mml-attach-buffer (buffer-name tmp) "message/rfc822"))) -- Dave Goldberg david.goldberg6@verizon.net