From: Peter Solodov <solodov@bigfoot.com>
Subject: Re: delete as moving to Trash
Date: Mon, 20 Aug 2001 18:39:22 -0400 [thread overview]
Message-ID: <87elq6pd9h.fsf@home.lab> (raw)
In-Reply-To: <m3hev2ya3n.fsf@multivac.cwru.edu> (prj@po.cwru.edu's message of "Mon, 20 Aug 2001 12:22:30 -0400")
On Mon, 20 Aug 2001, Paul Jarc wrote:
> 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.
Yes, my problem is a bit different. But just a little :-)
> 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.
> 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.
You sure haven't :-)
(lambda (&optional n)
(interactive "P")
(flet ((gnus-yes-or-no-p (args) t))
(gnus-summary-delete-article n)))
This is what you meant (I think). I'm no LISP guru, but the first
version didn't work :-)
>> 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.
It was in the initially proposed solution.
Peter.
next prev parent reply other threads:[~2001-08-20 22:39 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 [this message]
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=87elq6pd9h.fsf@home.lab \
--to=solodov@bigfoot.com \
/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).