Gnus development mailing list
 help / color / mirror / Atom feed
From: Harry Putnam <reader@newsguy.com>
Subject: Re: Quickly Migrating ~/Mail/* to gnus nnfolder
Date: 01 Mar 2000 19:20:19 -0800	[thread overview]
Message-ID: <m2u2iqhxcc.fsf@reader.ptw.com> (raw)
In-Reply-To: Chris Richards's message of "01 Mar 2000 18:00:08 -0600"

Chris Richards <cjr@netpliance.net> writes:

> Howdy.
> 
> Is there a suggested way to migrate mbox format files under ~/Mail/
> into gnus?  I have 61 "groups" in 14 (sub-)directories.

Respooling is one good way ( `B r' in Summary)

The rest depends on what kind of groups you want.  It would involve
setting the secondary select method to "SOMEBACKEND" like nnml
nnfolder nnmh etc.  

You can access all your mail groups with "nneething" in one stroke by
creating an "nneething" group at address ~/Mail.  You will see how it
works like emacs in dired mode (sort of)  
> 
> For example:
> 
> ~/Mail/humour
> ~/Mail/people/bob
> ~/Mail/people/jane
> ~/Mail/work/project1/defects
> 
> into
> 
> nnfolder:humour
> nnfolder:people.bob
> nnfolder:people.jane
> nnfolder:work.project1.defects

Set your split rules to send the messages to the proper nnfolder groups
then process mark each message in a group and `respool'  `M P a' in
summary buffer will process mark all visible messages.


Only use the above method if you feel you know enough gnus.  Otherwise
the method you lay out below (with a few provisos) should work, just a
little more time consuming.

> 
> I tried to manually do one by creating a nndoc group and a nnfolder
> group.  The doc group was the old mbox file.  I moved the messages and
> tried to kill the nndoc group.  It sorta of went away... replaced by
> group 'nil' ;)

That method should work with no hitches.  However nndoc does not
supprt `B m' (move) so use `B c' copy  after process marking all messages.

To kill an nndoc group should only require a simple `C-k'.  No muss no
fuss, just gone.

> This is way annoying.  Should I just leave them as nndoc groups?  Can
> I split into them later?

No, you can't split into them.   A simple `C-k' should remove any
nndoc group.



  reply	other threads:[~2000-03-02  3:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-02  0:00 Chris Richards
2000-03-02  3:20 ` Harry Putnam [this message]
2000-03-02  3:51 ` Harry Putnam

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=m2u2iqhxcc.fsf@reader.ptw.com \
    --to=reader@newsguy.com \
    /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).