Gnus development mailing list
 help / color / mirror / Atom feed
* periodic archiving of groups?
@ 2001-01-19  0:20 Anil B. Somayaji
  2001-01-19  0:32 ` ShengHuo ZHU
  2001-01-19 12:16 ` Kai Großjohann
  0 siblings, 2 replies; 24+ messages in thread
From: Anil B. Somayaji @ 2001-01-19  0:20 UTC (permalink / raw)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a friend who gets a lot of email, uses gnus, and wants to
regularly archive her mail.  For example, she'd like messages in
group1 archived every month, group2 archived every year, etc.  When
entering a group, you would just see the un-archived messages by
default, but there should be some easy way to look at the older
archives.

Is there an easy way to do this in gnus?  Right now we're manually
creating new groups and moving old messages into those groups - of
course, this is not very pleasant.  Anyone have any better
suggestions?

Thanks.

  --Anil

- -- 
Anil Somayaji (soma@cs.unm.edu)
http://www.cs.unm.edu/~soma
+1 505 872 3150
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)

iEYEARECAAYFAjpniDkACgkQXOpXEmNZ3SeIBACeJe7J7GD3BuTFXSxhShOSEiqp
3MsAnRq1VSs5poaaRNFnc8EW/LTqMmTL
=Qspw
-----END PGP SIGNATURE-----



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

* Re: periodic archiving of groups?
  2001-01-19  0:20 periodic archiving of groups? Anil B. Somayaji
@ 2001-01-19  0:32 ` ShengHuo ZHU
  2001-01-19  1:48   ` Small user interface patch to gpg.el Colin Marquardt
  2001-01-19  3:56   ` periodic archiving of groups? Alan Shutko
  2001-01-19 12:16 ` Kai Großjohann
  1 sibling, 2 replies; 24+ messages in thread
From: ShengHuo ZHU @ 2001-01-19  0:32 UTC (permalink / raw)


soma@cs.unm.edu (Anil B. Somayaji) writes:

> I have a friend who gets a lot of email, uses gnus, and wants to
> regularly archive her mail.  For example, she'd like messages in
> group1 archived every month, group2 archived every year, etc.  When
> entering a group, you would just see the un-archived messages by
> default, but there should be some easy way to look at the older
> archives.
> 
> Is there an easy way to do this in gnus?  Right now we're manually
> creating new groups and moving old messages into those groups - of
> course, this is not very pleasant.  Anyone have any better
> suggestions?

Maybe nnmail-expiry-target helps. See info node "Expiring Mail" for
the details.

ShengHuo



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

* Small user interface patch to gpg.el
  2001-01-19  0:32 ` ShengHuo ZHU
@ 2001-01-19  1:48   ` Colin Marquardt
  2001-01-19  2:04     ` ShengHuo ZHU
  2001-01-19  2:54     ` Agh! X-Draft-From: header! (was: Small user interface patch to gpg.el) Colin Marquardt
  2001-01-19  3:56   ` periodic archiving of groups? Alan Shutko
  1 sibling, 2 replies; 24+ messages in thread
From: Colin Marquardt @ 2001-01-19  1:48 UTC (permalink / raw)



*** /tmp/gpg.el~	Thu Jan 18 17:47:08 2001
--- /tmp/gpg.el	Thu Jan 18 17:47:08 2001
***************
*** 632,638 ****
        ;; temporary file resides in a world-writable directory.
        (unless (or (memq system-type '(windows-nt cygwin32 win32 w32 mswindows))
  		  (eq (file-modes gpg-temp-directory) 448)) ; mode 0700
! 	(error "Directory for temporary files must have mode 0700."))
        (setq name (make-temp-name name))
        (let ((mode (default-file-modes)))
  	(unwind-protect
--- 632,638 ----
        ;; temporary file resides in a world-writable directory.
        (unless (or (memq system-type '(windows-nt cygwin32 win32 w32 mswindows))
  		  (eq (file-modes gpg-temp-directory) 448)) ; mode 0700
! 	(error "Directory for temporary files (%s) must have mode 0700." gpg-temp-directory))
        (setq name (make-temp-name name))
        (let ((mode (default-file-modes)))
  	(unwind-protect



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

* Re: Small user interface patch to gpg.el
  2001-01-19  1:48   ` Small user interface patch to gpg.el Colin Marquardt
@ 2001-01-19  2:04     ` ShengHuo ZHU
  2001-01-19  2:54     ` Agh! X-Draft-From: header! (was: Small user interface patch to gpg.el) Colin Marquardt
  1 sibling, 0 replies; 24+ messages in thread
From: ShengHuo ZHU @ 2001-01-19  2:04 UTC (permalink / raw)


Colin Marquardt <colin.marquardt@usa.alcatel.com> writes:

> *** /tmp/gpg.el~	Thu Jan 18 17:47:08 2001
> --- /tmp/gpg.el	Thu Jan 18 17:47:08 2001
> ***************
> *** 632,638 ****
>         ;; temporary file resides in a world-writable directory.
>         (unless (or (memq system-type '(windows-nt cygwin32 win32 w32 mswindows))
>   		  (eq (file-modes gpg-temp-directory) 448)) ; mode 0700
> ! 	(error "Directory for temporary files must have mode 0700."))
>         (setq name (make-temp-name name))
>         (let ((mode (default-file-modes)))
>   	(unwind-protect
> --- 632,638 ----
>         ;; temporary file resides in a world-writable directory.
>         (unless (or (memq system-type '(windows-nt cygwin32 win32 w32 mswindows))
>   		  (eq (file-modes gpg-temp-directory) 448)) ; mode 0700
> ! 	(error "Directory for temporary files (%s) must have mode 0700." gpg-temp-directory))
>         (setq name (make-temp-name name))
>         (let ((mode (default-file-modes)))
>   	(unwind-protect

Committed.

ShengHuo



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

* Agh! X-Draft-From: header! (was: Small user interface patch to gpg.el)
  2001-01-19  1:48   ` Small user interface patch to gpg.el Colin Marquardt
  2001-01-19  2:04     ` ShengHuo ZHU
@ 2001-01-19  2:54     ` Colin Marquardt
  2001-01-19 12:18       ` Kai Großjohann
  1 sibling, 1 reply; 24+ messages in thread
From: Colin Marquardt @ 2001-01-19  2:54 UTC (permalink / raw)


I just noticed that all my mails and postings have an X-Draft-From:
header (this one too I guess, since I will not manually remove it).

| To: ding@gnus.org
| Date: 18 Jan 2001 17:48:01 -0800
| X-Draft-From: ("nnimap+nsmail:INBOX" 9422)

I am running the gnus-CURRENT-20010116 snapshot, and I generate the
headers when starting to compose the message (it escapes me ATM what
the variable to tweak that is). I can see the header linger up
there, soon to be sent out with the rest of the message. See? Here it
goe




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

* Re: periodic archiving of groups?
  2001-01-19  0:32 ` ShengHuo ZHU
  2001-01-19  1:48   ` Small user interface patch to gpg.el Colin Marquardt
@ 2001-01-19  3:56   ` Alan Shutko
  2001-01-19  4:07     ` Alan Shutko
  1 sibling, 1 reply; 24+ messages in thread
From: Alan Shutko @ 2001-01-19  3:56 UTC (permalink / raw)


ShengHuo ZHU <zsh@cs.rochester.edu> writes:

> Maybe nnmail-expiry-target helps. See info node "Expiring Mail" for
> the details.

Thanks!  I don't know if it helps the original poster, but it's just
what _I've_ been looking for.

-- 
Alan Shutko <ats@acm.org> - In a variety of flavors!
Spelling is a lossed art.



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

* Re: periodic archiving of groups?
  2001-01-19  3:56   ` periodic archiving of groups? Alan Shutko
@ 2001-01-19  4:07     ` Alan Shutko
  2001-01-19 10:26       ` Oystein Viggen
  0 siblings, 1 reply; 24+ messages in thread
From: Alan Shutko @ 2001-01-19  4:07 UTC (permalink / raw)


Alan Shutko <ats@acm.org> writes:

> ShengHuo ZHU <zsh@cs.rochester.edu> writes:
> 
> > Maybe nnmail-expiry-target helps. See info node "Expiring Mail" for
> > the details.
> 
> Thanks!  I don't know if it helps the original poster, but it's just
> what _I've_ been looking for.

Actually, I've realized I'm looking for something slightly different.
I ideally want two levels of expiry.  I'd like to be able to mark
articles E and have them go away (in seven days or whatever) and then
have pretty much everything get archived after 30.  Hmmmm....

-- 
Alan Shutko <ats@acm.org> - In a variety of flavors!
Calm down, it's *only* ones and zeroes.



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

* Re: periodic archiving of groups?
  2001-01-19  4:07     ` Alan Shutko
@ 2001-01-19 10:26       ` Oystein Viggen
  2001-01-19 14:32         ` Alan Shutko
  2001-01-22 19:28         ` Rob Browning
  0 siblings, 2 replies; 24+ messages in thread
From: Oystein Viggen @ 2001-01-19 10:26 UTC (permalink / raw)


Alan Shutko wrote: 

> Actually, I've realized I'm looking for something slightly different.
> I ideally want two levels of expiry.  I'd like to be able to mark
> articles E and have them go away (in seven days or whatever) and then
> have pretty much everything get archived after 30.  Hmmmm....

Couldn't you use group names that end in something like -year-month, so
that new groups are created every month?  A friend of mine uses a system 
like this and is very happy with it.

Oystein
-- 
If it ain't broke, don't break it.



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

* Re: periodic archiving of groups?
  2001-01-19  0:20 periodic archiving of groups? Anil B. Somayaji
  2001-01-19  0:32 ` ShengHuo ZHU
@ 2001-01-19 12:16 ` Kai Großjohann
  2001-01-22 19:24   ` Rob Browning
  1 sibling, 1 reply; 24+ messages in thread
From: Kai Großjohann @ 2001-01-19 12:16 UTC (permalink / raw)
  Cc: ding

With the right backend and the right settings, you might not have to
move articles to a different group at all.  For example,

(setq gnus-fetch-old-headers 500)

and using nnml should get you by.  The old articles will be there,
marked as read, but they won't be displayed by default.

kai
-- 
Be indiscrete.  Do it continuously.



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

* Re: Agh! X-Draft-From: header! (was: Small user interface patch to gpg.el)
  2001-01-19  2:54     ` Agh! X-Draft-From: header! (was: Small user interface patch to gpg.el) Colin Marquardt
@ 2001-01-19 12:18       ` Kai Großjohann
  2001-01-19 12:37         ` Karl Kleinpaste
  0 siblings, 1 reply; 24+ messages in thread
From: Kai Großjohann @ 2001-01-19 12:18 UTC (permalink / raw)
  Cc: ding

The X-Draft-From header is used by Gnus to note state for saving
drafts.  It is used to apply the right posting style even if you start
a message, then save it as a draft (using `C-c C-d'), then send it
later on.

kai
-- 
Be indiscrete.  Do it continuously.



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

* Re: Agh! X-Draft-From: header! (was: Small user interface patch to gpg.el)
  2001-01-19 12:18       ` Kai Großjohann
@ 2001-01-19 12:37         ` Karl Kleinpaste
  2001-01-19 13:13           ` Kai Großjohann
  0 siblings, 1 reply; 24+ messages in thread
From: Karl Kleinpaste @ 2001-01-19 12:37 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
> The X-Draft-From header is used by Gnus to note state for saving
> drafts.

Yes, but it's supposed to be left only in a Gcc'd copy, and never sent
out on the wire.  Weirdly, Colin's mail still has it in what gets sent
out.  That's a problem, but I don't share it (X-D-F is gone from what
goes out the wire for me), so I don't know how he would fix it.



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

* Re: Agh! X-Draft-From: header! (was: Small user interface patch to gpg.el)
  2001-01-19 12:37         ` Karl Kleinpaste
@ 2001-01-19 13:13           ` Kai Großjohann
  2001-01-19 18:07             ` Colin Marquardt
  0 siblings, 1 reply; 24+ messages in thread
From: Kai Großjohann @ 2001-01-19 13:13 UTC (permalink / raw)
  Cc: ding

On 19 Jan 2001, Karl Kleinpaste wrote:

> Yes, but it's supposed to be left only in a Gcc'd copy, and never
> sent out on the wire.

Hm.  See message-ignored-mail-headers and
message-ignored-news-headers.  Maybe Colin has frobbed these?

kai
-- 
Be indiscrete.  Do it continuously.



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

* Re: periodic archiving of groups?
  2001-01-19 10:26       ` Oystein Viggen
@ 2001-01-19 14:32         ` Alan Shutko
  2001-01-19 16:53           ` Oystein Viggen
  2001-01-22 19:28         ` Rob Browning
  1 sibling, 1 reply; 24+ messages in thread
From: Alan Shutko @ 2001-01-19 14:32 UTC (permalink / raw)


Oystein Viggen <oysteivi@tihlde.org> writes:

> Couldn't you use group names that end in something like -year-month, so
> that new groups are created every month?  A friend of mine uses a system 
> like this and is very happy with it.

I do, but I'd like some things to get deleted, not archived.  For
example, some spam does find its way into my inbox, and a lot of my
work email is of only short-term interest.

I can do an explicit B DEL to delete messages, but it would be nice if
things I marked as E would be deleted after some time, but everything
alive after a longer amount of time got archived.  Sort of a
"total-archive".

-- 
Alan Shutko <ats@acm.org> - In a variety of flavors!
Nothing is ever a total loss; it can always serve as a bad example.



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

* Re: periodic archiving of groups?
  2001-01-19 14:32         ` Alan Shutko
@ 2001-01-19 16:53           ` Oystein Viggen
  2001-01-19 17:42             ` Alan Shutko
  0 siblings, 1 reply; 24+ messages in thread
From: Oystein Viggen @ 2001-01-19 16:53 UTC (permalink / raw)


Alan Shutko wrote: 

> I can do an explicit B DEL to delete messages, but it would be nice if
> things I marked as E would be deleted after some time, but everything

You of course know of gnus-group-expire-all-groups?

Oystein
-- 
If it ain't broke, don't break it.



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

* Re: Agh! X-Draft-From: header! (was: Small user interface patch to gpg.el)
  2001-01-19 18:07             ` Colin Marquardt
@ 2001-01-19 17:40               ` Simon Josefsson
  2001-01-19 19:43               ` S/MIME buttons Colin Marquardt
  1 sibling, 0 replies; 24+ messages in thread
From: Simon Josefsson @ 2001-01-19 17:40 UTC (permalink / raw)
  Cc: ding

Colin Marquardt <colin.marquardt@usa.alcatel.com> writes:

> BTW, it looks to me that "X-Draft-From:" should also have the
> beginning-of-line in front of its regexp part. A small bug?

Fixed.




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

* Re: periodic archiving of groups?
  2001-01-19 16:53           ` Oystein Viggen
@ 2001-01-19 17:42             ` Alan Shutko
  0 siblings, 0 replies; 24+ messages in thread
From: Alan Shutko @ 2001-01-19 17:42 UTC (permalink / raw)


Oystein Viggen <oysteivi@tihlde.org> writes:

> You of course know of gnus-group-expire-all-groups?

Yes.  But it doesn't help.  That's because I want expiration to do two
different things in the same group.

-- 
Alan Shutko <ats@acm.org> - In a variety of flavors!
It's clever, but is it art?



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

* Re: Agh! X-Draft-From: header! (was: Small user interface patch to gpg.el)
  2001-01-19 13:13           ` Kai Großjohann
@ 2001-01-19 18:07             ` Colin Marquardt
  2001-01-19 17:40               ` Simon Josefsson
  2001-01-19 19:43               ` S/MIME buttons Colin Marquardt
  0 siblings, 2 replies; 24+ messages in thread
From: Colin Marquardt @ 2001-01-19 18:07 UTC (permalink / raw)


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

> On 19 Jan 2001, Karl Kleinpaste wrote:
> 
> > Yes, but it's supposed to be left only in a Gcc'd copy, and never
> > sent out on the wire.
> 
> Hm.  See message-ignored-mail-headers and
> message-ignored-news-headers.  Maybe Colin has frobbed these?


Ah, indeed, in both their property lists I see:

  standard-value: ("^[GF]cc:\\|^Resent-Fcc:\\|^Xref:\\|X-Draft-From:")
  saved-value:    ("^[GF]cc:\\|^Resent-Fcc:\\|^Xref:\\|^X-Complaints-To:")

so I must have changed it somehow/somewhen, thanks.

BTW, it looks to me that "X-Draft-From:" should also have the
beginning-of-line in front of its regexp part. A small bug?

Colin



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

* S/MIME buttons
  2001-01-19 18:07             ` Colin Marquardt
  2001-01-19 17:40               ` Simon Josefsson
@ 2001-01-19 19:43               ` Colin Marquardt
  2001-01-20  0:05                 ` Simon Josefsson
  1 sibling, 1 reply; 24+ messages in thread
From: Colin Marquardt @ 2001-01-19 19:43 UTC (permalink / raw)


Hi,

I'm not sure how well my gnus-CURRENT-20010116 snapshot is supposed
to treat S/MIME signatures, but when opening a posting, the buttons
look like this:


[[S/MIME Signed Part:Undecided]]
[...]
[2. S/MIME Cryptographic Signature --- application/x-pkcs7-signature; smime.p7s]...

[[End of S/MIME Signed Part]]


Now, when I press button-2 on the first button, nothing happens,
except that the "[2. S/MIME Cryptographic Signature ..." becomes a
"[4. S/MIME Cryptographic Signature ...". This number increases by 2
every time I press the first button.
If you need the raw posting, I can provide it.

If S/MIME is not (yet) supported, can it say so in the echo area?

Cheers,
  Colin



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

* Re: S/MIME buttons
  2001-01-19 19:43               ` S/MIME buttons Colin Marquardt
@ 2001-01-20  0:05                 ` Simon Josefsson
  2001-01-20  0:15                   ` ShengHuo ZHU
  2001-01-20  0:40                   ` Colin Marquardt
  0 siblings, 2 replies; 24+ messages in thread
From: Simon Josefsson @ 2001-01-20  0:05 UTC (permalink / raw)
  Cc: ding

Colin Marquardt <colin.marquardt@usa.alcatel.com> writes:

> Now, when I press button-2 on the first button, nothing happens,
> except that the "[2. S/MIME Cryptographic Signature ..." becomes a
> "[4. S/MIME Cryptographic Signature ...". This number increases by 2
> every time I press the first button.

No error?  Do `W s' from the summary buffer behave the same?

I commited a bug fix to be able to button-2 on the button rather than
using `W s'.

Do you have "openssl" (OpenSSL 0.9.6) in your path?

I remember seeing the increasing-mime-part-number problem before, but
I thought it was fixed for long now.

> If you need the raw posting, I can provide it.

Forward it to me and I'll have a look.  But it's probably some other
problem.




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

* Re: S/MIME buttons
  2001-01-20  0:05                 ` Simon Josefsson
@ 2001-01-20  0:15                   ` ShengHuo ZHU
  2001-01-20  0:40                   ` Colin Marquardt
  1 sibling, 0 replies; 24+ messages in thread
From: ShengHuo ZHU @ 2001-01-20  0:15 UTC (permalink / raw)


Simon Josefsson <sj@extundo.com> writes:

> Colin Marquardt <colin.marquardt@usa.alcatel.com> writes:
> 
> > Now, when I press button-2 on the first button, nothing happens,
> > except that the "[2. S/MIME Cryptographic Signature ..." becomes a
> > "[4. S/MIME Cryptographic Signature ...". This number increases by 2
> > every time I press the first button.

I think we should hide the signature.

> No error?  Do `W s' from the summary buffer behave the same?
> 
> I commited a bug fix to be able to button-2 on the button rather than
> using `W s'.
> 
> Do you have "openssl" (OpenSSL 0.9.6) in your path?
> 
> I remember seeing the increasing-mime-part-number problem before, but
> I thought it was fixed for long now.

Because the part is reparsed, the part number increases, one for the
text part, one for signature.  It is not easy to fix.

ShengHuo



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

* Re: S/MIME buttons
  2001-01-20  0:05                 ` Simon Josefsson
  2001-01-20  0:15                   ` ShengHuo ZHU
@ 2001-01-20  0:40                   ` Colin Marquardt
  1 sibling, 0 replies; 24+ messages in thread
From: Colin Marquardt @ 2001-01-20  0:40 UTC (permalink / raw)


Simon Josefsson <sj@extundo.com> writes:

> Colin Marquardt <colin.marquardt@usa.alcatel.com> writes:
> 
> > Now, when I press button-2 on the first button, nothing happens,
> > except that the "[2. S/MIME Cryptographic Signature ..." becomes a
> > "[4. S/MIME Cryptographic Signature ...". This number increases by 2
> > every time I press the first button.
> 
> No error?  Do `W s' from the summary buffer behave the same?

No error with `W s' too. I explicitly looked into the 
" *Message-Log*" buffer (this is XEmacs 21.1.9).

> Do you have "openssl" (OpenSSL 0.9.6) in your path?

Uhm, no, and I cannot compile it (some problem in my environment that
I cannot fix).

Could it give an error message if openssl is not available (or is
this what you expect to see?).

> > If you need the raw posting, I can provide it.
> 
> Forward it to me and I'll have a look.  But it's probably some other
> problem.

Will do.

Thanks,
  Colin



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

* Re: periodic archiving of groups?
  2001-01-19 12:16 ` Kai Großjohann
@ 2001-01-22 19:24   ` Rob Browning
  0 siblings, 0 replies; 24+ messages in thread
From: Rob Browning @ 2001-01-22 19:24 UTC (permalink / raw)
  Cc: Anil B. Somayaji, ding

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

> and using nnml should get you by.  The old articles will be there,
> marked as read, but they won't be displayed by default.

But this falls down once you get over about 10000 articles, at least
on linux, using nnml and ext2...

It's painfully slow at that point.

-- 
Rob Browning <rlb@cs.utexas.edu> PGP=E80E0D04F521A094 532B97F5D64E3930



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

* Re: periodic archiving of groups?
  2001-01-19 10:26       ` Oystein Viggen
  2001-01-19 14:32         ` Alan Shutko
@ 2001-01-22 19:28         ` Rob Browning
  2001-01-22 21:03           ` Harry Putnam
  1 sibling, 1 reply; 24+ messages in thread
From: Rob Browning @ 2001-01-22 19:28 UTC (permalink / raw)
  Cc: ding

Oystein Viggen <oysteivi@tihlde.org> writes:

> Couldn't you use group names that end in something like -year-month,
> so that new groups are created every month?  A friend of mine uses a
> system like this and is very happy with it.

For me, this wouldn't be optimal.  I don't want a new group to get
created at the beginning of every month.  When that happens, all
of a sudden, I've got an empty group with no context for the current
incoming messages.

What I'd like to be able to say is "every month, archive the messages
from the month that's 6 months ago into a new group".

I wouldn't mind having to do this manually, though it'd be really nice
to have an automated way to handle it.

I might be interested in writing the elisp for this if someone could
get me pointed in the right direction (I'd want to base the splitting
on the actual message date, not the article numbers...)

-- 
Rob Browning <rlb@cs.utexas.edu> PGP=E80E0D04F521A094 532B97F5D64E3930



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

* Re: periodic archiving of groups?
  2001-01-22 19:28         ` Rob Browning
@ 2001-01-22 21:03           ` Harry Putnam
  0 siblings, 0 replies; 24+ messages in thread
From: Harry Putnam @ 2001-01-22 21:03 UTC (permalink / raw)
  Cc: Oystein Viggen, ding

Rob Browning <rlb@cs.utexas.edu> writes:

> I wouldn't mind having to do this manually, though it'd be really nice
> to have an automated way to handle it.
> 
> I might be interested in writing the elisp for this if someone could
> get me pointed in the right direction (I'd want to base the splitting
> on the actual message date, not the article numbers...)

The elisp for most of it is already written.  You seem to be talking
of nnml groups here (judging from previous post).  You can do this by
writing a separtate set of split rules and keeping them in a separate
file.  When you want to do this archiving you would load that file
which would override the split in .gnus.  Then enter the subject
group with C-u <RET> mark all but the last mnths messages by using the
limit `/ t' features then respool them according to your newly loaded
rules.

The new rules will look like:
(setq nnmail-split-methods 
  '(("SOMEGROUP_FEB-00" "^Date:.*Feb.*2000") 
     ("SOMEGROUP_MAR-00" "^Date:.*Mar.*2000")
etc etc
When done have gnus reread ~/.gnus or restart, to reload the original
split urules then back to business as usual.

You'll probably need to run `nnml-generate-nov-databases' since some
groups will have been severely truncated.  


etc etc



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

end of thread, other threads:[~2001-01-22 21:03 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-19  0:20 periodic archiving of groups? Anil B. Somayaji
2001-01-19  0:32 ` ShengHuo ZHU
2001-01-19  1:48   ` Small user interface patch to gpg.el Colin Marquardt
2001-01-19  2:04     ` ShengHuo ZHU
2001-01-19  2:54     ` Agh! X-Draft-From: header! (was: Small user interface patch to gpg.el) Colin Marquardt
2001-01-19 12:18       ` Kai Großjohann
2001-01-19 12:37         ` Karl Kleinpaste
2001-01-19 13:13           ` Kai Großjohann
2001-01-19 18:07             ` Colin Marquardt
2001-01-19 17:40               ` Simon Josefsson
2001-01-19 19:43               ` S/MIME buttons Colin Marquardt
2001-01-20  0:05                 ` Simon Josefsson
2001-01-20  0:15                   ` ShengHuo ZHU
2001-01-20  0:40                   ` Colin Marquardt
2001-01-19  3:56   ` periodic archiving of groups? Alan Shutko
2001-01-19  4:07     ` Alan Shutko
2001-01-19 10:26       ` Oystein Viggen
2001-01-19 14:32         ` Alan Shutko
2001-01-19 16:53           ` Oystein Viggen
2001-01-19 17:42             ` Alan Shutko
2001-01-22 19:28         ` Rob Browning
2001-01-22 21:03           ` Harry Putnam
2001-01-19 12:16 ` Kai Großjohann
2001-01-22 19:24   ` Rob Browning

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).