Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Rud1ger Sch1erz <nospam_tigre@yahoo.es>
Subject: Re: How to recreate groups for nnml mail directory?
Date: Wed, 27 Sep 2006 15:30:21 +0200	[thread overview]
Message-ID: <upsdhzbbm.fsf@1a-software.de> (raw)
In-Reply-To: <m2irj97cfp.fsf@eqiao.com>

CHENG Gao <chenggao@gmail.com> 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

  reply	other threads:[~2006-09-27 13:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-27 10:21 Rud1ger Sch1erz
2006-09-27 11:53 ` CHENG Gao
2006-09-27 13:30   ` Rud1ger Sch1erz [this message]
2006-09-27 13:42     ` Rud1ger Sch1erz
2006-09-27 14:31 ` Reiner Steib
2006-09-27 15:58   ` Rud1ger Sch1erz

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=upsdhzbbm.fsf@1a-software.de \
    --to=nospam_tigre@yahoo.es \
    /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).