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

gnus-extra-headers and nnimap



I have

(setq gnus-summary-line-format "%U%R%z%I%(%[%d,%4k: %-15,15f%]%) %s\n")
(setq gnus-extra-headers '(To))
(setq nnmail-extra-headers gnus-extra-headers)
(setq gnus-ignored-from-addresses
      (concat "\\(kai.grossjohann@\\(cs\\|informatik\\).uni-dortmund.de\\|"
              "grossjohann@ls6.\\(cs\\|informatik\\).uni-dortmund.de\\|"
              "grossjohann@[a-z]+.\\(cs\\|informatik\\).uni-dortmund.de\\)"))

in my .gnus file and it used to do the right thing with nnml.  Now,
with nnimap, I get a strange effect: if I enter a group and it
contains messages from me, I see the From header in the summary
buffer.  If, however, the summary buffer contains a followup to one of
my messages, and I hit ^ to fetch my message, then *that* line shows
"->" and the To header in the summary.

FWIW, cached articles and those fetched with ^ show "0b" in the size
field where...

(defsubst kai-gnus-summary-line-message-size (header)
  (let ((c (or (mail-header-chars header) 0)))
    (cond ((< c 1024) (format "%db" c))
          ((< c (* 1024 1024)) (format "%dk" (/ c 1024)))
          (t (format "%dM" (/ c (* 1024 1024)))))))
(add-to-list 'gnus-summary-line-format-alist
             '(?k (kai-gnus-summary-line-message-size gnus-tmp-header) ?s))

... describes what "%4k" stands for in my summary line format.

Has anyone seen this?  Is it because of nnimap or because of pgnus
0.95?

kai
-- 
Life is hard and then you die.