*** empty log message ***
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 8 Nov 1999 03:47:28 +0000 (03:47 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 8 Nov 1999 03:47:28 +0000 (03:47 +0000)
lisp/gnus.el
lisp/nnslashdot.el

index 2e463bf..1c157d9 100644 (file)
@@ -2604,11 +2604,12 @@ just the host name."
             res)
        (setq levels (- glen levels))
        (dolist (g glist)
-         (if (> (length g) 0)
-             (push (if (>= (decf levels) 0)
-                       (substring g 0 1)
-                     g)
-                   res)))
+         (push (if (>= (decf levels) 0)
+                   (if (zerop (length g))
+                       ""
+                     (substring g 0 1))
+                 g)
+               res))
        (concat foreign (mapconcat 'identity (nreverse res) "."))))))
 
 (defun gnus-narrow-to-body ()
index 47b3678..3c4f543 100644 (file)
     (save-excursion
       (set-buffer nnslashdot-buffer)
       (goto-char (point-min))
+      (when (and (stringp article)
+                (string-match "%\\([0-9]+\\)@" article))
+       (setq article (string-to-number (match-string 1 article))))
       (when (numberp article)
        (if (= article 1)
            (progn
        (let ((header (cdr (assq article nnslashdot-headers))))
          (nnheader-insert-header header))
        (nnheader-report 'nnslashdot "Fetched article %s" article)
-       t))))
+       (cons group article)))))
 
 (deffoo nnslashdot-close-server (&optional server)
   (when (and (nnslashdot-server-opened server)
 
 (deffoo nnslashdot-request-newgroups (date &optional server)
   (nnslashdot-possibly-change-server nil server)
-  (nnslashdot-generate-active))
+  (nnslashdot-generate-active)
+  t)
 
 (deffoo nnslashdot-asynchronous-p ()
   nil)