'riece-300, 'riece-400, and 'riece-500.
(riece-default-handle-numeric-reply): Moved from riece-filter.el.
* riece-filter.el (riece-handle-numeric-reply): Don't load
riece-{000,200,300,400,500}.el on demand.
+2004-07-18 Daiki Ueno <ueno@unixuser.org>
+
+ * riece-handle.el (riece-300): Require 'riece-000, 'riece-200,
+ 'riece-300, 'riece-400, and 'riece-500.
+ (riece-default-handle-numeric-reply): Moved from riece-filter.el.
+ * riece-filter.el (riece-handle-numeric-reply): Don't load
+ riece-{000,200,300,400,500}.el on demand.
+
2004-07-10 Daiki Ueno <ueno@unixuser.org>
* Riece: Version 1.0.1 released.
(defun riece-handle-numeric-reply (prefix number name string)
(let ((base-number (* (/ number 100) 100))
function)
- (condition-case nil
- (require (intern (format "riece-%03d" base-number)))
- (error))
(setq function (intern-soft (format "riece-handle-%03d-message" number)))
(unless (and function
(symbol-function function))
(if riece-debug
(message "Error in `%S': %S" function error)))))))
-(defun riece-default-handle-numeric-reply
- (client-prefix prefix number name string)
- (riece-insert
- (list riece-dialogue-buffer riece-others-buffer)
- (concat client-prefix
- (riece-concat-server-name
- (mapconcat #'identity (riece-split-parameters string) " "))
- "\n")))
-
(defun riece-handle-message (prefix message string)
(if (and prefix
(string-match "![^\x00\x0d\x0a @]+@" prefix))
(require 'riece-naming)
(require 'riece-signal)
(require 'riece-mode)
+(require 'riece-000)
+(require 'riece-200)
+(require 'riece-300)
+(require 'riece-400)
+(require 'riece-500)
+
+(defun riece-default-handle-numeric-reply
+ (client-prefix prefix number name string)
+ (riece-insert
+ (list riece-dialogue-buffer riece-others-buffer)
+ (concat client-prefix
+ (riece-concat-server-name
+ (mapconcat #'identity (riece-split-parameters string) " "))
+ "\n")))
(defun riece-handle-nick-message (prefix string)
(let* ((old (riece-prefix-nickname prefix))