*** empty log message ***
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Tue, 9 Nov 1999 00:22:08 +0000 (00:22 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Tue, 9 Nov 1999 00:22:08 +0000 (00:22 +0000)
lisp/ChangeLog
lisp/gnus-start.el
lisp/nnslashdot.el

index ce6091c..e168152 100644 (file)
@@ -1,5 +1,8 @@
 1999-11-09 00:13:25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * nnslashdot.el (nnslashdot-retrieve-headers): Skip the article
+       unless wanted.
+
        * gnus-start.el (gnus-active-to-gnus-format): Catch errors.
        (gnus-read-active-file-1): Separated into own function.
        (gnus-read-active-file): Catch quits.
index 50f5349..1f0342d 100644 (file)
@@ -1687,12 +1687,12 @@ newsgroup."
        ;; than once in this list.
        (unless (member method methods)
          (condition-case ()
-             (gnus-read-active-file-1 method)
+             (gnus-read-active-file-1 method force)
            ;; We catch C-g so that we can continue past servers
            ;; that do not respond.
            (quit nil)))))))
 
-(defun gnus-read-active-file-1 (method)
+(defun gnus-read-active-file-1 (method force)
   (let (where mesg list-type)
     (setq where (nth 1 method)
          mesg (format "Reading active file%s via %s..."
index afeadec..3db2444 100644 (file)
@@ -91,7 +91,7 @@
       (set-buffer nnslashdot-buffer)
       (let ((case-fold-search t))
        (erase-buffer)
-       (when (= start 1)
+       (when (= (car articles) 1)
          (url-insert-file-contents (format nnslashdot-article-url sid))
          (setq buffer-file-name nil)
          (goto-char (point-min))
              (setq contents
                    (buffer-substring
                     (point)
-                    (re-search-forward
-                     "^<p>.*A href=http://slashdot.org/article.pl"))))
+                    (progn
+                      (re-search-forward
+                       "^<p>.*A href=http://slashdot.org/article.pl")
+                      (match-beginning 0)))))
          (search-forward (format "<a name=\"%d\">" (1- article)))
          (setq contents
                (buffer-substring