--*- mode: text; left-margin: 2; fill-column: 70; -*-
+Liece is mainly written by Daiki Ueno <ueno@unixuser.org>.
- Liece is mainly written by Daiki Ueno <ueno@ueda.info.waseda.ac.jp>.
+This package based on Irchat (version 3.01) which has been
+distributed under GPL1 or later.
- This package based on Irchat (version 3.01) which has been
- distributed under GPL1 or later.
-
- Original author of Irchat is Tor Lillqvist <tml@hemuli.atk.vtt.fi>
+Original author of Irchat is Tor Lillqvist <tml@hemuli.atk.vtt.fi>.
* liece-channel.el (liece-channel-list-redisplay-buffer): Search a
channel correctly.
+2003-04-17 Daiki Ueno <daiki@xemacs.org>
+
+ * liece-channel.el: Require 'liece-misc when compiling.
+ (liece-channel-equal): Define as function.
+ (liece-channel-buffer-create): Define as function.
+ (liece-channel-switch-to-last): Define before it is used.
+ * liece-ctcp.el: Require 'liece-misc when compiling.
+ * liece-message.el: Require 'liece-misc when compiling.
+ * liece-misc.el: Move some macros to the beginning of the file.
+ * liece-nick.el: Require 'liece-inlines when compiling.
+ (liece-nick-equal): Define as function.
+ (liece-nick-buffer-create): Define as function.
+
+2003-03-26 Steve Youngs <youngs@xemacs.org>
+
+ * liece-channel.el (liece-channel-p): Don't wrap the string-match
+ in a 'eval-when-compile' to avoid a void variable error.
+ (liece-channel-modeless-p): Ditto.
+
+2003-03-09 Ben Wing <ben@xemacs.org>
+
+ * Makefile.lisp:
+ * Makefile.lisp (autoload): New.
+ Separate autoload building from elc building.
+
+ * liece-make.el (install-update-package-files):
+ Use new `batch-update-directory-autoloads' if available.
+
+2002-12-08 Ville Skyttä <scop@xemacs.org>
+
+ * Makefile.lisp (all): Not a double-colon any more.
+
2002-10-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
* liece-emacs.el: Require pces to avoid compile error.
GOMI = liece-setup.el *.elc
-all:: elc
+all: elc
elc:
$(EMACS) $(FLAGS) -l ./liece-make.el -f autoload-liece \
;;; Code:
(eval-when-compile (require 'liece-inlines))
+(eval-when-compile (require 'liece-misc))
(eval-when-compile (require 'liece-clfns))
(liece-command-join chnl))))
(defun liece-channel-p (chnl)
- (string-match
- (eval-when-compile
- (concat "^" liece-channel-regexp))
- chnl))
+ (string-match (concat "^" liece-channel-regexp) chnl))
(defun liece-channel-modeless-p (chnl)
- (string-match
- (eval-when-compile
- (concat "^" liece-channel-modeless-regexp))
- chnl))
+ (string-match (concat "^" liece-channel-modeless-regexp) chnl))
-(defalias 'liece-channel-equal 'string-equal-ignore-case)
+(defun liece-channel-equal (c1 c2)
+ (string-equal-ignore-case c1 c2))
(defun liece-channel-member (chnl chnls)
"Return non-nil if CHNL is member of CHNLS."
(setq liece-channel-buffer-mode (not liece-channel-buffer-mode)))
(liece-configure-windows))
-(defmacro liece-channel-buffer-create (chnl)
+(defun liece-channel-buffer-create (chnl)
"Create channel buffer of CHNL."
- `(with-current-buffer
- (liece-get-buffer-create (format liece-channel-buffer-format ,chnl))
+ (with-current-buffer
+ (liece-get-buffer-create (format liece-channel-buffer-format chnl))
(let (buffer-read-only)
(liece-insert-info (current-buffer)
(concat (funcall liece-format-time-function
" Created.\n")))
(unless (eq major-mode 'liece-channel-mode)
(liece-channel-mode))
- (set-alist 'liece-channel-buffer-alist ,chnl (current-buffer))
+ (set-alist 'liece-channel-buffer-alist chnl (current-buffer))
(current-buffer)))
(defun liece-channel-join-internal (item chnls &optional hints)
liece-nick-buffer nbuf))
(liece-channel-change)))
+(defmacro liece-channel-switch-to-last (chnls)
+ `(let ((chnl (liece-channel-last ,chnls)))
+ (if chnl
+ (liece-switch-to-channel chnl))
+ (liece-channel-change)))
+
(defun liece-channel-part-internal (item chnls &optional hints)
(if hints
(mapcar
(defun liece-channel-last (chnls)
(car (last chnls)))
-(defun liece-channel-switch-to-last (chnls)
- (let ((chnl (liece-channel-last chnls)))
- (if chnl
- (liece-switch-to-channel chnl))
- (liece-channel-change)))
-
(defun liece-channel-change ()
(let ((chnls (if (eq liece-command-buffer-mode 'chat)
liece-current-chat-partners
;;; Code:
(eval-when-compile (require 'liece-inlines))
+(eval-when-compile (require 'liece-misc))
(require 'liece-handler)
(eval-when-compile
(require 'liece-intl)
(require 'liece-inlines)
- (require 'liece-channel))
+ (require 'liece-channel)
+ (require 'liece-misc))
(eval-when-compile (require 'queue-m))
(eval-when-compile
(require 'liece-compat)
- (require 'liece-vars))
+ (require 'liece-vars)
+ (require 'liece-misc))
(eval-when-compile (ignore-errors (require 'image)))
(princ (format "Wrote %s\n"
(expand-file-name "custom-load.elc" dir))))
(t
- (setq autoload-package-name package)
- (add-to-list 'command-line-args-left dir)
- (batch-update-directory)
+ (if (fboundp 'batch-update-directory-autoloads)
+ (progn
+ (setq command-line-args-left
+ (cons package (cons dir command-line-args-left)))
+ (batch-update-directory-autoloads))
+ (setq autoload-package-name package)
+ (add-to-list 'command-line-args-left dir)
+ (batch-update-directory))
(add-to-list 'command-line-args-left dir)
(Custom-make-dependencies)
;;; Code:
+(eval-when-compile (require 'liece-misc))
+
(defgroup liece-message nil
"Messages"
:tag "Message"
liece-freeze-indicator (if liece-freeze "F" "-"))
(force-mode-line-update)))
-(defmacro liece-frozen (buffer)
- (list 'with-current-buffer buffer 'liece-freeze))
+(defun liece-frozen (buffer)
+ (with-current-buffer buffer liece-freeze))
(defun liece-own-freeze (buffer &optional arg)
(with-current-buffer buffer
liece-own-freeze-indicator (if liece-own-freeze "M" "-"))
(force-mode-line-update)))
-(defmacro liece-own-frozen (buffer)
- (list 'with-current-buffer buffer 'liece-own-freeze))
+(defun liece-own-frozen (buffer)
+ (with-current-buffer buffer liece-own-freeze))
(defun liece-ignore-this-p (nick user-at-host)
;; Remove entries which are expired.
;;; Code:
+(eval-when-compile (require 'liece-inlines))
+
(require 'liece-hilit)
(defalias 'liece-nick-set-operator 'liece-channel-set-operator)
(defalias 'liece-nick-set-voice 'liece-channel-set-voice)
-(defalias 'liece-nick-equal 'string-equal-ignore-case)
+(defun liece-nick-equal (n1 n2)
+ (string-equal-ignore-case n1 n2))
(defun liece-nick-member (nick nicks)
"Return non-nil if NICK is member of NICKS."
(setq liece-nick-buffer-mode (not liece-nick-buffer-mode)))
(liece-configure-windows))
-(defmacro liece-nick-buffer-create (chnl)
- `(with-current-buffer
- (liece-get-buffer-create (format liece-nick-buffer-format ,chnl))
+(defun liece-nick-buffer-create (chnl)
+ (with-current-buffer
+ (liece-get-buffer-create (format liece-nick-buffer-format chnl))
(unless (eq major-mode 'liece-nick-mode)
(liece-nick-mode))
- (set-alist 'liece-nick-buffer-alist ,chnl (current-buffer))
+ (set-alist 'liece-nick-buffer-alist chnl (current-buffer))
(current-buffer)))
(defun liece-change-nick-of-1 (old new nicks)