From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/823 Path: news.gmane.org!not-for-mail From: David S Goldberg Newsgroups: gmane.emacs.gnus.user Subject: Re: Attach messages from other groups Date: Wed, 24 Jul 2002 16:18:13 -0400 Organization: I Yam What I Yam Message-ID: References: <871y9tniue.fsf@mail.paradoxical.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138667724 8559 80.91.229.2 (31 Jan 2006 00:35:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:35:24 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:28:10 2006 Original-Path: quimby.gnus.org!news.ccs.neu.edu!news.dfci.harvard.edu!news.harvard.edu!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed.mathworks.com!newstransit.mitre.org!news.mitre.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: blackbird-2k.mitre.org Original-X-Trace: newslocal.mitre.org 1027541894 6058 129.83.3.93 (24 Jul 2002 20:18:14 GMT) Original-X-Complaints-To: news@mitre.org Original-NNTP-Posting-Date: Wed, 24 Jul 2002 20:18:14 +0000 (UTC) Mail-Copies-To: nobody User-Agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Honest Recruiter (Windows [2]), i686-pc-cygwin) Cancel-Lock: sha1:cDxHpUPb0XWB1+Hq5nmdSOAQcNM= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:963 Original-Lines: 26 X-Gnus-Article-Number: 963 Tue Jan 17 17:28:10 2006 Xref: news.gmane.org gmane.emacs.gnus.user:823 Archived-At: I use this with nnimap. It's klunky in that it requires I know the article number I want. I very often use it by starting a gnus-slave, finding what I want (sometimes with nnir) and then running it. Ideally, it would be more general with respect to back ends and present you with a group buffer that you could search for the article you want to attach. But I'm neither skilled enough in lisp nor motivated enough to take it to that level. (defun dsg-nnimap-insert-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 "*DSGTMP*")))) (nnimap-request-article message (gnus-group-real-name group) (nth 1 (gnus-group-method group)) tmp) (mml-attach-buffer (buffer-name tmp) "message/rfc822"))) -- Dave Goldberg david.goldberg6@verizon.net