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

Peter Solodov <solodov@bigfoot.com> wrote:
> On Fri, 17 Aug 2001, Paul Jarc wrote:
>> Per Bothner <per@bothner.com> 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


  reply	other threads:[~2001-08-20 16: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 [this message]
2001-08-20 22:39       ` Peter Solodov
2001-08-21  5:22         ` Paul Jarc
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=m3hev2ya3n.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).