elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
* sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
groups.
* wl.el (wl): Changed position of `elmo-init'.
2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
+ * elmo.el: Moved obsolete variable definitions from
+ elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
+
+ * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
+ groups.
+
* shimbun.el: New file.
* elmo-shimbun.el: New file.
:type 'symbol
:group 'elmo)
-(elmo-define-obsolete-variable 'elmo-default-imap4-mailbox
- 'elmo-imap4-default-mailbox)
-(elmo-define-obsolete-variable 'elmo-default-imap4-server
- 'elmo-imap4-default-server)
-(elmo-define-obsolete-variable 'elmo-default-imap4-authenticate-type
- 'elmo-imap4-default-authenticate-type)
-(elmo-define-obsolete-variable 'elmo-default-imap4-user
- 'elmo-imap4-default-user)
-(elmo-define-obsolete-variable 'elmo-default-imap4-port
- 'elmo-imap4-default-port)
-
(defvar elmo-imap4-stream-type-alist nil
"*Stream bindings for IMAP4.
This is taken precedence over `elmo-network-stream-type-alist'.")
:type 'symbol
:group 'elmo)
-(elmo-define-obsolete-variable 'elmo-default-nntp-server
- 'elmo-nntp-default-server)
-(elmo-define-obsolete-variable 'elmo-default-nntp-user
- 'elmo-nntp-default-user)
-(elmo-define-obsolete-variable 'elmo-default-nntp-port
- 'elmo-nntp-default-port)
-
(defvar elmo-nntp-stream-type-alist nil
"*Stream bindings for NNTP.
This is taken precedence over `elmo-network-stream-type-alist'.")
:type 'boolean
:group 'elmo)
-(elmo-define-obsolete-variable 'elmo-default-pop3-server
- 'elmo-pop3-default-server)
-(elmo-define-obsolete-variable 'elmo-default-pop3-user
- 'elmo-pop3-default-user)
-(elmo-define-obsolete-variable 'elmo-default-pop3-authenticate-type
- 'elmo-pop3-default-authenticate-type)
-(elmo-define-obsolete-variable 'elmo-default-pop3-port
- 'elmo-pop3-default-port)
-
(defvar elmo-pop3-stream-type-alist nil
"*Stream bindings for POP3.
This is taken precedence over `elmo-network-stream-type-alist'.")
"Resque obsolete variable OBSOLETE as VAR.
If `elmo-obsolete-variable-show-warnings' is non-nil, show warning message."
(when (boundp obsolete)
- (static-if (fboundp 'defvaralias)
+ (static-if (and (fboundp 'defvaralias)
+ (subrp (symbol-function 'defvaralias)))
(defvaralias obsolete var)
(set var (symbol-value obsolete)))
(if elmo-obsolete-variable-show-warnings
(elmo-define-folder ?[ 'nmz)
(elmo-define-folder ?@ 'shimbun)
+;;; Obsolete variables.
+(elmo-define-obsolete-variable 'elmo-default-imap4-mailbox
+ 'elmo-imap4-default-mailbox)
+(elmo-define-obsolete-variable 'elmo-default-imap4-server
+ 'elmo-imap4-default-server)
+(elmo-define-obsolete-variable 'elmo-default-imap4-authenticate-type
+ 'elmo-imap4-default-authenticate-type)
+(elmo-define-obsolete-variable 'elmo-default-imap4-user
+ 'elmo-imap4-default-user)
+(elmo-define-obsolete-variable 'elmo-default-imap4-port
+ 'elmo-imap4-default-port)
+(elmo-define-obsolete-variable 'elmo-default-nntp-server
+ 'elmo-nntp-default-server)
+(elmo-define-obsolete-variable 'elmo-default-nntp-user
+ 'elmo-nntp-default-user)
+(elmo-define-obsolete-variable 'elmo-default-nntp-port
+ 'elmo-nntp-default-port)
+(elmo-define-obsolete-variable 'elmo-default-pop3-server
+ 'elmo-pop3-default-server)
+(elmo-define-obsolete-variable 'elmo-default-pop3-user
+ 'elmo-pop3-default-user)
+(elmo-define-obsolete-variable 'elmo-default-pop3-authenticate-type
+ 'elmo-pop3-default-authenticate-type)
+(elmo-define-obsolete-variable 'elmo-default-pop3-port
+ 'elmo-pop3-default-port)
+
(require 'product)
(product-provide (provide 'elmo) (require 'elmo-version))
(defvar shimbun-asahi-url "http://spin.asahi.com/")
(defvar shimbun-asahi-groups '("national" "business" "politics"
- "international" "sports" "personal"
- "feneral"))
+ "international" "sports"))
(defvar shimbun-asahi-coding-system (static-if (boundp 'MULE) '*sjis*
'shift_jis))
(defvar shimbun-asahi-from-address "webmaster@www.asahi.com")
2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
+ * wl.el (wl): Changed position of `elmo-init'.
+
* wl-draft.el (wl-default-draft-cite): Use date field
on the citation buffer.
"Start Wanderlust -- Yet Another Message Interface On Emacsen.
If ARG (prefix argument) is specified, folder checkings are skipped."
(interactive "P")
- (or wl-init (wl-load-profile))
+ (unless wl-init
+ (wl-load-profile))
+ (elmo-init)
(let (demo-buf)
(setq demo-buf (wl-demo))
(wl-init)
(condition-case obj
(progn
(wl-plugged-init (wl-folder arg))
- (elmo-init)
(unless arg
(run-hooks 'wl-auto-check-folder-pre-hook)
(wl-folder-auto-check)