From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/33449 Path: main.gmane.org!not-for-mail From: janneke@gnu.org Newsgroups: gmane.emacs.gnus.general Subject: how does expiry-target work? Date: 21 Nov 2000 16:37:06 +0100 Organization: Jan at Appel Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035169553 25187 80.91.224.250 (21 Oct 2002 03:05:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:05:53 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id 7D4F8D049A for ; Tue, 21 Nov 2000 10:37:49 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id JAB00662; Tue, 21 Nov 2000 09:37:32 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 21 Nov 2000 09:37:01 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id JAA19838 for ; Tue, 21 Nov 2000 09:36:49 -0600 (CST) Original-Received: from appel.lilypond.org (node1600a.a2000.nl [24.132.96.10]) by mailhost.sclp.com (Postfix) with ESMTP id C91BFD049A for ; Tue, 21 Nov 2000 10:37:11 -0500 (EST) Original-Received: (from fred@localhost) by appel.lilypond.org (8.9.3/8.9.3) id QAA06186; Tue, 21 Nov 2000 16:37:06 +0100 X-Authentication-Warning: appel.lilypond.org: fred set sender to janneke@gnu.org using -f Original-To: ding@gnus.org Original-Lines: 57 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:33449 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:33449 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 | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org