aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2005-05-17 04:57:29 +0000
committerMiles Bader2005-05-17 04:57:29 +0000
commit8654e13ab4014ccf8105c0a79ff0ab00667a6e9d (patch)
tree141d332fca11932e281c615bc5dfef1c27127555
parent213233f0062616332e7aa79aa6408f9b7f59ba54 (diff)
downloademacs-8654e13ab4014ccf8105c0a79ff0ab00667a6e9d.tar.gz
emacs-8654e13ab4014ccf8105c0a79ff0ab00667a6e9d.zip
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-314
Merge from gnus--rel--5.10 Patches applied: * gnus--rel--5.10 (patch 69) - Update from CVS 2005-05-16 Katsumi Yamaoka <yamaoka@jpl.org> * lisp/gnus/gnus-art.el: Don't autoload mail-extract-address-components. * lisp/gnus/gnus.el: Use eval-and-compile to autoload message-y-or-n-p. * lisp/gnus/nndb.el: Don't declare the nndb back end two or more times; don't autoload news-reply-mode, news-setup, cancel-timer and telnet. * lisp/gnus/nntp.el: Autoload format-spec instead of format; use eval-and-compile to evaluate autoload forms. * lisp/gnus/spam-report.el (spam-report-process-queue): Use gnus-point-at-eol.
-rw-r--r--lisp/gnus/ChangeLog17
-rw-r--r--lisp/gnus/gnus-art.el3
-rw-r--r--lisp/gnus/gnus.el6
-rw-r--r--lisp/gnus/nndb.el15
-rw-r--r--lisp/gnus/nntp.el10
-rw-r--r--lisp/gnus/spam-report.el2
6 files changed, 30 insertions, 23 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 9f3a114adbe..14450ee3a14 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,17 @@
12005-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
2
3 * gnus-art.el: Don't autoload mail-extract-address-components.
4
5 * gnus.el: Use eval-and-compile to autoload message-y-or-n-p.
6
7 * nndb.el: Don't declare the nndb back end two or more times; don't
8 autoload news-reply-mode, news-setup, cancel-timer and telnet.
9
10 * nntp.el: Autoload format-spec instead of format; use
11 eval-and-compile to evaluate autoload forms.
12
13 * spam-report.el (spam-report-process-queue): Use gnus-point-at-eol.
14
12005-04-28 Katsumi Yamaoka <yamaoka@jpl.org> 152005-04-28 Katsumi Yamaoka <yamaoka@jpl.org>
2 16
3 * gnus-art.el (article-date-ut): Support converting date in 17 * gnus-art.el (article-date-ut): Support converting date in
@@ -345,9 +359,6 @@
345 359
346 * gnus-async.el: Ditto. 360 * gnus-async.el: Ditto.
347 361
348 * dgnushack.el: No need to ignore `run-with-idle-timer', XEmacs
349 has this function now.
350
3512005-03-16 Lute Kamstra <lute@gnu.org> 3622005-03-16 Lute Kamstra <lute@gnu.org>
352 363
353 * message.el (message-make-date): Require parse-time. 364 * message.el (message-make-date): Require parse-time.
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index 55aaed15d90..b1a51d65edd 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -481,9 +481,6 @@ be fed to `format-time-string'."
481 :link '(custom-manual "(gnus)Article Date") 481 :link '(custom-manual "(gnus)Article Date")
482 :group 'gnus-article-washing) 482 :group 'gnus-article-washing)
483 483
484(eval-and-compile
485 (autoload 'mail-extract-address-components "mail-extr"))
486
487(defcustom gnus-save-all-headers t 484(defcustom gnus-save-all-headers t
488 "*If non-nil, don't remove any headers before saving." 485 "*If non-nil, don't remove any headers before saving."
489 :group 'gnus-article-saving 486 :group 'gnus-article-saving
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el
index 3112a07cb2e..98c41de45e5 100644
--- a/lisp/gnus/gnus.el
+++ b/lisp/gnus/gnus.el
@@ -1,7 +1,7 @@
1;;; gnus.el --- a newsreader for GNU Emacs 1;;; gnus.el --- a newsreader for GNU Emacs
2 2
3;; Copyright (C) 1987, 1988, 1989, 1990, 1993, 1994, 1995, 1996, 1997, 3;; Copyright (C) 1987, 1988, 1989, 1990, 1993, 1994, 1995, 1996, 1997,
4;; 1998, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. 4;; 1998, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
5 5
6;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet> 6;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet>
7;; Lars Magne Ingebrigtsen <larsi@gnus.org> 7;; Lars Magne Ingebrigtsen <larsi@gnus.org>
@@ -34,7 +34,6 @@
34(require 'wid-edit) 34(require 'wid-edit)
35(require 'mm-util) 35(require 'mm-util)
36(require 'nnheader) 36(require 'nnheader)
37(autoload 'message-y-or-n-p "message" nil nil 'macro)
38 37
39(defgroup gnus nil 38(defgroup gnus nil
40 "The coffee-brewing, all singing, all dancing, kitchen sink newsreader." 39 "The coffee-brewing, all singing, all dancing, kitchen sink newsreader."
@@ -3925,6 +3924,9 @@ If NEWSGROUP is nil, return the global kill file name instead."
3925 (setq valids (cdr valids))) 3924 (setq valids (cdr valids)))
3926 outs)) 3925 outs))
3927 3926
3927(eval-and-compile
3928 (autoload 'message-y-or-n-p "message" nil nil 'macro))
3929
3928(defun gnus-read-group (prompt &optional default) 3930(defun gnus-read-group (prompt &optional default)
3929 "Prompt the user for a group name. 3931 "Prompt the user for a group name.
3930Disallow invalid group names." 3932Disallow invalid group names."
diff --git a/lisp/gnus/nndb.el b/lisp/gnus/nndb.el
index bd8523f11b2..6aaf57c81e1 100644
--- a/lisp/gnus/nndb.el
+++ b/lisp/gnus/nndb.el
@@ -1,6 +1,7 @@
1;;; nndb.el --- nndb access for Gnus 1;;; nndb.el --- nndb access for Gnus
2 2
3;; Copyright (C) 1997, 1998, 2000, 2003, 2004 Free Software Foundation, Inc. 3;; Copyright (C) 1997, 1998, 2000, 2003, 2004, 2005
4;; Free Software Foundation, Inc.
4 5
5;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet> 6;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet>
6;; Kai Grossjohann <grossjohann@ls6.informatik.uni-dortmund.de> 7;; Kai Grossjohann <grossjohann@ls6.informatik.uni-dortmund.de>
@@ -50,7 +51,9 @@
50;;- 51;;-
51;; Register nndb with known select methods. 52;; Register nndb with known select methods.
52 53
53(gnus-declare-backend "nndb" 'mail 'respool 'address 'prompt-address) 54(require 'gnus-start)
55(unless (assoc "nndb" gnus-valid-select-methods)
56 (gnus-declare-backend "nndb" 'mail 'respool 'address 'prompt-address))
54 57
55;;; Code: 58;;; Code:
56 59
@@ -59,14 +62,6 @@
59(require 'nntp) 62(require 'nntp)
60(eval-when-compile (require 'cl)) 63(eval-when-compile (require 'cl))
61 64
62(eval-and-compile
63 (autoload 'news-setup "rnewspost")
64 (autoload 'news-reply-mode "rnewspost")
65 (autoload 'cancel-timer "timer")
66 (autoload 'telnet "telnet" nil t)
67 (autoload 'telnet-send-input "telnet" nil t)
68 (autoload 'gnus-declare-backend "gnus-start"))
69
70;; Declare nndb as derived from nntp 65;; Declare nndb as derived from nntp
71 66
72(nnoo-declare nndb nntp) 67(nnoo-declare nndb nntp)
diff --git a/lisp/gnus/nntp.el b/lisp/gnus/nntp.el
index 8a10600fcb8..ab85ad25931 100644
--- a/lisp/gnus/nntp.el
+++ b/lisp/gnus/nntp.el
@@ -1,7 +1,8 @@
1;;; nntp.el --- nntp access for Gnus 1;;; nntp.el --- nntp access for Gnus
2 2
3;; Copyright (C) 1987, 1988, 1989, 1990, 1992, 1993, 1994, 1995, 1996, 3;; Copyright (C) 1987, 1988, 1989, 1990, 1992, 1993, 1994, 1995, 1996,
4;; 1997, 1998, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. 4;; 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2005
5;; Free Software Foundation, Inc.
5 6
6;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> 7;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
7;; Keywords: news 8;; Keywords: news
@@ -1147,9 +1148,10 @@ password contained in '~/.nntp-authinfo'."
1147(defun nntp-open-network-stream (buffer) 1148(defun nntp-open-network-stream (buffer)
1148 (open-network-stream "nntpd" buffer nntp-address nntp-port-number)) 1149 (open-network-stream "nntpd" buffer nntp-address nntp-port-number))
1149 1150
1150(autoload 'format-spec "format") 1151(eval-and-compile
1151(autoload 'format-spec-make "format") 1152 (autoload 'format-spec "format-spec")
1152(autoload 'open-tls-stream "tls") 1153 (autoload 'format-spec-make "format-spec")
1154 (autoload 'open-tls-stream "tls"))
1153 1155
1154(defun nntp-open-ssl-stream (buffer) 1156(defun nntp-open-ssl-stream (buffer)
1155 (let* ((process-connection-type nil) 1157 (let* ((process-connection-type nil)
diff --git a/lisp/gnus/spam-report.el b/lisp/gnus/spam-report.el
index b8283ffaaa8..59119dc5438 100644
--- a/lisp/gnus/spam-report.el
+++ b/lisp/gnus/spam-report.el
@@ -159,7 +159,7 @@ symbol `ask', query before flushing the queue file."
159 (goto-char (point-min)) 159 (goto-char (point-min))
160 (while (and (not (eobp)) 160 (while (and (not (eobp))
161 (re-search-forward 161 (re-search-forward
162 "http://\\([^/]+\\)\\(/.*\\) *$" (point-at-eol) t)) 162 "http://\\([^/]+\\)\\(/.*\\) *$" (gnus-point-at-eol) t))
163 (funcall spam-report-url-ping-function (match-string 1) (match-string 2)) 163 (funcall spam-report-url-ping-function (match-string 1) (match-string 2))
164 (forward-line 1)) 164 (forward-line 1))
165 (if (or (eq keep nil) 165 (if (or (eq keep nil)