From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38139 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: Tue, 21 Aug 2001 01:22:23 -0400 Organization: What did you have in mind? A short, blunt, human pyramid? Message-ID: References: <874rr2rc8w.fsf@home.lab> <87elq6pd9h.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 1035173766 19254 80.91.224.250 (21 Oct 2002 04:16:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:16:06 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 28568 invoked from network); 21 Aug 2001 05:22:24 -0000 Original-Received: from multivac.student.cwru.edu (HELO multivac.cwru.edu) (261@129.22.96.25) by gnus.org with SMTP; 21 Aug 2001 05:22:24 -0000 Original-Received: (qmail 13019 invoked by uid 500); 21 Aug 2001 05:22:45 -0000 Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Mail-Copies-To: never In-Reply-To: <87elq6pd9h.fsf@home.lab> (Peter Solodov's message of "Mon, 20 Aug 2001 18:39:22 -0400") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 Original-Lines: 20 Xref: main.gmane.org gmane.emacs.gnus.general:38139 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:38139 Peter Solodov wrote: > On Mon, 20 Aug 2001, Paul Jarc wrote: >> 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? > > I recall now. The problem is that I have special expiry-target. So > when I delete an article, it goes through the expiry process (is it > supposed to be like that?) and ends up in my archives, which is > clearly not what I want. So moving to trash is a perfect solution for > me. (defun move-article-to-trash (&optional n) (gnus-summary-move-article n "nnfoo:trash-group")) (define-key gnus-summary-mode-map [?\C-c ?d] 'move-article-to-trash) You could also do it as a keyboard macro. paul