* gnus-art.el (gnus-mime-view-part-as-type): mailcap-mime-types is
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sat, 4 Dec 1999 08:15:21 +0000 (08:15 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sat, 4 Dec 1999 08:15:21 +0000 (08:15 +0000)
a function, not a variable.

lisp/ChangeLog
lisp/gnus-art.el
lisp/gnus-group.el
lisp/gnus-score.el
lisp/gnus-start.el

index e610722..128417f 100644 (file)
@@ -1,3 +1,16 @@
+1999-12-04 08:31:10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-art.el (gnus-mime-view-part-as-type): mailcap-mime-types is 
+       a function, not a variable.
+
+1999-12-04 08:14:08  Max Froumentin  <masmef@maths.bath.ac.uk>
+
+       * gnus-score.el (gnus-score-body): Widen before requesting.
+
+1999-12-04 08:06:13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-group.el (gnus-group-prepare-flat): Comment fix.
+
 1999-12-04 03:01:55  Shenghuo ZHU  <zsh@cs.rochester.edu>
 
        * mail-source.el (mail-source-fetch-webmail): Bind
index 778b17c..1b6a0ba 100644 (file)
@@ -2832,7 +2832,8 @@ If ALL-HEADERS is non-nil, no headers are hidden."
 (defun gnus-mime-view-part-as-type ()
   "Choose a MIME media type, and view the part as such."
   (interactive
-   (list (completing-read "View as MIME type: " mailcap-mime-types)))
+   (list (completing-read "View as MIME type: "
+                         (mapcar 'list (mailcap-mime-types)))))
   (gnus-article-check-buffer)
   (let ((handle (get-text-property (point) 'gnus-data)))
     (gnus-mm-display-part handle)))
index 9fffcd2..be1b1a0 100644 (file)
@@ -925,7 +925,7 @@ If REGEXP, only list groups matching REGEXP."
              params (gnus-info-params info)
              newsrc (cdr newsrc)
              unread (car (gnus-gethash group gnus-newsrc-hashtb)))
-       (and unread                     ; This group might be bogus
+       (and unread                     ; This group might be unchecked
             (or (not regexp)
                 (string-match regexp group))
             (<= (setq clevel (gnus-info-level info)) level)
index a692750..fcc43e6 100644 (file)
@@ -1661,8 +1661,8 @@ score in GNUS-NEWSGROUP-SCORED by SCORE."
          (while articles
            (setq article (mail-header-number (caar articles)))
            (gnus-message 7 "Scoring article %s of %s..." article last)
+           (widen)
            (when (funcall request-func article gnus-newsgroup-name)
-             (widen)
              (goto-char (point-min))
              ;; If just parts of the article is to be searched, but the
              ;; backend didn't support partial fetching, we just narrow
index d755ca1..84aa819 100644 (file)
@@ -1510,6 +1510,13 @@ newsgroup."
       ;; be reached) we just set the number of unread articles in this
       ;; newsgroup to t.  This means that Gnus thinks that there are
       ;; unread articles, but it has no idea how many.
+
+      ;; To be more explicit:
+      ;; >0 for an active group with messages
+      ;; 0 for an active group with no unread messages
+      ;; nil for non-foreign groups that the user has requested not be checked
+      ;; t for unchecked foreign groups or bogus groups, or groups that can't
+      ;;   be checked, for one reason or other.
       (if (and (setq method (gnus-info-method info))
               (not (inline
                      (gnus-server-equal