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

Re: line count doesn't count attachments?



> No, sorry, the IMAP protocol only give out line counts when the MIME
> type is TEXT or MESSAGE.

> I'm using this summary line format

> (setq gnus-summary-line-format "%U%R%z%I%(%[%4L: %-20,20n%]%) (%c)
> %s\n")

> to give a better estimate of how big the article is.

Another way is to use %L for nn!imap and %c for nnimap which I
accomplished with

(add-hook gnus-select-group-hook 
 (lambda ()
  (if (eq (car gnus-current-select-method) 'nnimap)
      (setq gnus-summary-line-format
	    "%U%R%z%I%5N%[%c: %ub%-20,20f%] %(%s%)\n"))))

Where my default gnus-summary-line-format (for nnml, nntp and nnspool)
is

"%U%R%z%I%5N%[%4L: %ub%-20,20f%] %(%s%)\n"
-- 
Dave Goldberg
Post: The Mitre Corporation\MS B325\202 Burlington Rd.\Bedford, MA 01730
Phone: 781-271-3887
Email: dsg@mitre.org