From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: bojohan+news@dd.chalmers.se (=?iso-8859-1?q?Johan_Bockg=E5rd?=) Newsgroups: gmane.emacs.help Subject: Re: Gnus: mark-expirable vs. delete Date: Mon, 16 Jun 2003 03:03:20 +0200 Organization: Chalmers University of Technology, Sweden Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1055726061 13159 80.91.224.249 (16 Jun 2003 01:14:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 16 Jun 2003 01:14:21 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 16 03:14:18 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19RiZe-0003Q6-00 for ; Mon, 16 Jun 2003 03:14:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Rib8-0003fd-2r for gnu-help-gnu-emacs@m.gmane.org; Sun, 15 Jun 2003 21:15:50 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news-FFM2.ecrc.net!news.stupi.se!news.stupi.se!newsfeed.sunet.se!news01.sunet.se!dd.chalmers.se!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 64 Original-NNTP-Posting-Host: helm.dd.chalmers.se Mail-Copies-To: never User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (usg-unix-v) Cancel-Lock: sha1:/MxoyrPzCuypbwu33afYlDdSDlo= Original-Xref: shelby.stanford.edu gnu.emacs.help:114467 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10959 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10959 "Joe Casadonte" writes: > On Fri, 13 Jun 2003, Johan Bockgård wrote: >> >> You can delete them explicitly. >> [...] > > Close, but not quite what I want. And there's something strange with > it, too. > > What I was looking for was something to mark the message as > deletable, which I can sort of do with the process mark, but that > interferes with anything else I may be doing with the process mark. > It's not as nicely done as `gnus-summary-mark-as-expirable', IMHO. I > can live with this, though, as I don't often use the process mark > for other things. Yes, I have thought about this too. It might be nice to have. I think Pine does this--you mark messages for deletion and it deletes them when you exit. We could do something like (defun gnus-summary-mark-as-deletable (n) "Mark next N articles as deletable. If N is negative, mark backward instead." (interactive "p") ;; TODO: what MARK (character) should we use? (gnus-summary-mark-forward n MARK)) Then add a hook that (asks and then) deletes the marked messages when you exit summary. > The strange part kills this option for me, however. When I do > something like "C-u 200 RET" in the Group window (runs > `gnus-topic-select-group' or `gnus-group-select-group' with an > argument of 200), it seems to be counting those now-deleted articles > as part of the 200, and what I wind up with is some number less than > 200 (e.g. 200 => 36, 450 => 257). The whole point of this (for me) > was that when I went back looking for an old email, I didn't have to > sift through the cruft. Question 4.12: .............. The number of total messages in a group which Gnus displays in group buffer is by far to high, especially in mail groups. Is this a bug? Answer: No, that's a matter of design of Gnus, fixing this would mean reimplementation of major parts of Gnus' back ends. Gnus thinks "highest-article-number - lowest-article-number = total-number-of-articles". This works OK for Usenet groups, but if you delete and move many messages in mail groups, this fails. To cure the symptom, enter the group via `C-u RET' (this makes Gnus get all messages), then hit `M P b' to mark all messages and then say `B m name.of.group' to move all messages to the group they have been in before, they get new message numbers in this process and the count is right again (until you delete and move your mail to other groups again)." -- The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners. -- Ernst Jan Plugge