From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38119 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.emacs.gnus.general Subject: Re: delete as moving to Trash Date: Mon, 20 Aug 2001 12:22:30 -0400 Organization: What did you have in mind? A short, blunt, human pyramid? Message-ID: References: <874rr2rc8w.fsf@home.lab> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035173749 19138 80.91.224.250 (21 Oct 2002 04:15:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:15:49 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 10141 invoked from network); 20 Aug 2001 16:22:44 -0000 Original-Received: from multivac.student.cwru.edu (HELO multivac.cwru.edu) (261@129.22.96.25) by gnus.org with SMTP; 20 Aug 2001 16:22:44 -0000 Original-Received: (qmail 11375 invoked by uid 500); 20 Aug 2001 16:22:52 -0000 Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Mail-Copies-To: never In-Reply-To: <874rr2rc8w.fsf@home.lab> (Peter Solodov's message of "Mon, 20 Aug 2001 11:18:23 -0400") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 Original-Lines: 38 Xref: main.gmane.org gmane.emacs.gnus.general:38119 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:38119 Peter Solodov wrote: > On Fri, 17 Aug 2001, Paul Jarc wrote: >> Per Bothner wrote: >>> But perhaps there is a better way? >> >> Use a small expiry-wait, and set expiry-target to your Trash group. >> In the Trash group itself, use a larger expiry-wait and no >> expiry-target. > > This is not a better way. You're describing a problem different from Per's, so it's not surprising that my suggestion doesn't help you - it wasn't aimed at your problem. > The problem comes when I get some junk in my private mail > group. There's no nice way to get rid of it (I don't want it to saved > in archives). I have to either delete it with 'B DEL', which I don't > like, or move it to 'junk' group where it will be gone quite soon :-) So you want to apply different treatment to articles from the same group, but you don't like the existing key bindings for doing it? Why don't you just bind gnus-summary-delete-article to another key? Or, if you don't want to be prompted, bind this function: (lambda (&optional n) (interactive "P") (flet ((gnus-yes-or-no-p (lambda (&rest args) t))) (gnus-summary-delete-article n))) Or something like that. I've never used flet, so I'm not sure I'm doing that correctly. > P.S. 'd' shouldn't be used to move articles to trash folder. It isn't. It's used to mark an article as read. paul