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.
;; 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..."
(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