Gnus development mailing list
 help / color / mirror / Atom feed
From: david.goldberg6@verizon.net (Dave Goldberg)
To: ding@gnus.org
Subject: Re: forward/insert a message in a reply message buffer
Date: Thu, 04 Sep 2014 22:03:19 -0400	[thread overview]
Message-ID: <84ha0mn7rs.fsf@davestoy.home> (raw)
In-Reply-To: <87ppfbr2ag.fsf@mat.ucm.es> (Uwe Brauer's message of "Thu, 04 Sep	2014 14:35:51 +0200")


> Hello
> I asked this some time ago, but I am not sure whether the following
> feature has been implemented:
> in a reply/followup buffer I want to insert/forward a message from any
> other group something like 

> For example: 


> (insert-or-attach-or-forward 
> "Message-ID:
> <CAMErEMjN_Thvq0X4jdRYw2-B02HSrGGJX3LTZJcRwhKPgun=sw@mail.gmail.com>
> Group: nnimap+UCMgmail:INBOX")


> Maybe orgmode has some functionality of this sort?

I'm pretty sure I've posted this before.  It's very klunky.  Only tested with nnimap and nnml.  It requires knowing the message number (not message-id) which I solve by displaying it with %N in my customized gnus-summary-line-format.

(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 "*DSGTMP*"))))
    (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



  reply	other threads:[~2014-09-05  2:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-04 12:35 Uwe Brauer
2014-09-05  2:03 ` Dave Goldberg [this message]
2014-09-05 11:57   ` Uwe Brauer
2015-01-27  5:20     ` Lars Ingebrigtsen
2015-01-28  2:20       ` Dave Goldberg
2015-01-29  2:22         ` Lars Ingebrigtsen
2015-01-31 16:47           ` Dave Goldberg
2015-02-05  3:37             ` Lars Ingebrigtsen
2018-02-28  9:23 Uwe Brauer

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=84ha0mn7rs.fsf@davestoy.home \
    --to=david.goldberg6@verizon.net \
    --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).