all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* GNUs group article counts
@ 2016-06-15 20:46 Tory S. Anderson
  2016-06-15 21:27 ` allan gottlieb
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Tory S. Anderson @ 2016-06-15 20:46 UTC (permalink / raw)
  To: Emacs Help List

I have done some massive expiry work on some of my groups, to 
where now an exhaustive list of messages shows something like 
1100; however, when in group view and I tell it to enter the 
group, it is still telling me to choose up to 10x that number. I 
want to make sure I am clearing disc space and really optimizing 
things; how can I make the count correct, or do I need to do 
something more than expiration? 



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: GNUs group article counts
  2016-06-15 20:46 GNUs group article counts Tory S. Anderson
@ 2016-06-15 21:27 ` allan gottlieb
  2016-06-15 21:37   ` Emanuel Berg
  2016-06-15 21:28 ` Emanuel Berg
       [not found] ` <mailman.1567.1466026052.1216.help-gnu-emacs@gnu.org>
  2 siblings, 1 reply; 7+ messages in thread
From: allan gottlieb @ 2016-06-15 21:27 UTC (permalink / raw)
  To: help-gnu-emacs

On Wed, Jun 15 2016, Tory S. Anderson wrote:

> I have done some massive expiry work on some of my groups, to where
> now an exhaustive list of messages shows something like 1100; however,
> when in group view and I tell it to enter the group, it is still
> telling me to choose up to 10x that number. I want to make sure I am
> clearing disc space and really optimizing things; how can I make the
> count correct, or do I need to do something more than expiration? 

The problem is that the number that is 10x is calculated as

    highest article number  minus   lowest article number

So just removing articles in the middle doesn't change it.

There is a "global" command that I used once (but forgot its name)
that eliminates the holes in the numbers.

allan



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: GNUs group article counts
  2016-06-15 20:46 GNUs group article counts Tory S. Anderson
  2016-06-15 21:27 ` allan gottlieb
@ 2016-06-15 21:28 ` Emanuel Berg
       [not found] ` <mailman.1567.1466026052.1216.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 7+ messages in thread
From: Emanuel Berg @ 2016-06-15 21:28 UTC (permalink / raw)
  To: help-gnu-emacs

torys.anderson@gmail.com (Tory S. Anderson)
writes:

> I have done some massive expiry work on some
> of my groups, to where now an exhaustive list
> of messages shows something like 1100;
> however, when in group view and I tell it to
> enter the group, it is still telling me to
> choose up to 10x that number. I want to make
> sure I am clearing disc space and really
> optimizing things; how can I make the count
> correct, or do I need to do something more
> than expiration?

Well, first, it is Gnus, not "GNUs" (it is
a pun on "news" and GNU, I always thought).
There was a Gnus prior to Gnus, which was
called GNUS. Gnus was initially known as "ding"
(for "ding is not GNUS") but it didn't take.
All this obviously long before my time...

To try to answer your question, in the group
buffer, the number of *unread* articles in
a group should be indicated somewhere on the
line. Exactly where depends on you
`gnus-group-line-format' variable. You can
examine it and look for %N in the format
string. In the help, it says

    %N    Number of unread articles (integer)

Now, if you hit RET with point on a group, if
there are unread articles, those are what
you get.

But if there are no unread articles, then you
are prompted how many *old* articles to fetch,
as there is no such natural implication as it
is on the "unread" side of things!

And stop worrying about disc space.

-- 
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
                   - so far: 48 Blogomatic articles -                   




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: GNUs group article counts
  2016-06-15 21:27 ` allan gottlieb
@ 2016-06-15 21:37   ` Emanuel Berg
  0 siblings, 0 replies; 7+ messages in thread
From: Emanuel Berg @ 2016-06-15 21:37 UTC (permalink / raw)
  To: help-gnu-emacs

allan gottlieb <gottlieb@nyu.edu> writes:

> The problem is that the number that is 10x is
> calculated as
>
>     highest article number minus lowest
>     article number
>
> So just removing articles in the middle
> doesn't change it.

Like I said, stop worrying about disc space and
the problem disappears :)

-- 
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
                   - so far: 48 Blogomatic articles -                   




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: GNUs group article counts
       [not found] ` <mailman.1567.1466026052.1216.help-gnu-emacs@gnu.org>
@ 2016-06-16  3:05   ` Ted Zlatanov
  2016-06-17  4:31     ` allan gottlieb
  2016-07-22  3:20     ` gnus-group-compact-group and expiry allan gottlieb
  0 siblings, 2 replies; 7+ messages in thread
From: Ted Zlatanov @ 2016-06-16  3:05 UTC (permalink / raw)
  To: help-gnu-emacs

On Wed, 15 Jun 2016 17:27:20 -0400 allan gottlieb <gottlieb@nyu.edu> wrote: 

ag> On Wed, Jun 15 2016, Tory S. Anderson wrote:
>> I have done some massive expiry work on some of my groups, to where
>> now an exhaustive list of messages shows something like 1100; however,
>> when in group view and I tell it to enter the group, it is still
>> telling me to choose up to 10x that number. I want to make sure I am
>> clearing disc space and really optimizing things; how can I make the
>> count correct, or do I need to do something more than expiration? 

ag> The problem is that the number that is 10x is calculated as

ag>     highest article number  minus   lowest article number

ag> So just removing articles in the middle doesn't change it.

ag> There is a "global" command that I used once (but forgot its name)
ag> that eliminates the holes in the numbers.

gnus-group-compact-group is an interactive compiled Lisp function in
‘gnus-group.el’.

(gnus-group-compact-group GROUP)

Compact the current group.
Compaction means removing gaps between article numbers.  Hence, this
operation is only meaningful for back ends using one file per article
(e.g. nnml).

Note: currently only implemented in nnml.

HTH
Ted


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: GNUs group article counts
  2016-06-16  3:05   ` Ted Zlatanov
@ 2016-06-17  4:31     ` allan gottlieb
  2016-07-22  3:20     ` gnus-group-compact-group and expiry allan gottlieb
  1 sibling, 0 replies; 7+ messages in thread
From: allan gottlieb @ 2016-06-17  4:31 UTC (permalink / raw)
  To: help-gnu-emacs

On Wed, Jun 15 2016, Ted Zlatanov wrote:

> On Wed, 15 Jun 2016 17:27:20 -0400 allan gottlieb <gottlieb@nyu.edu> wrote: 
>
> ag> On Wed, Jun 15 2016, Tory S. Anderson wrote:
>>> I have done some massive expiry work on some of my groups, to where
>>> now an exhaustive list of messages shows something like 1100; however,
>>> when in group view and I tell it to enter the group, it is still
>>> telling me to choose up to 10x that number. I want to make sure I am
>>> clearing disc space and really optimizing things; how can I make the
>>> count correct, or do I need to do something more than expiration? 
>
> ag> The problem is that the number that is 10x is calculated as
>
> ag>     highest article number  minus   lowest article number
>
> ag> So just removing articles in the middle doesn't change it.
>
> ag> There is a "global" command that I used once (but forgot its name)
> ag> that eliminates the holes in the numbers.
>
> gnus-group-compact-group is an interactive compiled Lisp function in
> ‘gnus-group.el’.
>
> (gnus-group-compact-group GROUP)
>
> Compact the current group.
> Compaction means removing gaps between article numbers.  Hence, this
> operation is only meaningful for back ends using one file per article
> (e.g. nnml).
>
> Note: currently only implemented in nnml.
>
> HTH
> Ted

 (gnus-group-compact-group GROUP) works great.  Thanks.

allan



^ permalink raw reply	[flat|nested] 7+ messages in thread

* gnus-group-compact-group and expiry
  2016-06-16  3:05   ` Ted Zlatanov
  2016-06-17  4:31     ` allan gottlieb
@ 2016-07-22  3:20     ` allan gottlieb
  1 sibling, 0 replies; 7+ messages in thread
From: allan gottlieb @ 2016-07-22  3:20 UTC (permalink / raw)
  To: Ted Zlatanov; +Cc: help-gnu-emacs

On Wed, Jun 15 2016, Ted Zlatanov wrote:

> On Wed, 15 Jun 2016 17:27:20 -0400 allan gottlieb <gottlieb@nyu.edu> wrote: 
>
> ag> There is a "global" command that I used once (but forgot its name)
> ag> that eliminates the holes in the numbers.
>
> gnus-group-compact-group is an interactive compiled Lisp function in
> ‘gnus-group.el’.
>
> (gnus-group-compact-group GROUP)
>
> Compact the current group.
> Compaction means removing gaps between article numbers.  Hence, this
> operation is only meaningful for back ends using one file per article
> (e.g. nnml).
>
> Note: currently only implemented in nnml.
>
> HTH
> Ted

As I mentioned previously gnus-group-compact-group works great for
eliminating gaps in article numbers.

I realized that, since gnus-group-compact-group copies the files, those
previously marked E might not expire before nnmail-expiry-wait days
after running gnus-group-compact-group.  But that is not happening.

In my main mail group I have a large number of messages that arrived in
May and were marked E.  On 16 June I ran gnus-group-compact-group.
Since nnmail-expiry-wait is 31 (see below) they should have disappeared
a few days ago but have not.

Any help would be appreciated.

allan

------------------------------------

nnmail-expiry-wait is a variable defined in `nnmail.el'.
Its value is 31
Original value was 7

-------------------------------------------------------

(gnus-summary-goto-article 1000)

selects

27-MayE  [ 277: J. P. MORGAN SECURITIES] PIMCO FUNDS Important Information

-------------------------------

gottlieb@E7450-wired ~ $ ls -l ~/Mail/MAIL/1000
-rw------- 1 gottlieb gottlieb 11091 Jun 16 18:18 /home/gottlieb/Mail/MAIL/1000



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-07-22  3:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-15 20:46 GNUs group article counts Tory S. Anderson
2016-06-15 21:27 ` allan gottlieb
2016-06-15 21:37   ` Emanuel Berg
2016-06-15 21:28 ` Emanuel Berg
     [not found] ` <mailman.1567.1466026052.1216.help-gnu-emacs@gnu.org>
2016-06-16  3:05   ` Ted Zlatanov
2016-06-17  4:31     ` allan gottlieb
2016-07-22  3:20     ` gnus-group-compact-group and expiry allan gottlieb

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.