+2002-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * lisp/nnheader.el (std11-field-value): Fix regexp.
+
2002-02-15 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus-art.el (gnus-treat-display-grey-xface): Default to nil
(if (match-beginning 2)
(progn
(setq grey t)
- (push (cons (string-to-number (match-string 2))
+ (push (cons (- (string-to-number (match-string 2)))
(mail-header-field-value))
x-faces))
(push (cons 0 (mail-header-field-value)) x-faces)))
(dolist (x-face (prog1
- (nreverse (sort x-faces
- 'car-less-than-car))
+ (sort x-faces 'car-less-than-car)
(setq x-faces nil)))
(push (cdr x-face) x-faces)))
(while (gnus-article-goto-header "X-Face")
(std11-extract-addresses-components string)))
;; Should keep track of `rfc2047-field-value' in rfc2047.el.
- (defun-maybe std11-field-value (&optional dont-include-last-newline)
+ (defun std11-field-value (&optional dont-include-last-newline)
"Return the value of the field at point. If the optional argument is
given, the return value will not contain the last newline."
(let ((begin (point))
(unless (eobp)
(while (and (memq (char-after) '(?\t ?\ ))
(zerop (forward-line -1))))
- (when (looking-at ".+:[\t\n ]+")
+ (when (looking-at "[^\t\n ]+:[\t\n ]+")
(goto-char (setq start (match-end 0)))
(forward-line 1)
(while (and (memq (char-after) '(?\t ?\ ))