* dgnushack.el: Autoload mail-extract-address-components for XEmacs.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 16 May 2005 04:26:55 +0000 (04:26 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 16 May 2005 04:26:55 +0000 (04:26 +0000)
* gnus-art.el: Don't autoload mail-extract-address-components.

* gnus.el: Remove duplicated autoload for message-y-or-n-p; use
eval-and-compile to evaluate it.

* hashcash.el: Don't autoload executable-find.

* 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.

* nntp.el: Autoload format-spec instead of format; use
eval-and-compile to evaluate autoload forms.

lisp/ChangeLog
lisp/dgnushack.el
lisp/gnus-art.el
lisp/gnus.el
lisp/hashcash.el
lisp/nndb.el
lisp/nntp.el

index d06c3a6..efaa77c 100644 (file)
@@ -1,3 +1,20 @@
+2005-05-16  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * dgnushack.el: Autoload mail-extract-address-components for XEmacs.
+
+       * gnus-art.el: Don't autoload mail-extract-address-components.
+
+       * gnus.el: Remove duplicated autoload for message-y-or-n-p; use
+       eval-and-compile to evaluate it.
+
+       * hashcash.el: Don't autoload executable-find.
+
+       * 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.
+
+       * nntp.el: Autoload format-spec instead of format; use
+       eval-and-compile to evaluate autoload forms.
+
 2005-05-09  Simon Josefsson  <jas@extundo.com>
 
        * pgg-gpg.el (pgg-gpg-possibly-cache-passphrase): Fix PIN caching,
index 261f38d..032343b 100644 (file)
@@ -198,6 +198,7 @@ fixed in Emacs after 21.3."
     (autoload 'executable-find "executable")
     (autoload 'font-lock-fontify-buffer "font-lock" nil t)
     (autoload 'info "info" nil t)
+    (autoload 'mail-extract-address-components "mail-extr")
     (autoload 'mail-fetch-field "mail-utils")
     (autoload 'make-annotation "annotations")
     (autoload 'make-display-table "disp-table")
index c5a4e54..94ed910 100644 (file)
@@ -485,9 +485,6 @@ be fed to `format-time-string'."
   :link '(custom-manual "(gnus)Article Date")
   :group 'gnus-article-washing)
 
-(eval-and-compile
-  (autoload 'mail-extract-address-components "mail-extr"))
-
 (defcustom gnus-save-all-headers t
   "*If non-nil, don't remove any headers before saving."
   :group 'gnus-article-saving
index 5409d9e..a73fc32 100644 (file)
@@ -34,7 +34,6 @@
 (require 'wid-edit)
 (require 'mm-util)
 (require 'nnheader)
-(autoload 'message-y-or-n-p "message" nil nil 'macro)
 
 (defgroup gnus nil
   "The coffee-brewing, all singing, all dancing, kitchen sink newsreader."
@@ -3993,7 +3992,7 @@ If NEWSGROUP is nil, return the global kill file name instead."
       (setq valids (cdr valids)))
     outs))
 
-(eval-when-compile
+(eval-and-compile
   (autoload 'message-y-or-n-p "message" nil nil 'macro))
 
 (defun gnus-read-group (prompt &optional default)
index 94b140d..ae34425 100644 (file)
@@ -49,9 +49,6 @@
 
 ;;; Code:
 
-(eval-and-compile
- (autoload 'executable-find "executable"))
-
 (defcustom hashcash-default-payment 20
   "*The default number of bits to pay to unknown users.
 If this is zero, no payment header will be generated.
index 082f169..820f0a1 100644 (file)
@@ -1,6 +1,7 @@
 ;;; nndb.el --- nndb access for Gnus
 
-;; Copyright (C) 1997, 1998, 2000, 2003, 2004 Free Software Foundation, Inc.
+;; Copyright (C) 1997, 1998, 2000, 2003, 2004, 2005
+;;        Free Software Foundation, Inc.
 
 ;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet>
 ;;         Kai Grossjohann <grossjohann@ls6.informatik.uni-dortmund.de>
@@ -50,7 +51,9 @@
 ;;-
 ;; Register nndb with known select methods.
 
-(gnus-declare-backend "nndb" 'mail 'respool 'address 'prompt-address)
+(require 'gnus-start)
+(unless (assoc "nndb" gnus-valid-select-methods)
+  (gnus-declare-backend "nndb" 'mail 'respool 'address 'prompt-address))
 
 ;;; Code:
 
 (require 'nntp)
 (eval-when-compile (require 'cl))
 
-(eval-and-compile
-  (autoload 'news-setup "rnewspost")
-  (autoload 'news-reply-mode "rnewspost")
-  (autoload 'cancel-timer "timer")
-  (autoload 'telnet "telnet" nil t)
-  (autoload 'telnet-send-input "telnet" nil t)
-  (autoload 'gnus-declare-backend "gnus-start"))
-
 ;; Declare nndb as derived from nntp
 
 (nnoo-declare nndb nntp)
index bd8591c..993d2a6 100644 (file)
@@ -1,7 +1,8 @@
 ;;; nntp.el --- nntp access for Gnus
 
 ;; Copyright (C) 1987, 1988, 1989, 1990, 1992, 1993, 1994, 1995, 1996,
-;; 1997, 1998, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+;; 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2005
+;;        Free Software Foundation, Inc.
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
 ;; Keywords: news
@@ -1215,9 +1216,10 @@ password contained in '~/.nntp-authinfo'."
 (defun nntp-open-network-stream (buffer)
   (open-network-stream "nntpd" buffer nntp-address nntp-port-number))
 
-(autoload 'format-spec "format")
-(autoload 'format-spec-make "format")
-(autoload 'open-tls-stream "tls")
+(eval-and-compile
+  (autoload 'format-spec "format-spec")
+  (autoload 'format-spec-make "format-spec")
+  (autoload 'open-tls-stream "tls"))
 
 (defun nntp-open-ssl-stream (buffer)
   (let* ((process-connection-type nil)
@@ -1984,7 +1986,8 @@ Please refer to the following variables to customize the connection:
       (make-directory (directory-file-name dir) t)
       (nnheader-message 5 "Creating nntp marks directory %s" dir))))
 
-(autoload 'time-less-p "time-date")
+(eval-and-compile
+  (autoload 'time-less-p "time-date"))
 
 (defun nntp-marks-changed-p (group server)
   (let ((file (expand-file-name