[Top][All Lists]

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

Missing headers in custom summary line format function

From: Jose A. Ortega Ruiz
Subject: Missing headers in custom summary line format function
Date: Sat, 12 Apr 2008 21:37:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)


I use a user format function in my gnus-summary-line-format to mark
whether my address is either in the To: or Cc:/Bcc: headers (like Gmail

  (defun gnus-user-format-function-j (headers)
    (let ((to (gnus-extra-header 'To headers)))
      (if (string-match *jao-mails* to)
          (if (string-match "," to) ">" "ยป")
          (if (or (string-match *jao-mails* (gnus-extra-header 'Cc headers))
                  (string-match *jao-mails* (gnus-extra-header 'BCc headers)))
              " "))))

As you can see, it depends on Cc/Bcc headers being present in the vector
(headers) received as argument. I've noticed that the headers received
by the format function never contain those headers (Emacs 23.0.6, Gnus
v5.13), so the mark '>' is never returned when my address is in Cc: or

So i was wondering: is the absence of those headers in the argument of
user format functions intended for some reason? Or is it a bug?

"There are three kinds of people: those who can count, and those who can't"

reply via email to

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