Gnus development mailing list
 help / color / mirror / Atom feed
* How to split on content-length?
@ 2003-09-23  8:54 Tom Koelman
  2003-09-23 18:41 ` Hanak David
  2003-09-24  1:20 ` Jesper Harder
  0 siblings, 2 replies; 5+ messages in thread
From: Tom Koelman @ 2003-09-23  8:54 UTC (permalink / raw)



Hi,

I am using regular splitting to sort my mail in a lot of groups. Now I
would like to add a group containing all the "big" mails, with big
being defined as, say, bigger than 140k (Swen anyone?). I guess I
should write a function now to do that, because I don't think I can
use a regular expression to express that I want to split if
X-Content-Length: is followed by a number bigger dan 143360, but I
don't understand the doc. It says:

      The second element can also be a function.  In that case, it
      will be called narrowed to the headers with the first element of
      the rule as the argument.  It should return a non-`nil' value if
      it thinks that the mail belongs in that group.

Does this mean the second argument will contain the headers?

Tom




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

end of thread, other threads:[~2003-09-24 11:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-23  8:54 How to split on content-length? Tom Koelman
2003-09-23 18:41 ` Hanak David
2003-09-24  1:20 ` Jesper Harder
2003-09-24  6:44   ` Tom Koelman
2003-09-24 11:00     ` Ted Zlatanov

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