Gnus development mailing list
 help / color / mirror / Atom feed
* delete as moving to Trash
@ 2001-08-17 20:54 Per Bothner
  2001-08-17 21:06 ` Paul Jarc
  2001-08-17 21:30 ` Per Bothner
  0 siblings, 2 replies; 7+ messages in thread
From: Per Bothner @ 2001-08-17 20:54 UTC (permalink / raw)
  Cc: per

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/



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-08-21  5:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-17 20:54 delete as moving to Trash 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
2001-08-17 21:30 ` Per Bothner

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).