[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nnimap-split-rule





Is there a reason that nnimap-split-rule does not support the value of a 
function, as nnmail-split-methods do?

I think it would just mean wrapping the (dolist ...) clause with a:

(setq to-groups
  (if (functionp rules)
      (funcall rules)
    (dolist ...)))

and probably moving the

	      (or nnimap-split-crosspost
		  (throw 'split-done to-groups)))))))))

logic out of the dolist also....  But I'm not really sure...

That would be very nice functionality, I would think.

Soren