From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/37929 Path: main.gmane.org!not-for-mail From: Per Bothner Newsgroups: gmane.emacs.gnus.general Subject: delete as moving to Trash Date: 17 Aug 2001 13:54:54 -0700 Sender: larsi@quimbies.gnus.org Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035173595 18137 80.91.224.250 (21 Oct 2002 04:13:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:13:15 +0000 (UTC) Cc: per@eureka.bothner.com Return-Path: Return-Path: Original-Received: (qmail 7249 invoked from network); 17 Aug 2001 20:55:06 -0000 Original-Received: from quimbies.gnus.org (195.204.10.148) by gnus.org with SMTP; 17 Aug 2001 20:55:06 -0000 Original-Received: from larsi by quimbies.gnus.org with local (Exim 3.31 #1 (Debian)) id 15Xqde-0000gJ-00 for ; Fri, 17 Aug 2001 22:54:42 +0200 Resent-X-Now-Playing: HiM's _5-6 In Dub_: "Five" Resent-To: ding@gnus.org Resent-From: Lars Magne Ingebrigtsen Resent-Date: Fri, 17 Aug 2001 22:54:27 +0200 X-From-Line: per@bothner.com Sun Aug 17 13:54:54 2001 Original-Received: by hermes (mbox larsi) (with Cubic Circle's cucipop (v1.31 1998/05/13) Fri Aug 17 22:54:28 2001) X-From_: per@bothner.com Fri Aug 17 22:54:20 2001 Original-Received: from sclp3.sclp.com (sclp3.sclp.com [209.196.61.66]) by hermes.netfonds.no (8.10.1/8.9.3) with SMTP id f7HKsJa17088 for ; Fri, 17 Aug 2001 22:54:19 +0200 (CEST) Original-Received: (qmail 7234 invoked by alias); 17 Aug 2001 20:54:18 -0000 Original-Received: (qmail 7229 invoked from network); 17 Aug 2001 20:54:18 -0000 Original-Received: from adsl-216-102-199-253.dsl.snfc21.pacbell.net (HELO eureka.bothner.com) (@216.102.199.253) by gnus.org with SMTP; 17 Aug 2001 20:54:18 -0000 Original-Received: (from bothner@localhost) by eureka.bothner.com (8.11.2/8.11.2) id f7HKssA07619; Fri, 17 Aug 2001 13:54:54 -0700 X-Authentication-Warning: eureka.bothner.com: bothner set sender to per@bothner.com using -f Original-Sender: bothner@bothner.com Original-To: dings@gnus.org User-Agent: Gnus/5.090003 (Oort Gnus v0.03) XEmacs/21.4 (Academic Rigor) X-Content-Length: 830 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ Resent-Sender: Lars Magne Ingebrigtsen Original-Lines: 23 Xref: main.gmane.org gmane.emacs.gnus.general:37929 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:37929 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/