+2004-07-09 Daiki Ueno <ueno@unixuser.org>
+
+ * riece-ignore.el (riece-startup-ignored-user-list): New user
+ option.
+ (riece-ignore-insinuate): Add identity objects from
+ riece-startup-ignored-user-list to riece-ignored-user-list.
+
2004-07-07 Daiki Ueno <ueno@unixuser.org>
* riece-commands.el (riece-command-enter-message-to-user): Signal
:group 'riece-ignore
:type 'string)
+(defcustom riece-startup-ignored-user-list nil
+ "List of user names whose messages are ignored."
+ :group 'riece-ignore
+ :type '(repeat string))
+
(defvar riece-ignore-buffer nil)
-(defvar riece-ignored-user-list nil)
(defvar riece-ignore-enabled nil)
(defconst riece-ignore-description
"Ignore users")
+(defvar riece-ignored-user-list nil)
(defun riece-ignore-user-rename-signal-function (signal handback)
(let ((pointer (riece-identity-member (car (riece-signal-args signal))
(defvar riece-command-mode-map)
(defun riece-ignore-insinuate ()
+ (setq riece-ignored-user-list
+ (mapcar #'riece-parse-identity riece-startup-ignored-user-list))
(add-hook 'riece-message-filter-functions 'riece-ignore-message-filter))
(defun riece-ignore-enable ()