Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Cor  <cor@clsnet.nl>
To: info-gnus-english@gnu.org
Subject: Re: How to deal with "Archive" and "delete" in gmail?
Date: Wed, 03 Apr 2013 14:33:24 +0000	[thread overview]
Message-ID: <87ip43elaj.fsf@ariadne.clsnet.nl> (raw)
In-Reply-To: <mailman.23374.1364987079.855.info-gnus-english@gnu.org>

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


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

       reply	other threads:[~2013-04-03 14:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.23374.1364987079.855.info-gnus-english@gnu.org>
2013-04-03 14:33 ` Cor [this message]
2013-04-04  8:12   ` Rainer M. Krug
     [not found]   ` <mailman.23488.1365063160.855.info-gnus-english@gnu.org>
2013-04-04 11:52     ` Cor
2013-04-03 11:04 Rainer M. Krug
2013-04-03 14:57 ` W. Greenhouse
2013-04-04  8:09   ` Rainer M. Krug
2013-04-04 14:37     ` W. Greenhouse
2013-04-05  8:46       ` Rainer M. Krug

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ip43elaj.fsf@ariadne.clsnet.nl \
    --to=cor@clsnet.nl \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).