* gnus-sum.el (gnus-summary-insert-line)
authorShengHuo ZHU <zsh@cs.rochester.edu>
Fri, 24 Aug 2001 19:22:16 +0000 (19:22 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Fri, 24 Aug 2001 19:22:16 +0000 (19:22 +0000)
(gnus-summary-prepare-threads): gnus-tmp-lines should be a string.
From Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>

(nnrss-retrieve-headers): Lines number is -1.

lisp/ChangeLog
lisp/gnus-sum.el
lisp/nnrss.el

index 228ecfb..59779a4 100644 (file)
@@ -1,8 +1,13 @@
 2001-08-24 12:00:00  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
+       * gnus-sum.el (gnus-summary-insert-line) 
+       (gnus-summary-prepare-threads): gnus-tmp-lines should be a string.
+       From Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
+
        * gnus-spec.el (gnus-correct-substring): Take optional END.
 
        * nnrss.el (nnrss-request-article): Remove \n.
+       (nnrss-retrieve-headers): Lines number is -1.
 
 2001-08-24  Simon Josefsson  <jas@extundo.com>
 
index 51760dd..5c6e41d 100644 (file)
@@ -2974,8 +2974,9 @@ buffer that was in action when the last article was fetched."
       (setq gnus-tmp-name gnus-tmp-from))
     (unless (numberp gnus-tmp-lines)
       (setq gnus-tmp-lines -1))
-    (when (= gnus-tmp-lines -1)
-      (setq gnus-tmp-lines "?"))
+    (if (= gnus-tmp-lines -1)
+       (setq gnus-tmp-lines "?")
+      (setq gnus-tmp-lines (number-to-string gnus-tmp-lines)))
     (gnus-put-text-property
      (point)
      (progn (eval gnus-summary-line-format-spec) (point))
@@ -4386,8 +4387,9 @@ or a straight list of headers."
              (setq gnus-tmp-name gnus-tmp-from))
            (unless (numberp gnus-tmp-lines)
              (setq gnus-tmp-lines -1))
-           (when (= gnus-tmp-lines -1)
-             (setq gnus-tmp-lines "?"))
+           (if (= gnus-tmp-lines -1)
+               (setq gnus-tmp-lines "?")
+             (setq gnus-tmp-lines (number-to-string gnus-tmp-lines)))
            (gnus-put-text-property
             (point)
             (progn (eval gnus-summary-line-format-spec) (point))
index 75df500..5093e2d 100644 (file)
@@ -204,8 +204,8 @@ To use the description in headers, put this name into `nnmail-extra-headers'.")
                    (format "<%d@%s.nnrss>" (car e) group)
                    "\t" ;; id
                    "\t" ;; refs
-                   "0" "\t" ;; chars
-                   "0" "\t" ;; lines
+                   "-1" "\t" ;; chars
+                   "-1" "\t" ;; lines
                    "" "\t" ;; Xref
                    (if (and (nth 6 e)
                             (memq nnrss-description-field