From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16242 Path: news.gmane.org!not-for-mail From: Memnon Anon Newsgroups: gmane.emacs.gnus.user Subject: Re: Move message of a given year into new group Date: Wed, 10 Apr 2013 08:45:26 +0000 (UTC) Message-ID: <87vc7u3hg2.fsf@mean.albasani.net> References: <87ip3xtc7w.fsf@krugs.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1365583548 25434 80.91.229.3 (10 Apr 2013 08:45:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Apr 2013 08:45:48 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Apr 10 10:45:52 2013 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UPqf7-0007oI-Nh for gegu-info-gnus-english@m.gmane.org; Wed, 10 Apr 2013 10:45:49 +0200 Original-Received: from localhost ([::1]:57693 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPqf7-0006Az-D0 for gegu-info-gnus-english@m.gmane.org; Wed, 10 Apr 2013 04:45:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55841) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPqf2-0006A0-ER for info-gnus-english@gnu.org; Wed, 10 Apr 2013 04:45:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPqf0-0001oJ-Ih for info-gnus-english@gnu.org; Wed, 10 Apr 2013 04:45:44 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:36281) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPqf0-0001oE-7x for info-gnus-english@gnu.org; Wed, 10 Apr 2013 04:45:42 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UPqew-0007WP-BQ for info-gnus-english@gnu.org; Wed, 10 Apr 2013 10:45:38 +0200 Original-Received: from e178196205.adsl.alicedsl.de ([85.178.196.205]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Apr 2013 10:45:38 +0200 Original-Received: from gegendosenfleisch by e178196205.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Apr 2013 10:45:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e178196205.adsl.alicedsl.de Cancel-Lock: sha1:GL+jOY119FrnZnN1zPMpfQhIbFI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 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: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:16242 Archived-At: Rainer@krugs.de (Rainer M. Krug) writes: > So I would like to move all mails before 2011 into groups Archive.YEAR, > where YEAR is the year of the email. BTW, if you want to set on this method from now on, I found this while browsing the manual: ,----[ (info "(gnus)Expiring Mail") ] | (setq nnmail-expiry-target 'nnmail-fancy-expiry-target | nnmail-fancy-expiry-targets | '((to-from "boss" "nnfolder:Work") | ("subject" "IMPORTANT" "nnfolder:IMPORTANT.%Y.%b") | ("from" ".*" "nnfolder:Archive-%Y"))) | | With this setup, any mail that has `IMPORTANT' in its Subject header | and was sent in the year `YYYY' and month `MMM', will get expired to | the group `nnfolder:IMPORTANT.YYYY.MMM'. If its From or To header | contains the string `boss', it will get expired to `nnfolder:Work'. `---- I never tried it, but fancy expiring may be worth investigating... hth Memnon