From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16213 Path: news.gmane.org!not-for-mail From: Cor Newsgroups: gmane.emacs.gnus.user Subject: Re: How to deal with "Archive" and "delete" in gmail? Date: Thu, 04 Apr 2013 11:52:33 +0000 Organization: Clsnet Linux Systems Message-ID: <87eheqecn2.fsf@ariadne.clsnet.nl> 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 1365076838 2776 80.91.229.3 (4 Apr 2013 12:00:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Apr 2013 12:00:38 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Apr 04 14:01: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 1UNiqk-0007fe-2N for gegu-info-gnus-english@m.gmane.org; Thu, 04 Apr 2013 14:01:02 +0200 Original-Received: from localhost ([::1]:48245 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNiqK-00062C-VG for gegu-info-gnus-english@m.gmane.org; Thu, 04 Apr 2013 08:00:37 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post2.news.xs4all.nl!newszilla.xs4all.nl!not-for-mail Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:h2WygnUPBSTIaBywmkvqILTddps= Original-Lines: 70 Original-NNTP-Posting-Host: 213.84.183.106 Original-X-Trace: 1365076802 dreader34.news.xs4all.nl 592 213.84.183.106:44835 Original-Xref: usenet.stanford.edu gnu.emacs.gnus:87341 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:16213 Archived-At: The Feisty Youngster Rainer@krugs.de (Rainer M. Krug) scribbled this (selectively-snipped-or-not-p) stuff >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" "")))) >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. Yes, I do read mail in gnus. Gnus gets it mail (in linmux) from /var/spool/mail/user file and then the nnmail split metthos kicks in. to make a group in gnus ;; G > m name [enter] method: nnml [enter] sorting into a the destined is automatic. the "spam" group is my catch-all-other-mail-group. and you can set diverse mailheaders and or other regexes per group in: ;;;as an examples from my gnus.el file: ;; (setq gnus-posting-styles '((".*" ;; for normal newsgroups (From "Cor ") (Organization "Clsnet Linux Systems") (signature-file "~/.signature")) ;; for mail use ("nnml.private" (From "Cor ") (signature-file "~/.priv-sig")))) Hope it helps a bit. Cor -- Slaven hebben geen recht op zelfverdediging, mensen ook niet vlg de UN Dieren hebben recht op een gezonde plaats, mijn bord en het bos zijn dat Hier noemen een slecht jager vegetarier http://www.nerdstein.nl