info-gnus-english
[Top][All Lists]
Advanced

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

Size of an article?


From: François Fleuret
Subject: Size of an article?
Date: Wed, 19 May 2004 17:02:27 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Dear all,

I am using the following in my .gnus :

,------------------
| (defsubst kai-gnus-summary-line-message-size (header)
|   (let ((c (or (mail-header-chars header) 0)))
|     (cond ((< c 5120) "     ")
|           ((< c 1048576) (format "%4dK" (/ c 1024.0)))
|           (t (format "%4dM" (/ c 1048576.0))))))
| 
| (add-to-list 'gnus-summary-line-format-alist
|              '(?k (kai-gnus-summary-line-message-size gnus-tmp-header) ?s))
`------------------

So that %k in gnus-summary-line-format displays the size of an
article/mail only if it is greater than 5Ko. This used to work, but
does not work anymore. Actually it does work from time to time (like
one article out of 50).

Since I changed massively my .gnus I may have modified a critical
variable somewhere ...

Any idea ?

-- 
François Fleuret                              EPFL - CVLAB/LCN


reply via email to

[Prev in Thread] Current Thread [Next in Thread]