Gnus development mailing list
 help / color / mirror / Atom feed
From: Aharon Schkolnik <aharon@health.gov.il>
Subject: Re: Please help me renumber articles !
Date: 27 Jan 1997 17:37:13 +0200	[thread overview]
Message-ID: <nhgk36seu.fsf@healdb.matat.health.gov.il> (raw)
In-Reply-To: David Moore's message of 26 Jan 1997 12:56:29 -0800

>>>>> "David" == David Moore <dmoore@UCSD.EDU> writes:

    David> Aharon Schkolnik <aharon@health.gov.il> writes:
    >> After a while, exiting a group gets slow. In the past, I was
    >> told that this is because of the large range of article numbers
    >> in the group - caused by ticked articles. I was told that the
    >> thing to do is to copy all the articles from the group to
    >> itself. That is what I did - using #, and G M. Everything goes
    >> fine, but it doesn't solve the problem. Here are the group
    >> parameters before and after:

    David> 	If you want all of the numbers back to 1, you can go
    David> into the group with `C-u SPC', turn off threading with `T
    David> T', sort the articles in a reasonable order `C-c C-s C-n'
    David> then using `C-u ### B m' refile everything into a _new_
    David> group (where ### is large enough to cover all of the
    David> articles).  Then you can go and rename & remove the
    David> original group, and then rename the new group to the old
    David> name.


I don't know why it is necessary to turn off threading, and to sort
the articles. I skipped this step. I moved all the articles to a
temporary group (B m), renamed the original to something else, and
then renamed the temporary group to the original name - worked
fine. However, I was wondering if it would be possible to DELETE the
original after moving all the articles out of it, and then rename the
temporary group to the original name ? I guess the question is: is
there a way to DELETE a group ? (not just change its level)


    David> 	If you just want the group compacted, but not starting
    David> at article number 1, you can just refile into the same
    David> group rather than a new one.


Would that speed up the expiration ? I think it still would leave one
big hole - no ?


    David> 	Oh, and if you use the cache, be careful that
    David> everything works right.  I think I've noticed that renaming
    David> a group doesn't always rename the cache.


_YES_ - it seems I had accidently cached an article in one of my mail
groups - that screws up the whole thing ! It seems that when you
rename your temporary group back to the original name, it finds the
cached article, and incorporates it. This can cause a large hole. I
think this may be considered a bug - I guess renaming a group should
rename its cache.


    David> Anyone have better thoughts on this?  Considering how slow
    David> total-expire currently gets with groups with lots of holes,
    David> maybe a safe compaction routine should be added to Gnus
    David> itself.


Yes Yes Yes. Please Please Please. I spend far too much time
compacting my groups (or alternately waiting for the expiration
process on groups with lots of holes). 


-- 
  The day is short, and the work is great,     |   Aharon Schkolnik
  and the laborers are lazy, and the reward    |   Aharon@Health.Gov.IL
  is great, and the Master of the house is     |
  impatient. - Ethics Of The Fathers Ch. 2     |


  reply	other threads:[~1997-01-27 15:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-26 10:39 Aharon Schkolnik
1997-01-26 20:56 ` David Moore
1997-01-27 15:37   ` Aharon Schkolnik [this message]
1997-01-26 22:02 St. Suika Fenderson Roberts
1997-01-27  7:59 ` Kai Grossjohann
1997-01-27 17:23 St. Suika Fenderson Roberts

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nhgk36seu.fsf@healdb.matat.health.gov.il \
    --to=aharon@health.gov.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).