From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/34493 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Re: Removing gaps by moving articles from group x to group x doesn't work Date: 31 Jan 2001 07:05:08 -0800 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87elxnjytm.fsf@lynx.ionific.com> <87hf2h3z57.fsf@lynx.ionific.com> <5b1ytlypsp.fsf@avocet.cs.rochester.edu> <87puh5c6ar.fsf@lynx.ionific.com> <87y9vshsyq.fsf@lynx.ionific.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035170410 30720 80.91.224.250 (21 Oct 2002 03:20:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:20:10 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by mailhost.sclp.com (Postfix) with ESMTP id E6F2FD049D for ; Wed, 31 Jan 2001 10:05:41 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.3/8.9.3) with ESMTP id JAC29970; Wed, 31 Jan 2001 09:05:38 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 31 Jan 2001 09:04:53 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id JAA19773 for ; Wed, 31 Jan 2001 09:04:42 -0600 (CST) Original-Received: from freedom.LABridge.com (home.LABridge.com [206.117.169.5]) by mailhost.sclp.com (Postfix) with ESMTP id 5292FD049D for ; Wed, 31 Jan 2001 10:05:12 -0500 (EST) Original-Received: from reader.local.lan (DSL02-049.LABridge.com [206.117.4.49]) by freedom.LABridge.com (8.8.8/8.8.8) with ESMTP id HAA00569 for ; Wed, 31 Jan 2001 07:05:36 -0800 Original-Received: (from reader@localhost) by reader.local.lan (8.11.0/8.11.0) id f0VF58w22022; Wed, 31 Jan 2001 07:05:08 -0800 X-Authentication-Warning: reader.local.lan: reader set sender to reader@newsguy.com using -f Original-To: The Gnus Mailing List In-Reply-To: <87y9vshsyq.fsf@lynx.ionific.com> (Hannu Koivisto's message of "31 Jan 2001 13:16:45 +0200") User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 39 Xref: main.gmane.org gmane.emacs.gnus.general:34493 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:34493 Hannu Koivisto writes: > Toby Speight writes: > > | Ah, you don't have holes in the numbering, then? Just that your > | ticked articles aren't contiguous? > > That's correct. > > | That's not the problem the renumbering aims to solve. > > Um, well, I didn't know that incontiguous ticked articles cause a > wrong article count to be displayed as well. So how should I fix > this problem, then? Hannu has clearly highlighted a long standing problem that has lead to hundreds, probably thousands of posts in the last few years concering the inaccurate message counts supplied by gnus. Seems there would be some easy way to reset that group count number. Especially in mail groups where the file numbers aren't as important. I'm probably overlooking obvious problems but it seems to me a simple call to `ls |wc -l' and then using that number to reset should be a handy command somewhere in mail group commands. Or maybe a secondary number could be shown that is the `real' external messages count kept separate from gnus counting scheme. How does one insert a user prompt into a simple `defun' I think I'd like to have one that does this: (defun hp-count-group () "Run ls |wc -l on selected group" (interactive) (shell-command "ls |wc -l" nil nil)) How would I insert something that prompts me for a group name in the above.