* Losing G p (group params)
@ 2001-02-26 16:27 Harry Putnam
2001-02-26 16:33 ` Paul Jarc
0 siblings, 1 reply; 2+ messages in thread
From: Harry Putnam @ 2001-02-26 16:27 UTC (permalink / raw)
The following message is a courtesy copy of an article
that has been posted to gnu.emacs.gnus as well.
[ Message posted to gnu.emacs.gnus and ding list ]
It has happened to me on several occasions where I inadvertantly
either kill a group or groups and there by loose the group param
settings.
I do keep backups of .newsrc.eld but often don't notice the problem
until quite a lot of new material has been written to .newsrc.eld,
making bodily overwrite with backup a non starter. Meaning only the
tedious hand route will restore things.
Especially painful if you have to resort to `G c' (group customize) to
remind you how some things are written.
This information is neatly presented in `G p' buffers for editing, so
I wondered if the code that does that, could be made to loop thru all
groups and print out a file with the group params info listed like in
`G p' buffers, but with a few additions like:
GROUPNAME
existing `G p' code ...
existing `G p' code ...
existing `G p' code ...
[...]
--
GROUPNAME
existing `G p' code ...
existing `G p' code ...
existing `G p' code ...
[...]
--
[...] and onward
And have this handy list written to a file.
I'm thinking of a batch command running this daily or as often as
seems necessary, and keeping some number of these generated files on
hand.
Sections could just be yanked into a `G p' buffer to re-establish
settings in the event of a problem.
So, I guess my question is first would such a looping construct,
using existing code and editing, be a major undertaking? Or is this
something a lisp impaired hacker could concoct with a little help?
And secondly, if this would be a good addition to gnus armaments.
Something along the lines of `nnml-generate-nov-data-bases'
(`gnus-generate-group-parameters-list') could then be batched easily by
anyone who is as careless as me.
Maybe a similar function (`gnus-generate--group-edit-list'), for `G E'
information.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-02-26 16:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-26 16:27 Losing G p (group params) Harry Putnam
2001-02-26 16:33 ` Paul Jarc
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).