From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/8029 Path: news.gmane.org!not-for-mail From: Rud1ger Sch1erz Newsgroups: gmane.emacs.gnus.user Subject: Re: How to recreate groups for nnml mail directory? Date: Wed, 27 Sep 2006 15:30:21 +0200 Organization: Joe Cool's Data Club Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1159364610 8487 80.91.229.2 (27 Sep 2006 13:43:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Sep 2006 13:43:30 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Sep 27 15:43:28 2006 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GSZe2-0004Tw-Vc for gegu-info-gnus-english@m.gmane.org; Wed, 27 Sep 2006 15:40:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GSZe2-0002VB-Hz for gegu-info-gnus-english@m.gmane.org; Wed, 27 Sep 2006 09:40:14 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news-stu1.dfn.de!news.belwue.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 39 Original-NNTP-Posting-Host: p549f937b.dip0.t-ipconnect.de Original-X-Trace: online.de 1159363823 8141 84.159.147.123 (27 Sep 2006 13:30:23 GMT) Original-X-Complaints-To: abuse@einsundeins.com Original-NNTP-Posting-Date: Wed, 27 Sep 2006 13:30:23 +0000 (UTC) X-Face: #:MZuxU}Ohx7F'%qn?&lOEKYDJTZ\~L/#bC%-j; .c^iCowB~~T?W%d~Py4iU[<; qpUg>d.Z``l6TeSrY`nfbo'ug:@Al0 E>Hrat[ZBeHmvbkUoX:eY+;d/_PtbnMNCEMI_FC~*D-:}*Z:FGO$E User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:BuYcDigKHNruHVVNHE8yEQSKCeQ= Original-Xref: shelby.stanford.edu gnu.emacs.gnus:78214 Original-To: info-gnus-english@gnu.org X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:8029 Archived-At: CHENG Gao writes: > Is the old "active" file there? Well, on this MS Windows XP pro installation this information seems to be stored in the .newsrc.eld file. I've not found an active file. > If so, you can copy your old mail dirs > to ~/Mail (need check to avoid duplicate dir), and add content from old > active file into your new active file. You can put all old mail dirs to > a subdir (say oldback), and then you can edit old active file to add > "oldback." to each group name, and then paste the content into new > active file, and then you can browse these groups to move messages to > other group(s) (using 'B m'). Sounds like a lot of work with more than 250 mail dirs. ;-) I solved the problem now by editing the .newsrc.eld file: - 'C-u ESC-x shell-command-on-region ls ~/Mail/mail' (to get listing of my email dirs into the .newsrc.eld file) - now I wrote a keyboard macro to change the dirnames into group entries, eg.: adrian_otto to ("nnml:mail.adrian_otto" 3 nil nil "nnml:") - then I used apply-macro-to-region-lines to convert all lines with dirnames That did the trick for me. But I still wonder, if there is a simple gnus command to do this. Cheers, Rudiger