From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77701 Path: news.gmane.org!not-for-mail From: david.goldberg6@verizon.net (Dave Goldberg) Newsgroups: gmane.emacs.gnus.general Subject: Re: moving from nnml to nnimap Date: Mon, 14 Mar 2011 21:02:43 -0400 Message-ID: <84d3lti4b0.fsf@davestoy.home> References: <86ipvl5vfi.fsf@red.stonehenge.com> <87d3lt8nsv.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1300151052 3530 80.91.229.12 (15 Mar 2011 01:04:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 15 Mar 2011 01:04:12 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M26025@lists.math.uh.edu Tue Mar 15 02:04:07 2011 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 1PzIgB-0004aA-6F for ding-account@gmane.org; Tue, 15 Mar 2011 02:04:07 +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 1PzIfO-0007YY-2F; Mon, 14 Mar 2011 20:03:18 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PzIfL-0007YB-V7 for ding@lists.math.uh.edu; Mon, 14 Mar 2011 20:03:15 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PzIfI-0004ik-7X for ding@lists.math.uh.edu; Mon, 14 Mar 2011 20:03:13 -0500 Original-Received: from vms173011pub.verizon.net ([206.46.173.11]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PzIfH-00028g-81 for ding@gnus.org; Tue, 15 Mar 2011 02:03:11 +0100 Original-Received: from davestoy.home.verizon.net ([unknown] [173.48.216.252]) by vms173011.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LI2001EOQWIDON4@vms173011.mailsrvcs.net> for ding@gnus.org; Mon, 14 Mar 2011 20:02:43 -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: <87d3lt8nsv.fsf@lifelogs.com> (Ted Zlatanov's message of "Mon, 14 Mar 2011 15:11:44 -0500") User-Agent: Gnus/5.110014 (No Gnus v0.14) XEmacs/21.4.22 (linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77701 Archived-At: RLS> Second, is there an easy way to take everything from nnml:MUMBLE and RLS> move it to nnimap:MUMBLE while retaining as much meta-info as possible? > I don't know of one. You basically need to do (open group with C-u to > see all articles, mark all articles, copy to > (gnus-newsgroup-name =~ s/nnml/nnimap/) ) 300 times. It can be > automated I guess, but no one has needed the automation badly enough. > If you want I can write a function to do it. I did this a number of years ago. Going through my .xemacs/init.el version history I find this: (defun nnml2nnimap-group () (interactive) (gnus-group-make-group (concat "INBOX." (buffer-substring (region-beginning) (region-end))) "nnimap:cyrus")) which I used to create a destination IMAP group for each nnml group. I can't find what I wrote to do the actual moves. My memory says I did it with a keyboard macro, editing the destination group in the macro before each run, but apparently I never saved that out. -- Dave Goldberg david.goldberg6@verizon.net