From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16212 Path: news.gmane.org!not-for-mail From: Rainer@krugs.de (Rainer M. Krug) Newsgroups: gmane.emacs.gnus.user Subject: Re: How to deal with "Archive" and "delete" in gmail? Date: Thu, 04 Apr 2013 10:12:26 +0200 Message-ID: <87zjxer9xx.fsf@krugs.de> References: <87ip43elaj.fsf@ariadne.clsnet.nl> 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 1365063158 23532 80.91.229.3 (4 Apr 2013 08:12:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Apr 2013 08:12:38 +0000 (UTC) Cc: info-gnus-english@gnu.org To: Cor Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Apr 04 10:13:06 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 1UNfI8-0000GC-Ku for gegu-info-gnus-english@m.gmane.org; Thu, 04 Apr 2013 10:13:04 +0200 Original-Received: from localhost ([::1]:39891 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNfHj-0002YI-PL for gegu-info-gnus-english@m.gmane.org; Thu, 04 Apr 2013 04:12:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53980) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNfHe-0002XN-0c for info-gnus-english@gnu.org; Thu, 04 Apr 2013 04:12:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNfHZ-00051r-Td for info-gnus-english@gnu.org; Thu, 04 Apr 2013 04:12:33 -0400 Original-Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]:55950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNfHZ-00051K-L8 for info-gnus-english@gnu.org; Thu, 04 Apr 2013 04:12:29 -0400 Original-Received: by mail-wi0-f175.google.com with SMTP id c10so4420880wiw.2 for ; Thu, 04 Apr 2013 01:12:29 -0700 (PDT) X-Received: by 10.194.103.72 with SMTP id fu8mr7729759wjb.42.1365063148960; Thu, 04 Apr 2013 01:12:28 -0700 (PDT) Original-Received: from ecolmod ([2a01:e35:8baa:b070:f52e:a187:546f:1d99]) by mx.google.com with ESMTPS id bj9sm29502293wib.4.2013.04.04.01.12.27 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 04 Apr 2013 01:12:28 -0700 (PDT) In-Reply-To: <87ip43elaj.fsf@ariadne.clsnet.nl> (cor@clsnet.nl's message of "Wed, 03 Apr 2013 14:33:24 +0000") 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::22f 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:16212 Archived-At: Cor writes: > The Feisty Youngster Rainer@krugs.de (Rainer M. Krug) > scribbled this (selectively-snipped-or-not-p) stuff > >> >>In contrast, "Deleting" can be achieved by moving the message to the >>folder [gmail]\bin (or what it is called in the locale one is using). >> >>Now I am using Expire to move the emails to the bin folder, i.e. to >>delete them. But is there something similar I could use to Archive them? >>especially archiving several message becomes a pain. > > if you use something like this to sort mail to read in gnus: > > ;; (setq nnmail-split-methods > '( > ("cron" "^Subject: cron:.*") > ("cvs" "^Subject: \\[CVS\\]") > ("rootmail" "^From: root@ ") > ... > ("spam" "")))) > > > ;;;;;; Expiring junk > > (setq auto-expire t) > (setq gnus-inhibit-user-auto-expire nil) > (setq gnus-auto-expirable-newsgroups "nnml.*") > (setq nnmail-expiry-wait-function > (lambda (group) > (cond ((string= "spam" group ) 1) > ; ... > ;; deleting a message after 1 day > ((string= "private" group ) 'never) > ((string= "slackware" group ) 'never) > ;; never deleting a message > ; ... > (t 7)))) > ;;all aother groups are deleted after 7 days > I assume this is automatically splitting the messages - correct? I am actually looking for something to do it manually. I wil loo into the automatic version later, but not that applicable as I am using gnus mainly for email. Thanks, Rainer > > Cor <#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