aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShengHuo ZHU2002-07-06 13:15:21 +0000
committerShengHuo ZHU2002-07-06 13:15:21 +0000
commitd942a83dca5c6b444e81475b3a1de485f778d452 (patch)
treeb94a8b49989827a77f8ddda9b309bba7907e1330
parent008c915c448d39e5fe5848e0b90a323029c4352b (diff)
downloademacs-d942a83dca5c6b444e81475b3a1de485f778d452.tar.gz
emacs-d942a83dca5c6b444e81475b3a1de485f778d452.zip
* gnus-topic.el (gnus-topic-indent, gnus-topic-unindent): Change
cdaar to cdar and car. * nnsoup.el (nnsoup-retrieve-headers, nnsoup-request-type) (nnsoup-read-active-file, nnsoup-article-to-area): Ditto.
-rw-r--r--lisp/gnus/ChangeLog8
-rw-r--r--lisp/gnus/gnus-topic.el4
-rw-r--r--lisp/gnus/nnsoup.el10
3 files changed, 15 insertions, 7 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index c4f39d14251..bb2fe61255a 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,11 @@
12002-07-06 ShengHuo ZHU <zsh@cs.rochester.edu>
2
3 * gnus-topic.el (gnus-topic-indent, gnus-topic-unindent): Change
4 cdaar to cdar and car.
5
6 * nnsoup.el (nnsoup-retrieve-headers, nnsoup-request-type)
7 (nnsoup-read-active-file, nnsoup-article-to-area): Ditto.
8
12002-07-03 Juanma Barranquero <lektu@terra.es> 92002-07-03 Juanma Barranquero <lektu@terra.es>
2 10
3 * gnus-sum.el (gnus-summary-highlight): Fix typo. 11 * gnus-sum.el (gnus-summary-highlight): Fix typo.
diff --git a/lisp/gnus/gnus-topic.el b/lisp/gnus/gnus-topic.el
index 3761dbc17b9..efc639ba8d9 100644
--- a/lisp/gnus/gnus-topic.el
+++ b/lisp/gnus/gnus-topic.el
@@ -1416,7 +1416,7 @@ If UNINDENT, remove an indentation."
1416 (gnus-topic-kill-group) 1416 (gnus-topic-kill-group)
1417 (push (cdar gnus-topic-killed-topics) gnus-topic-alist) 1417 (push (cdar gnus-topic-killed-topics) gnus-topic-alist)
1418 (gnus-topic-create-topic 1418 (gnus-topic-create-topic
1419 topic parent nil (cdaar gnus-topic-killed-topics)) 1419 topic parent nil (cdar (car gnus-topic-killed-topics)))
1420 (pop gnus-topic-killed-topics) 1420 (pop gnus-topic-killed-topics)
1421 (or (gnus-topic-goto-topic topic) 1421 (or (gnus-topic-goto-topic topic)
1422 (gnus-topic-goto-topic parent)))))) 1422 (gnus-topic-goto-topic parent))))))
@@ -1435,7 +1435,7 @@ If UNINDENT, remove an indentation."
1435 (push (cdar gnus-topic-killed-topics) gnus-topic-alist) 1435 (push (cdar gnus-topic-killed-topics) gnus-topic-alist)
1436 (gnus-topic-create-topic 1436 (gnus-topic-create-topic
1437 topic grandparent (gnus-topic-next-topic parent) 1437 topic grandparent (gnus-topic-next-topic parent)
1438 (cdaar gnus-topic-killed-topics)) 1438 (cdar (car gnus-topic-killed-topics)))
1439 (pop gnus-topic-killed-topics) 1439 (pop gnus-topic-killed-topics)
1440 (gnus-topic-goto-topic topic)))) 1440 (gnus-topic-goto-topic topic))))
1441 1441
diff --git a/lisp/gnus/nnsoup.el b/lisp/gnus/nnsoup.el
index 93451d1adaf..9a119fe287c 100644
--- a/lisp/gnus/nnsoup.el
+++ b/lisp/gnus/nnsoup.el
@@ -114,7 +114,7 @@ backend for the messages.")
114 ;; articles in SEQUENCE come from. 114 ;; articles in SEQUENCE come from.
115 (while (and areas sequence) 115 (while (and areas sequence)
116 ;; Peel off areas that are below sequence. 116 ;; Peel off areas that are below sequence.
117 (while (and areas (< (cdaar areas) (car sequence))) 117 (while (and areas (< (cdar (car areas)) (car sequence)))
118 (setq areas (cdr areas))) 118 (setq areas (cdr areas)))
119 (when areas 119 (when areas
120 ;; This is a useful area. 120 ;; This is a useful area.
@@ -130,7 +130,7 @@ backend for the messages.")
130 (setq use-nov nil)) 130 (setq use-nov nil))
131 ;; We assign the portion of `sequence' that is relevant to 131 ;; We assign the portion of `sequence' that is relevant to
132 ;; this MSG packet to this packet. 132 ;; this MSG packet to this packet.
133 (while (and sequence (<= (car sequence) (cdaar areas))) 133 (while (and sequence (<= (car sequence) (cdar (car areas))))
134 (push (car sequence) this-area-seq) 134 (push (car sequence) this-area-seq)
135 (setq sequence (cdr sequence))) 135 (setq sequence (cdr sequence)))
136 (setcar useful-areas (cons (nreverse this-area-seq) 136 (setcar useful-areas (cons (nreverse this-area-seq)
@@ -249,7 +249,7 @@ backend for the messages.")
249 ;; Try to guess the type based on the first article in the group. 249 ;; Try to guess the type based on the first article in the group.
250 (when (not article) 250 (when (not article)
251 (setq article 251 (setq article
252 (cdaar (cddr (assoc group nnsoup-group-alist))))) 252 (cdar (car (cddr (assoc group nnsoup-group-alist))))))
253 (if (not article) 253 (if (not article)
254 'unknown 254 'unknown
255 (let ((kind (gnus-soup-encoding-kind 255 (let ((kind (gnus-soup-encoding-kind
@@ -371,7 +371,7 @@ backend for the messages.")
371 (setq min (caaar e)) 371 (setq min (caaar e))
372 (while (cdr e) 372 (while (cdr e)
373 (setq e (cdr e))) 373 (setq e (cdr e)))
374 (setq max (cdaar e)) 374 (setq max (cdar (car e)))
375 (setcdr entry (cons (cons min max) (cdr entry))))) 375 (setcdr entry (cons (cons min max) (cdr entry)))))
376 (setq nnsoup-group-alist-touched t)) 376 (setq nnsoup-group-alist-touched t))
377 nnsoup-group-alist)) 377 nnsoup-group-alist))
@@ -651,7 +651,7 @@ backend for the messages.")
651(defun nnsoup-article-to-area (article group) 651(defun nnsoup-article-to-area (article group)
652 "Return the area that ARTICLE in GROUP is located in." 652 "Return the area that ARTICLE in GROUP is located in."
653 (let ((areas (cddr (assoc group nnsoup-group-alist)))) 653 (let ((areas (cddr (assoc group nnsoup-group-alist))))
654 (while (and areas (< (cdaar areas) article)) 654 (while (and areas (< (cdar (car areas)) article))
655 (setq areas (cdr areas))) 655 (setq areas (cdr areas)))
656 (and areas (car areas)))) 656 (and areas (car areas))))
657 657