+1999-11-10 12:13:30 Lars Magne Ingebrigtsen <larsi@gnus.org>
+
+ * nnultimate.el (nnultimate-retrieve-headers): Work for multi-page
+ subjects.
+
+1999-11-10 11:33:23 Rajappa Iyer <rajappa@mindspring.com>
+
+ * gnus-salt.el (gnus-pick-article-or-thread): Don't move point.
+
1999-11-10 05:22:56 Lars Magne Ingebrigtsen <larsi@gnus.org>
* nnultimate.el (nnultimate-open-server): Do address.
(when arg
(gnus-pick-goto-article arg))
(if gnus-thread-hide-subtree
- (gnus-uu-mark-thread)
+ (progn
+ (save-excursion
+ (gnus-uu-mark-thread))
+ (forward-line 1))
(gnus-summary-mark-as-processable 1)))
(defun gnus-pick-unmark-article-or-thread (&optional arg)
(when arg
(gnus-pick-goto-article arg))
(if gnus-thread-hide-subtree
- (gnus-uu-unmark-thread)
+ (save-excursion
+ (gnus-uu-unmark-thread))
(gnus-summary-unmark-as-processable 1)))
(defun gnus-pick-mouse-pick (e)
(furl "forumdisplay.cgi?action=topics&number=%d&DaysPrune=1000")
headers article subject score from date lines parent point
contents tinfo fetchers map elem a href garticles topic old-max
- inc datel table string)
+ inc datel table string current-page total-contents)
(with-temp-buffer
(nnweb-insert (concat nnultimate-address (format furl sid)))
(goto-char (point-min))
(setq nnultimate-articles nil)
(with-temp-buffer
(dolist (elem fetchers)
- (erase-buffer)
- (setq subject (nth 2 (assq (car elem) topics)))
- (nnweb-insert (nth 3 (assq (car elem) topics)))
- (goto-char (point-min))
- (setq contents (w3-parse-buffer (current-buffer)))
- (setq table (nnultimate-find-forum-table contents))
- (setq string (mapconcat 'identity (nnweb-text table) ""))
- (when (string-match "topic is \\([0-9]\\) pages" string)
- (setq pages (string-to-number (match-string 1 string)))
- (setcdr table nil)
- (setq table (nnultimate-find-forum-table contents)))
- (setq contents (cdr (nth 2 (car (nth 2 table)))))
+ (setq pages 1
+ current-page 1
+ total-contents nil)
+ (while (<= current-page pages)
+ (erase-buffer)
+ (setq subject (nth 2 (assq (car elem) topics)))
+ (setq href (nth 3 (assq (car elem) topics)))
+ (if (= current-page 1)
+ (nnweb-insert href)
+ (string-match "\\.html$" href)
+ (nnweb-insert (concat (substring href 0 (match-beginning 0))
+ "-" (number-to-string current-page)
+ (match-string 0 href))))
+ (goto-char (point-min))
+ (setq contents (w3-parse-buffer (current-buffer)))
+ (setq table (nnultimate-find-forum-table contents))
+ (setq string (mapconcat 'identity (nnweb-text table) ""))
+ (when (string-match "topic is \\([0-9]\\) pages" string)
+ (setq pages (string-to-number (match-string 1 string)))
+ (setcdr table nil)
+ (setq table (nnultimate-find-forum-table contents)))
+ (setq contents (cdr (nth 2 (car (nth 2 table)))))
+ (setq total-contents (nconc total-contents contents))
+ (incf current-page))
+ (setq total-contents (nreverse total-contents))
(dolist (art (cdr elem))
(push (list (car art)
- (nth (1- (cdr art)) contents)
+ (nth (1- (cdr art)) total-contents)
subject)
nnultimate-articles))))
(setq nnultimate-articles