Gnus development mailing list
 help / color / mirror / Atom feed
From: prj@po.cwru.edu (Paul Jarc)
Subject: Re: delete as moving to Trash
Date: Tue, 21 Aug 2001 01:22:23 -0400	[thread overview]
Message-ID: <m34rr2htqy.fsf@multivac.cwru.edu> (raw)
In-Reply-To: <87elq6pd9h.fsf@home.lab> (Peter Solodov's message of "Mon, 20 Aug 2001 18:39:22 -0400")

Peter Solodov <solodov@bigfoot.com> 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


  reply	other threads:[~2001-08-21  5:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-17 20:54 Per Bothner
2001-08-17 21:06 ` Paul Jarc
2001-08-20 15:18   ` Peter Solodov
2001-08-20 16:22     ` Paul Jarc
2001-08-20 22:39       ` Peter Solodov
2001-08-21  5:22         ` Paul Jarc [this message]
2001-08-17 21:30 ` Per Bothner

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=m34rr2htqy.fsf@multivac.cwru.edu \
    --to=prj@po.cwru.edu \
    /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).