From: Mario Peter <empee0@googlemail.com>
To: ding@gnus.org
Subject: Re: Forwarding rfc822 messages
Date: Mon, 01 Nov 2010 23:42:01 +0100 [thread overview]
Message-ID: <871v744qfa.fsf@wwm03708.mgb.telekom.de> (raw)
In-Reply-To: <84oca9wvjc.fsf@davestoy.home> (Dave Goldberg's message of "Sun, 31 Oct 2010 23:51:51 -0400")
On Nov 01 2010, 04:51, Dave Goldberg <david.goldberg6@verizon.net> wrote:
> 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 the 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")))
I tried this out today at work, it's a cool solution and I got used to
it quickly. I made a little change to be able to attach more than one
article:
(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: ")))
(let ((tmp (get-buffer-create
(generate-new-buffer-name
(concat "*MSGTMP-" (number-to-string message) "*")))))
(save-excursion
(set-buffer tmp)
(gnus-request-article-this-buffer message group))
(mml-attach-buffer (buffer-name tmp) "message/rfc822")))
Thanks for this!! I did not get used to the article number in the
summary line though ;-) so I get the number now with a little helper.
The solution using the kill-ring as Lars proposed has charme too - you don't have
to remember a number... hmmm
Mario
--
Mario Peter
de,pl,en
http://www.mpeter.de
next prev parent reply other threads:[~2010-11-01 22:42 UTC|newest]
Thread overview: 113+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-19 19:53 Outstanding stuff? Lars Magne Ingebrigtsen
2010-10-19 21:46 ` Steinar Bang
2010-10-20 0:11 ` Lars Magne Ingebrigtsen
2010-10-20 10:47 ` Steinar Bang
2010-10-21 17:16 ` Tibor Simko
2010-10-20 0:24 ` Dan Christensen
2010-10-20 15:09 ` Ted Zlatanov
2010-10-20 17:34 ` Lars Magne Ingebrigtsen
2010-10-20 17:59 ` Ted Zlatanov
2010-10-20 18:03 ` Lars Magne Ingebrigtsen
2010-10-20 18:39 ` Ted Zlatanov
2010-10-20 17:35 ` Lars Magne Ingebrigtsen
2010-10-21 1:14 ` Lars Magne Ingebrigtsen
2010-10-28 1:05 ` Dan Christensen
2010-10-29 22:40 ` Lars Magne Ingebrigtsen
2010-11-01 17:28 ` Dan Christensen
2010-11-01 18:48 ` Lars Magne Ingebrigtsen
2010-10-20 7:51 ` Julien Danjou
2010-10-21 15:52 ` Lars Magne Ingebrigtsen
2010-10-21 16:03 ` Julien Danjou
2010-10-21 20:27 ` Dave Goldberg
2010-10-21 22:22 ` Dan Christensen
2010-10-23 13:16 ` Julien Danjou
2010-10-24 4:28 ` Lars Magne Ingebrigtsen
2010-10-20 9:34 ` Robert Pluim
2010-10-20 11:12 ` Ted Zlatanov
2010-10-24 17:20 ` Lars Magne Ingebrigtsen
2010-10-25 7:18 ` Robert Pluim
2010-10-25 17:12 ` Steinar Bang
2010-10-25 17:25 ` Adam Sjøgren
2010-10-25 20:08 ` Steinar Bang
2010-10-25 20:11 ` Adam Sjøgren
2010-10-25 17:14 ` Steinar Bang
2010-10-25 17:24 ` Robert Pluim
2010-10-25 20:11 ` Steinar Bang
2010-10-25 22:48 ` Steinar Bang
2010-10-29 22:24 ` Lars Magne Ingebrigtsen
2010-10-25 18:19 ` Ted Zlatanov
2010-10-29 22:27 ` Lars Magne Ingebrigtsen
2010-10-26 0:59 ` Dan Christensen
2010-10-26 6:30 ` Steinar Bang
2010-10-29 22:28 ` Lars Magne Ingebrigtsen
2010-10-30 8:25 ` Steinar Bang
2010-10-30 11:12 ` Lars Magne Ingebrigtsen
2010-10-30 14:16 ` Steinar Bang
2010-10-30 16:45 ` Agent improvements (was: Outstanding stuff?) Lars Magne Ingebrigtsen
2010-10-30 17:45 ` Agent improvements Steinar Bang
2010-10-30 19:28 ` Lars Magne Ingebrigtsen
2010-10-30 20:30 ` Steinar Bang
2010-10-20 10:49 ` Outstanding stuff? Steinar Bang
2010-10-21 16:17 ` Lars Magne Ingebrigtsen
2010-10-20 11:53 ` Gijs Hillenius
2010-10-21 16:19 ` Lars Magne Ingebrigtsen
2010-10-20 12:24 ` Ted Zlatanov
2010-10-20 16:30 ` Lars Magne Ingebrigtsen
2010-10-20 16:34 ` Ted Zlatanov
2010-10-20 17:13 ` Lars Magne Ingebrigtsen
2010-10-20 14:40 ` Julien Danjou
2010-10-21 9:18 ` Julien Danjou
2010-10-21 16:21 ` Lars Magne Ingebrigtsen
2010-10-21 16:25 ` Julien Danjou
2010-10-20 15:11 ` Ted Zlatanov
2010-10-21 16:23 ` Lars Magne Ingebrigtsen
2010-10-21 17:36 ` Tibor Simko
2010-10-21 17:39 ` Lars Magne Ingebrigtsen
2010-10-21 20:14 ` Tibor Simko
2010-10-24 4:40 ` Lars Magne Ingebrigtsen
2010-10-30 19:58 ` Tibor Simko
2010-10-30 20:03 ` Lars Magne Ingebrigtsen
2010-10-30 21:14 ` Tibor Simko
2010-11-01 12:38 ` Tibor Simko
2010-11-01 18:24 ` Lars Magne Ingebrigtsen
2010-11-02 9:19 ` Tibor Simko
2010-11-04 19:53 ` Lars Magne Ingebrigtsen
2010-10-21 18:41 ` Rémi Letot
2010-10-24 4:20 ` Lars Magne Ingebrigtsen
2010-10-24 8:49 ` Rémi Letot
2010-10-24 16:20 ` Lars Magne Ingebrigtsen
2010-10-24 19:07 ` Rémi Letot
2010-10-24 19:14 ` Lars Magne Ingebrigtsen
2010-10-24 19:16 ` Rémi Letot
2010-10-24 19:19 ` Lars Magne Ingebrigtsen
2010-10-24 19:30 ` Rémi Letot
2010-10-24 19:33 ` Lars Magne Ingebrigtsen
2010-10-24 19:42 ` Rémi Letot
2010-10-24 19:44 ` Lars Magne Ingebrigtsen
2010-10-24 19:50 ` Rémi Letot
2010-10-24 19:52 ` Lars Magne Ingebrigtsen
2010-10-24 19:57 ` Rémi Letot
2010-10-24 20:00 ` Lars Magne Ingebrigtsen
2010-10-24 20:40 ` Rémi Letot
2010-10-21 19:10 ` Robert Pluim
2010-10-24 4:23 ` Lars Magne Ingebrigtsen
2010-10-31 22:25 ` Mario Peter
2010-10-31 22:34 ` Forwarding rfc822 messages (was: Outstanding stuff?) Lars Magne Ingebrigtsen
2010-11-01 3:51 ` Forwarding rfc822 messages Dave Goldberg
2010-11-01 22:42 ` Mario Peter [this message]
2010-11-01 6:57 ` Mario Peter
2010-11-01 18:16 ` Lars Magne Ingebrigtsen
2010-11-01 22:16 ` Mario Peter
2010-11-02 7:17 ` Reiner Steib
2010-11-02 19:40 ` Lars Magne Ingebrigtsen
2010-12-05 0:21 ` Outstanding stuff? Steinar Bang
2010-12-05 12:06 ` Sender header (was: Outstanding stuff?) Lars Magne Ingebrigtsen
2010-12-05 12:39 ` Sender header Byung-Hee HWANG
2010-12-05 18:18 ` Steinar Bang
2010-12-05 18:35 ` Lars Magne Ingebrigtsen
2010-12-05 18:41 ` Lars Magne Ingebrigtsen
2010-12-05 22:09 ` Steinar Bang
2010-12-05 22:42 ` Lars Magne Ingebrigtsen
2010-12-06 20:24 ` Steinar Bang
2010-12-06 20:47 ` Lars Magne Ingebrigtsen
2010-12-06 20:50 ` Steinar Bang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871v744qfa.fsf@wwm03708.mgb.telekom.de \
--to=empee0@googlemail.com \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).