Gnus development mailing list
 help / color / mirror / Atom feed
From: janneke@gnu.org
Subject: how does expiry-target work?
Date: 21 Nov 2000 16:37:06 +0100	[thread overview]
Message-ID: <m3snol8hgd.fsf@appel.lilypond.org> (raw)

Hi,

I'm still trying to migrate from nmh to Gnus, and it seems that today
I found the killer feature replacement for my ``refile-read'' and
refile-replied'' scripts: expiration and expiry-targets should
be able to move mail automatically from my inbox to my archive, right?

However, I can't get expiratation to move my mail, it only *removes*.

This is what I tried, I made a copy of my inbox (named ``indoos''),
and created a test-archive where to move expired mail, with one
message in it:

   cp -prv ~/mh/indoos ~/mh/indoos/copy
   mkdir ~/mh/indoos/expired
   cp ~/mh/indoos/1 ~/mh/indoos/expired

In Gnus (v5.8.7) I subscribed to both new mail groups:

    nnmh:indoos.copy  
    nnmh:indoos.expired

and then edited the group parameters for the inbox-copy (G p from
*Group*):

    ;;; Editing the group parameters for `nnmh:indoos.copy'.
    ;; Type `C-c C-c' after you've finished editing.

    ((auto-expire . t)
     (total-expire . t) 
     (expiry-wait . 0) 
     (expiry-target . "nnmh:indoos.expired"))

typed C-c C-c, exited Gnus, emacs, restarted.

When I enter nnmh:indoos.copy and read two messages 9 and 10, they're
marked ``E''.  I press ``B e M-g'' and they're gone.

On the disk, only 9 is removed (be sure to keep 1?) from
~/mh/indoos/copy, but it hasn't shown up in ~/mh/indoos/expired.

Are you all using this feature, and how?

Oh, and another two small related things: I would like to expire
automatically only mail that I replied to, from my inbox, would that
make sense and be possible?  Also, it seems that Gnus doesn't annotate
the messages when I reply, but uses a somewhat more (too?) volatile
way of keeping track.  For some reason I'm quite often loosing the
``replied'' flag on certain messages between sessions; maybe because
my ssh session gets interrupted?

Greetings,
Jan.

-- 
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org



             reply	other threads:[~2000-11-21 15:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-21 15:37 janneke [this message]
2000-11-21 15:57 ` Kai Großjohann
2000-11-22 12:57   ` janneke
2000-11-22 22:11     ` ShengHuo ZHU
2000-12-06 15:25   ` Jan Nieuwenhuizen
2000-12-09  3:13     ` Kai Großjohann
2000-12-09 13:00       ` Jan Nieuwenhuizen
2000-12-10 16:09         ` Kai Großjohann
2000-12-15 17:32           ` Jan Nieuwenhuizen
2000-11-22  3:37 ` 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=m3snol8hgd.fsf@appel.lilypond.org \
    --to=janneke@gnu.org \
    /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).