Gnus development mailing list
 help / color / mirror / Atom feed
From: Lloyd Zusman <ljz@asfast.com>
Subject: Re: Packing nnml folders...
Date: 28 Jul 2001 12:08:54 -0400	[thread overview]
Message-ID: <ygeu1zxhw89.fsf@asfast.com> (raw)
In-Reply-To: <vaf8zh9uw7d.fsf@INBOX.auto.gnus.tok.lucy.cs.uni-dortmund.de>

Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> On Fri, 27 Jul 2001, Jon Allen Boone wrote:
> 
>> ;;; Proposed:  Add a new function nnml-pack-directory to nnml.el 
>> ;;;
>> ;;; Purpose:  This function will renumber articles within a directory so
>> ;;;                   that they are densely numbered starting from
>> ;;;                   number 1. 
> 
> This is not easily done from the backend, since Gnus stores article
> numbers in ~/.newsrc.eld.
> 
> Doing the following is fairly simple and could be written into a
> function; why bother with the hard stuff?
> 
> M-x set-variable RET gnus-large-newsgroup RET nil RET
> C-u RET
> M P a
> B m <insert-group-name-here> RET
> q
> M-x set-variable RET gnus-large-newsgroup RET <old-value> RET

I tried this, and it doesn't renumber the articles from 1.  It just
repacks them to a range starting one higher than the highest article
number of the previous range (as expected).  And besides,
`gnus-large-newsgroup' is already set to nil for me.


Is there a function that will automatically copy all of the newsgroup
customization settings (i.e., the "G c" information) from one group to
another?  If so, then this proposed "repacking from 1" function could
follow the steps I outlined in my previous message, but before
deleting the original group, it could copy its customization settings
to the new group.

As soon as I figure out how to mass-copy the customization settings,
I'll write the function that does this "repacking from 1" operation
for nnml groups.

Any ideas?


> kai
> -- 
> ~/.signature: No such file or directory


-- 
 Lloyd Zusman
 ljz@asfast.com


  reply	other threads:[~2001-07-28 16:08 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-27 17:17 Jon Allen Boone
2001-07-27 20:22 ` Kai Großjohann
2001-07-28  0:47   ` Lloyd Zusman
2001-07-28  1:43     ` Jon Allen Boone
2001-07-28  2:13       ` Paul Jarc
2001-07-28  3:12         ` Jon Allen Boone
2001-07-28  6:30           ` Paul Jarc
2001-07-28 11:31           ` Kai Großjohann
2001-07-28 16:08             ` Lloyd Zusman [this message]
2001-07-28 18:38               ` Kai Großjohann
2001-07-28 19:02                 ` Lloyd Zusman
2001-07-28 21:20                   ` Kai Großjohann
2001-07-28 21:37                     ` Lloyd Zusman
2001-07-28 21:04               ` Paul Jarc
2001-07-29  2:18                 ` Lloyd Zusman
2001-07-29 19:01                   ` Lloyd Zusman
2001-07-29 20:58                   ` Kai Großjohann
2001-07-29 22:40                     ` Lloyd Zusman
2001-07-28 11:28     ` Kai Großjohann

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=ygeu1zxhw89.fsf@asfast.com \
    --to=ljz@asfast.com \
    /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).