Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* bulk deletion of email
@ 2004-02-25  4:23 Prateek Sadhukhan
  2004-02-25 10:32 ` Reiner Steib
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Prateek Sadhukhan @ 2004-02-25  4:23 UTC (permalink / raw)



Hi,
Is there a way in Gnus to do the following:

I.
When I read mail I want to mark mails I want to delete in the 
group. Then when I finish reading, in one single command delete 
all the marked mails.

II.
An extension to this is that I mark mails in various groups and 
then while exiting Gnus I give the delete command and it deletes 
all marked mails from all groups.

Thanks and Regards
Prateek


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: bulk deletion of email
  2004-02-25  4:23 bulk deletion of email Prateek Sadhukhan
@ 2004-02-25 10:32 ` Reiner Steib
       [not found]   ` <87hdxf9wjc.fsf@rechner1.ddorf.de>
       [not found] ` <m3k72bb6rh.fsf@fed1.frank-schmitt.net>
  2004-02-25 16:08 ` johnsu01
  2 siblings, 1 reply; 6+ messages in thread
From: Reiner Steib @ 2004-02-25 10:32 UTC (permalink / raw)


On Wed, Feb 25 2004, Prateek Sadhukhan wrote:

> I.
> When I read mail I want to mark mails I want to delete in the 
> group. Then when I finish reading, in one single command delete 
> all the marked mails.

Setting `nnmail-expiry-wait' to 'immediate and marking the mails with
`E' should do this.  Read (info "(gnus)Expiring Mail") for details.

,----[ (info "(gnus)Expiring Mail") ]
|    The `nnmail-expiry-wait' variable and `nnmail-expiry-wait-function'
| function can either be a number (not necessarily an integer) or one of
| the symbols `immediate' or `never'.
`----

> II.
> An extension to this is that I mark mails in various groups and 
> then while exiting Gnus I give the delete command and it deletes 
> all marked mails from all groups.

,----[ (info "(gnus)Group Maintenance") ]
| `C-c C-M-x'
|      Run all expirable articles in all groups through the expiry process
|      (`gnus-group-expire-all-groups').
`----

... together with `nnmail-expiry-wait' set to 1 day or so is
_approximately_ the same.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: bulk deletion of email
       [not found]   ` <87hdxf9wjc.fsf@rechner1.ddorf.de>
@ 2004-02-25 13:56     ` Reiner Steib
       [not found]     ` <m2brnn6vuv.fsf@catbert.dok.org>
  1 sibling, 0 replies; 6+ messages in thread
From: Reiner Steib @ 2004-02-25 13:56 UTC (permalink / raw)


On Wed, Feb 25 2004, Fabian Braennstroem wrote:

> Reiner Steib <4.uce.03.r.s@nurfuerspam.de> writes:
[...]
>> Setting `nnmail-expiry-wait' to 'immediate and marking the mails with
>> `E' should do this.  Read (info "(gnus)Expiring Mail") for details.
>
> Is it not enough to mark the mails with '#' and delete them
> afterwards with 'B Backspace'?

Well, there's always more than one way in Gnus. :-)

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: bulk deletion of email
       [not found] ` <m3k72bb6rh.fsf@fed1.frank-schmitt.net>
@ 2004-02-25 14:51   ` Prateek Sadhukhan
  0 siblings, 0 replies; 6+ messages in thread
From: Prateek Sadhukhan @ 2004-02-25 14:51 UTC (permalink / raw)



Thanks thats exactly what I wanted :-)

|--==> "Frank" == Frank Schmitt <usereplyto2004@Frank-Schmitt.net> writes:

    >>I.
    >>When I read mail I want to mark mails I want to delete in the 
    >>group. Then when I finish reading, in one single command delete 
    >>all the marked mails.

    Frank> Mark the articles to be deleted with '#', delete them before leaving the
    Frank> group with 'B Del'.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: bulk deletion of email
  2004-02-25  4:23 bulk deletion of email Prateek Sadhukhan
  2004-02-25 10:32 ` Reiner Steib
       [not found] ` <m3k72bb6rh.fsf@fed1.frank-schmitt.net>
@ 2004-02-25 16:08 ` johnsu01
  2 siblings, 0 replies; 6+ messages in thread
From: johnsu01 @ 2004-02-25 16:08 UTC (permalink / raw)


Prateek Sadhukhan <psadhukhan@lucent.com> writes:

> Hi,
> Is there a way in Gnus to do the following:
>
> I.
> When I read mail I want to mark mails I want to delete in the 
> group. Then when I finish reading, in one single command delete 
> all the marked mails.
>
> II.
> An extension to this is that I mark mails in various groups and 
> then while exiting Gnus I give the delete command and it deletes 
> all marked mails from all groups.
>
> Thanks and Regards
> Prateek

Someone else can give you a better answer I'm sure, but for #1, you
can just mark all of the mails with the process mark---hit # in the
summary buffer. Then when you want to delete them, hit B <del>. It
will delete all marked mails. Unmark a mail with M-#. If you have 10
mails in a row you want to mark, do C-u 10 #, and it will mark the
next 10 mails. 

Not sure about II. I think there is a specific command to expire a
mail, then, depending on what your expiration settings are, it could
end up being deleted. 


-johnsu01


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: bulk deletion of email
       [not found]     ` <m2brnn6vuv.fsf@catbert.dok.org>
@ 2004-02-25 23:14       ` pkd
  0 siblings, 0 replies; 6+ messages in thread
From: pkd @ 2004-02-25 23:14 UTC (permalink / raw)


On Wed, 25 Feb 2004, Chris Green wrote:

> Fabian Braennstroem <f.braennstroem@gmx.de> writes:
> 
>> Is it not enough to mark the mails with '#' and delete them
>> afterwards with 'B Backspace'?
> 
> # often bites me big time when going through a group.  I'll mark
> things like spam and move them to a training group and then see a mail
> from Mom and hit F.

i delete mails i marked with `d'. you could tune this function to fit your
needs:

(defun gnus-summary-delete-r-articles ()
  (interactive)
  (unless (eq (count-lines (point-min) (point-max)) (gnus-summary-limit-to-marks "r"))
    (goto-line 1)
    (gnus-summary-delete-article (count-lines (point-min) (point-max))))
  (gnus-summary-pop-limit))
    
(eval-after-load "gnus-sum"
  '(progn
     (define-key gnus-summary-mode-map "Bd" 'gnus-summary-delete-r-articles)))


> Then I have a nice *reply* buffer with the body of everyone of those
> spams in it.
> 
> A delete me now flag would probably also help so that deletion can be
> separate from expiry but I'm sure there's a reason this hasn't been
> done.

-- 
pat metheny, gary burton, chick corea,  roy haynes, dave holland - like minds/country roads


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-02-25 23:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-25  4:23 bulk deletion of email Prateek Sadhukhan
2004-02-25 10:32 ` Reiner Steib
     [not found]   ` <87hdxf9wjc.fsf@rechner1.ddorf.de>
2004-02-25 13:56     ` Reiner Steib
     [not found]     ` <m2brnn6vuv.fsf@catbert.dok.org>
2004-02-25 23:14       ` pkd
     [not found] ` <m3k72bb6rh.fsf@fed1.frank-schmitt.net>
2004-02-25 14:51   ` Prateek Sadhukhan
2004-02-25 16:08 ` johnsu01

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).