From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66839 Path: news.gmane.org!not-for-mail From: Zlatko Calusic Newsgroups: gmane.emacs.gnus.general Subject: Re: Deleting Messages from an IMAP Folder Date: Thu, 17 Apr 2008 21:25:42 +0200 Message-ID: <87zlrsxozt.fsf@magla.zg.iskon.hr> References: <76od8gwosh.fsf@dev-d01.ppllc.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1208461970 11206 80.91.229.12 (17 Apr 2008 19:52:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Apr 2008 19:52:50 +0000 (UTC) Cc: ding@gnus.org To: Greg Troxel Original-X-From: ding-owner+M15321@lists.math.uh.edu Thu Apr 17 21:53:26 2008 connect(): Connection refused Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1JmZlO-0007GY-6V for ding-account@gmane.org; Thu, 17 Apr 2008 21:27:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1JmZk0-000141-7g; Thu, 17 Apr 2008 14:25:52 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1JmZjy-00013l-TQ for ding@lists.math.uh.edu; Thu, 17 Apr 2008 14:25:50 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JmZjs-0000NP-Pi for ding@lists.math.uh.edu; Thu, 17 Apr 2008 14:25:50 -0500 Original-Received: from lan.iskon.hr ([213.191.128.133] helo=magla.zg.iskon.hr) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JmZk3-0007tY-00 for ; Thu, 17 Apr 2008 21:25:55 +0200 Original-Received: by magla.zg.iskon.hr (Postfix, from userid 1000) id D51FB3FCF9; Thu, 17 Apr 2008 21:25:42 +0200 (CEST) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEUAAABNIxCTRh9lLxXY 0cuva0MHBQScUCmCOxmpWTL///8gEAk8Gw1gSXqgAAACWElEQVQ4y43TQW/TMBQAYHPpGS9CVCKX uRt1BJfVEhi0yxiwqTuh1VrbU7nkEi7rqLxMuzQB1UhcqFQFc0PrhLRxmYamSu6lbJUmmh+F02nE 6UDiHSLFX+JnP/uBo38E+B8o/xX6z3fO7RGr3ICViUpiWJ+B/sRtuJ6WcRb622cAuDqUqmfgYOIC kJvCOAMbSkMinjrZM0BnuA41vGPCmf421g8X5NSwnMKh641oc1nFGj21l8LXxuuOlJgIEU489SuF Y/fSlzLi3JeFM3WRwkv3bqRFR2/rnvfDAK/kyx5jkjE2rzKQL+rxaWybsOHlubyS2ryZ4/hNwJHf k9JnbCc24PtpJ2qiYpHrJFvLxlQHAwHtmIbQKrHaR2Mfh4M2nKjztvJGc7WHT41aDUJbqcG+ck9I b9+En+14GM9t6uO9bO3XU2Al3IbWkyqEedT7VEmhWuLNAC3WkHAY+1wr/4H1gEvZXWQyqUm3m/6x TpEvu71prWSzlcIzHDgSO6yr68v9dyl8wwKh8ByiIkfIXzA2WBAC4xg6SIdjrKovRIB2l/My0hAY +zh6oacihAaSI6dTNu/uLsLEIuRDhN5mL3U1KEBClkoRWpgBIQQRSHD+JQub+krZowAjVJ4BqoVq 6Mw0TjUvirwVIfx+FpYIDYMmEgs3AI5saFG6N9Nq1bYdq2Fs0WxzrpziEMZqckKDigmrOb0kCG3b KnYeVVJYa+QwCgmBscWdB+DiGtYaAFAkNEAaaQAXV2e+qtsVDBIgGvz7SfeOy0fgVTIObuGkVuRx 5N+evoPT3+mFUpdZ4E28AAAAAElFTkSuQmCC In-Reply-To: (Greg Troxel's message of "Wed, 16 Apr 2008 19:22:47 -0400") User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux) X-Spam-Score: -2.5 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66839 Archived-At: Greg Troxel writes: > How do I delete a read message from an IMAP folder? if I press the DEL > key, the 'R' becomes an 'r' but the message does not actually get > deleted when I exit the folder. > > I read mail in IMAP, and want to use for my inbox the explicit delete > approach, as opposed to the auto-expirable approach. And, I want things > to go away immediately, not be marked expirable, since the point of > deleting is to stop seeing them. I also use thunderbird against the > same server. > > So I have the following in my .emacs, more or less (plus scoring > functions that you or someone might find useful, but aren't relevant to > your question): > > > (setq gdt-trash-newsgroup "nnimap+my.server.name:Trash") > > (defun gdt-gnus-move-to-trash () > (interactive) > (gnus-summary-move-article nil gdt-trash-newsgroup)) > > (defalias 'score-subject-fuzzy-lower-next > (read-kbd-macro "Lsft RET n")) > (defalias 'score-subject-fuzzy-lower-nextscore > (read-kbd-macro "Lsft RET ,")) > > (add-hook > 'gnus-summary-mode-hook > (lambda () > (local-set-key "k" 'score-subject-fuzzy-lower-next) > (local-set-key " " 'score-subject-fuzzy-lower-nextscore) > (local-set-key "d" 'gdt-gnus-move-to-trash))) > Thank you Greg, I was looking for some simple solution like this, too. -- Zlatko