From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16243 Path: news.gmane.org!not-for-mail From: Rainer@krugs.de (Rainer M. Krug) Newsgroups: gmane.emacs.gnus.user Subject: Re: Move message of a given year into new group Date: Wed, 10 Apr 2013 12:28:32 +0200 Message-ID: <87fvyyvfvz.fsf@krugs.de> References: <87ip3xtc7w.fsf@krugs.de> <87vc7u3hg2.fsf@mean.albasani.net> 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 1365589722 24724 80.91.229.3 (10 Apr 2013 10:28:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Apr 2013 10:28:42 +0000 (UTC) Cc: info-gnus-english@gnu.org To: Memnon Anon Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Apr 10 12:28:45 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 1UPsGj-0005KI-7G for gegu-info-gnus-english@m.gmane.org; Wed, 10 Apr 2013 12:28:45 +0200 Original-Received: from localhost ([::1]:55950 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPsGi-0001y9-7B for gegu-info-gnus-english@m.gmane.org; Wed, 10 Apr 2013 06:28:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPsGd-0001y0-FQ for info-gnus-english@gnu.org; Wed, 10 Apr 2013 06:28:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPsGa-0002dK-8z for info-gnus-english@gnu.org; Wed, 10 Apr 2013 06:28:39 -0400 Original-Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:35746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPsGa-0002d4-2b for info-gnus-english@gnu.org; Wed, 10 Apr 2013 06:28:36 -0400 Original-Received: by mail-wi0-f169.google.com with SMTP id c10so5968534wiw.4 for ; Wed, 10 Apr 2013 03:28:35 -0700 (PDT) X-Received: by 10.194.11.70 with SMTP id o6mr2379293wjb.29.1365589715160; Wed, 10 Apr 2013 03:28:35 -0700 (PDT) Original-Received: from ecolmod ([2a01:e35:8baa:b070:a021:423c:6b72:6b1a]) by mx.google.com with ESMTPS id ej8sm30862200wib.9.2013.04.10.03.28.33 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 10 Apr 2013 03:28:34 -0700 (PDT) In-Reply-To: <87vc7u3hg2.fsf@mean.albasani.net> (Memnon Anon's message of "Wed, 10 Apr 2013 08:45:26 +0000 (UTC)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::229 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:16243 Archived-At: Memnon Anon writes: > 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... Absolutely - and this looks exactly like what I would need. I would then have to change my habit of Expiring=deleting (moving to [Gmail]\Bin folder) to Expiring=Archiving - which makes much more sense anyway as E is pressed easily. Deleting I could then with B m Thanks a lot - I will investigate, Rainer > > hth > Memnon > > > _______________________________________________ > info-gnus-english mailing list > info-gnus-english@gnu.org > https://lists.gnu.org/mailman/listinfo/info-gnus-english <#secure method=pgpmime mode=sign> -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug