From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/3089 Path: news.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.gnus.user Subject: Re: Can I split messages based on their size? Date: Thu, 16 Oct 2003 17:46:18 +0200 Organization: http://purl.org/harder/ Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138669301 17586 80.91.229.2 (31 Jan 2006 01:01:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:01:41 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:31:41 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!news.tele.dk!news.tele.dk!small.news.tele.dk!not-for-mail Original-Newsgroups: gnu.emacs.gnus X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r; nurullah_akkaya@yahoo.com (Nurullah Akkaya) writes: > Jesper Harder wrote: >> >> You can define your own function: >> >> (defun my-> (size group) >> (when (> (buffer-size) size) group)) >> >> and then use element like >> >> (: my-> 100000 "too-big") > > thats realy intresting can u write a more complete function thx... Do you mean how to use it in your splitting rules? Here's an example: (setq nnmail-split-methods 'nnmail-split-fancy) (setq nnmail-split-fancy '(| (: my-> 100000 "too-big") ("to" "edri-news@edri.org" "edri-news") ("from" "bugzilla-daemon@mozilla.org" "Bugzilla") ;; etc. "other"))