* riece-highlight.el (riece-dialogue-change-face): Use defvar to
authorDaiki Ueno <ueno@unixuser.org>
Thu, 28 Aug 2003 02:05:57 +0000 (02:05 +0000)
committerDaiki Ueno <ueno@unixuser.org>
Thu, 28 Aug 2003 02:05:57 +0000 (02:05 +0000)
define.
(riece-dialogue-notice-face): Ditto.
(riece-dialogue-wallops-face): Ditto.
(riece-dialogue-error-face): Ditto.
(riece-dialogue-info-face): Ditto.
(riece-dialogue-server-face): Ditto.
(riece-dialogue-prefix-face): Ditto.
(riece-channel-list-default-face): Ditto.
(riece-channel-list-current-face): Ditto.

* riece-unread.el (riece-channel-list-unread-face): Use defvar to
define.

lisp/ChangeLog
lisp/riece-highlight.el
lisp/riece-unread.el

index e3fc371..2624de0 100644 (file)
@@ -1,3 +1,19 @@
+2003-08-28  Daiki Ueno  <ueno@unixuser.org>
+
+       * riece-highlight.el (riece-dialogue-change-face): Use defvar to
+       define.
+       (riece-dialogue-notice-face): Ditto.
+       (riece-dialogue-wallops-face): Ditto.
+       (riece-dialogue-error-face): Ditto.
+       (riece-dialogue-info-face): Ditto.
+       (riece-dialogue-server-face): Ditto.
+       (riece-dialogue-prefix-face): Ditto.
+       (riece-channel-list-default-face): Ditto.
+       (riece-channel-list-current-face): Ditto.
+
+       * riece-unread.el (riece-channel-list-unread-face): Use defvar to
+       define.
+
 2003-08-27  Daiki Ueno  <ueno@unixuser.org>
 
        * riece-history.el (riece-history-insinuate): Don't set
 2003-08-27  Daiki Ueno  <ueno@unixuser.org>
 
        * riece-history.el (riece-history-insinuate): Don't set
index 6aa09fa..addb260 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-highlight.el --- coloring IRC buffers
+;;; riece-highlight.el --- highlight IRC buffers
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
@@ -25,6 +25,8 @@
 ;;; Code:
 
 (require 'riece-globals)
 ;;; Code:
 
 (require 'riece-globals)
+(require 'riece-options)               ;riece-channel-list-buffer-mode
+(require 'riece-identity)              ;riece-format-identity
 (require 'font-lock)
 
 (defgroup riece-highlight nil
 (require 'font-lock)
 
 (defgroup riece-highlight nil
   :prefix "riece-highlight-"
   :group 'riece-highlight)
 
   :prefix "riece-highlight-"
   :group 'riece-highlight)
 
-(defcustom riece-dialogue-change-face 'riece-dialogue-change-face
-  "Face used for displaying \"*** Change:\" line."
-  :type 'face
-  :group 'riece-highlight-faces)
-
-(defcustom riece-dialogue-notice-face 'riece-dialogue-notice-face
-  "Face used for displaying \"*** Notice:\" line."
-  :type 'face
-  :group 'riece-highlight-faces)
-
-(defcustom riece-dialogue-wallops-face 'riece-dialogue-wallops-face
-  "Face used for displaying \"*** Wallops:\" line."
-  :type 'face
-  :group 'riece-highlight-faces)
-  
-(defcustom riece-dialogue-error-face 'riece-dialogue-error-face
-  "Face used for displaying \"*** Error:\" line."
-  :type 'face
-  :group 'riece-highlight-faces)
-
-(defcustom riece-dialogue-info-face 'riece-dialogue-info-face
-  "Face used for displaying \"*** Info:\" line."
-  :type 'face
-  :group 'riece-highlight-faces)
-
-(defcustom riece-dialogue-server-face 'riece-dialogue-server-face
-  "Face used for displaying \"(from server)\" extent."
-  :type 'face
-  :group 'riece-highlight-faces)
-
-(defcustom riece-dialogue-prefix-face 'riece-dialogue-prefix-face
-  "Face used for displaying \"<nick>\" extent."
-  :type 'face
-  :group 'riece-highlight-faces)
-
 (defface riece-dialogue-change-face
   '((((class color)
       (background dark))
 (defface riece-dialogue-change-face
   '((((class color)
       (background dark))
@@ -85,6 +52,7 @@
      (:bold t)))
   "Face used for displaying \"*** Change:\" line"
   :group 'riece-highlight-faces)
      (:bold t)))
   "Face used for displaying \"*** Change:\" line"
   :group 'riece-highlight-faces)
+(defvar riece-dialogue-change-face 'riece-dialogue-change-face)
 
 (defface riece-dialogue-notice-face
   '((((class color)
 
 (defface riece-dialogue-notice-face
   '((((class color)
@@ -97,6 +65,7 @@
      (:bold t)))
   "Face used for displaying \"*** Notice:\" line"
   :group 'riece-highlight-faces)
      (:bold t)))
   "Face used for displaying \"*** Notice:\" line"
   :group 'riece-highlight-faces)
+(defvar riece-dialogue-notice-face 'riece-dialogue-notice-face)
 
 (defface riece-dialogue-wallops-face
   '((((class color)
 
 (defface riece-dialogue-wallops-face
   '((((class color)
      (:bold t)))
   "Face used for displaying \"*** Wallops:\" line"
   :group 'riece-highlight-faces)
      (:bold t)))
   "Face used for displaying \"*** Wallops:\" line"
   :group 'riece-highlight-faces)
+(defvar riece-dialogue-wallops-face 'riece-dialogue-wallops-face)
 
 (defface riece-dialogue-error-face
   '((((class color)
 
 (defface riece-dialogue-error-face
   '((((class color)
      (:bold t)))
   "Face used for displaying \"*** Error:\" line"
   :group 'riece-highlight-faces)
      (:bold t)))
   "Face used for displaying \"*** Error:\" line"
   :group 'riece-highlight-faces)
+(defvar riece-dialogue-error-face 'riece-dialogue-error-face)
 
 (defface riece-dialogue-info-face
   '((((class color)
 
 (defface riece-dialogue-info-face
   '((((class color)
      (:bold t)))
   "Face used for displaying \"*** Info:\" line"
   :group 'riece-highlight-faces)
      (:bold t)))
   "Face used for displaying \"*** Info:\" line"
   :group 'riece-highlight-faces)
+(defvar riece-dialogue-info-face 'riece-dialogue-info-face)
 
 (defface riece-dialogue-server-face
   '((((class color)
 
 (defface riece-dialogue-server-face
   '((((class color)
      (:bold t)))
   "Face used for displaying \"(from server)\" extent."
   :group 'riece-highlight-faces)
      (:bold t)))
   "Face used for displaying \"(from server)\" extent."
   :group 'riece-highlight-faces)
+(defvar riece-dialogue-server-face 'riece-dialogue-server-face)
 
 (defface riece-dialogue-prefix-face
   '((((class color)
 
 (defface riece-dialogue-prefix-face
   '((((class color)
      (:bold nil)))
   "Face used for displaying \"<nick>\" extent"
   :group 'riece-highlight-faces)
      (:bold nil)))
   "Face used for displaying \"<nick>\" extent"
   :group 'riece-highlight-faces)
+(defvar riece-dialogue-prefix-face 'riece-dialogue-prefix-face)
 
 (defcustom riece-dialogue-font-lock-keywords
   (append
 
 (defcustom riece-dialogue-font-lock-keywords
   (append
   :type '(repeat (list string))
   :group 'riece-highlight)
 
   :type '(repeat (list string))
   :group 'riece-highlight)
 
-(defcustom riece-channel-list-default-face 'riece-channel-list-default-face
-  "Face used for displaying channels."
-  :type 'face
-  :group 'riece-highlight-faces)
-
-(defcustom riece-channel-list-current-face 'riece-channel-list-current-face
-  "Face used for displaying the current channel."
-  :type 'face
-  :group 'riece-highlight-faces)
-
 (defface riece-channel-list-default-face
   '((t ()))
   "Face used for displaying channels."
   :group 'riece-highlight-faces)
 (defface riece-channel-list-default-face
   '((t ()))
   "Face used for displaying channels."
   :group 'riece-highlight-faces)
+(defvar riece-channel-list-default-face 'riece-channel-list-default-face)
 
 (defface riece-channel-list-current-face
   '((((class color)
 
 (defface riece-channel-list-current-face
   '((((class color)
      ()))
   "Face used for displaying the current channel."
   :group 'riece-highlight-faces)
      ()))
   "Face used for displaying the current channel."
   :group 'riece-highlight-faces)
+(defvar riece-channel-list-current-face 'riece-channel-list-current-face)
 
 (defcustom riece-channel-list-mark-face-alist
   '((?* . riece-channel-list-current-face))
 
 (defcustom riece-channel-list-mark-face-alist
   '((?* . riece-channel-list-current-face))
index 64bb382..0f83689 100644 (file)
   :prefix "riece-"
   :group 'riece)
 
   :prefix "riece-"
   :group 'riece)
 
-(defcustom riece-channel-list-unread-face 'riece-channel-list-unread-face
-  "Face used for displaying unread channels."
-  :type 'face
-  :group 'riece-highlight-faces)
-
 (defface riece-channel-list-unread-face
   '((((class color)
       (background dark))
 (defface riece-channel-list-unread-face
   '((((class color)
       (background dark))
@@ -60,6 +55,7 @@
      (:bold t)))
   "Face used for displaying unread channels."
   :group 'riece-highlight-faces)
      (:bold t)))
   "Face used for displaying unread channels."
   :group 'riece-highlight-faces)
+(defvar riece-channel-list-unread-face 'riece-channel-list-unread-face)
 
 (defvar riece-unread-channels nil)
 
 
 (defvar riece-unread-channels nil)