From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56115 Path: main.gmane.org!not-for-mail From: Ed L Cashin Newsgroups: gmane.emacs.gnus.general Subject: Re: How to 'E' mark a group of messages? Date: Mon, 19 Jan 2004 12:52:52 -0500 Sender: ding-owner@lists.math.uh.edu Message-ID: <87vfn7zuyz.fsf@uga.edu> References: <76znfhxrwd.fsf@newjersey.ppllc.com> <87oevul8ww.fsf@amalthea.paradoxical.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1074575561 23790 80.91.224.253 (20 Jan 2004 05:12:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Jan 2004 05:12:41 +0000 (UTC) Original-X-From: ding-owner+M4655@lists.math.uh.edu Tue Jan 20 06:12:33 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AioBk-0006eT-00 for ; Tue, 20 Jan 2004 06:12:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AioB8-0001Sj-00; Mon, 19 Jan 2004 23:11:54 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Aie0c-0008I1-00 for ding@lists.math.uh.edu; Mon, 19 Jan 2004 12:20:22 -0600 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id 696173A0039 for ; Mon, 19 Jan 2004 12:20:21 -0600 (CST) Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Aie0Z-0004Rw-00 for ; Mon, 19 Jan 2004 19:20:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AidbY-00045o-00 for ; Mon, 19 Jan 2004 18:54:28 +0100 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AidbY-0003IW-00 for ; Mon, 19 Jan 2004 18:54:28 +0100 Original-Lines: 42 Original-X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.2 (i386-debian-linux-gnu) Cancel-Lock: sha1:maFVRffKLvi0s+PjOoku060tC5M= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56115 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56115 Josh Huber writes: > Jake Colman writes: > >> If I have a group of messages that are marked in some way and I want >> to make them all 'E' how do I do it? I did look at the various menu >> options but none of them seemed to be correct. >> >> I'd be doing this so that those messages will get deleted (if they >> are marked as 'E' they will eventually expire, right?). Is there >> some other (better) way to get those messages deleted? > > Process mark all messages in a group: > > M P A > > Delete all process marked messages: > > B del That's different from marking them with "E". Here's a function that I made for marking a region of articles as expired. There is probably a better way. (defun elc-summary-mark-region-as-expired (point mark all) "Mark all unread articles between point and mark as expired. If given a prefix, the behavior is the same. (Too lazy to look it up.)" (interactive "r\nP") (save-excursion (let (article) (goto-char point) (beginning-of-line) (while (<= (point) mark) (let ((article (gnus-summary-article-number))) (gnus-summary-mark-article article gnus-expirable-mark) (next-line 1)))))) -- --Ed L Cashin | PGP public key: ecashin@uga.edu | http://noserose.net/e/pgp/