From: Per Bothner <per@bothner.com>
Cc: per@eureka.bothner.com
Subject: delete as moving to Trash
Date: 17 Aug 2001 13:54:54 -0700 [thread overview]
Message-ID: <m2ofpez9sx.fsf@eureka.bothner.com> (raw)
Something I didn't see covered in the FAQ:
In order to be more compatible with other mail readers who don't have
Gnus's notion of expiration (such as Mozilla), it seems to me it would
make sense to "delete" a message by moving it to a Trash folder. This
also has the advantage that when marks get lost, at least the deleted
messages stay in Trash, and it also makes it easier to look at
old/read messages without getting swamped by deleted messages.
The following seems to work for me:
(add-hook 'gnus-summary-mode-hook 'my-alter-summary-map)
(defun move-article-to-Trash (&optional n)
(interactive "P")
(gnus-summary-move-article n "Trash"))
(defun my-alter-summary-map ()
(local-set-key "d" 'move-article-to-Trash))
But perhaps there is a better way?
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/
next reply other threads:[~2001-08-17 20:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-17 20:54 Per Bothner [this message]
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
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=m2ofpez9sx.fsf@eureka.bothner.com \
--to=per@bothner.com \
--cc=per@eureka.bothner.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).