Use lexical binding.
authorDaiki Ueno <ueno@unixuser.org>
Mon, 4 Apr 2011 06:49:01 +0000 (15:49 +0900)
committerDaiki Ueno <ueno@unixuser.org>
Mon, 4 Apr 2011 06:49:01 +0000 (15:49 +0900)
74 files changed:
lisp/ChangeLog
lisp/riece-000.el
lisp/riece-200.el
lisp/riece-300.el
lisp/riece-400.el
lisp/riece-500.el
lisp/riece-addon.el
lisp/riece-alias.el
lisp/riece-async.el
lisp/riece-biff.el
lisp/riece-button.el
lisp/riece-cache.el
lisp/riece-channel.el
lisp/riece-coding.el
lisp/riece-commands.el
lisp/riece-compat.el
lisp/riece-complete.el
lisp/riece-ctcp.el
lisp/riece-ctlseq.el
lisp/riece-debug.el
lisp/riece-desktop-notify.el
lisp/riece-develop.el
lisp/riece-display.el
lisp/riece-doctor.el
lisp/riece-emacs.el
lisp/riece-epg.el
lisp/riece-eval-ruby.el
lisp/riece-eval.el
lisp/riece-filter.el
lisp/riece-foolproof.el
lisp/riece-globals.el
lisp/riece-google.el
lisp/riece-guess.el
lisp/riece-handle.el
lisp/riece-hangman.el
lisp/riece-highlight.el
lisp/riece-history.el
lisp/riece-icon.el
lisp/riece-identity.el
lisp/riece-ignore.el
lisp/riece-irc.el
lisp/riece-kakasi.el
lisp/riece-keepalive.el
lisp/riece-keyword.el
lisp/riece-layout.el
lisp/riece-log.el
lisp/riece-lsdb.el
lisp/riece-mcat-japanese.el
lisp/riece-mcat.el
lisp/riece-menu.el
lisp/riece-message.el
lisp/riece-mini.el
lisp/riece-misc.el
lisp/riece-mode.el
lisp/riece-naming.el
lisp/riece-ndcc.el
lisp/riece-options.el
lisp/riece-rdcc.el
lisp/riece-ruby.el
lisp/riece-server.el
lisp/riece-shrink-buffer.el
lisp/riece-signal.el
lisp/riece-skk-kakutei.el
lisp/riece-toolbar.el
lisp/riece-twitter.el
lisp/riece-unread.el
lisp/riece-url.el
lisp/riece-user.el
lisp/riece-version.el
lisp/riece-xemacs.el
lisp/riece-xface.el
lisp/riece-xfaceb.el
lisp/riece-yank.el
lisp/riece.el

index cb75d22..faea2ca 100644 (file)
@@ -1,3 +1,7 @@
+2011-04-04  Daiki Ueno  <ueno@unixuser.org>
+
+       * Use lexical binding.
+
 2011-03-25  Daiki Ueno  <ueno@unixuser.org>
 
        * riece-url.el (riece-url-regexp): Update the default value.
 2011-03-25  Daiki Ueno  <ueno@unixuser.org>
 
        * riece-url.el (riece-url-regexp): Update the default value.
index bd26fb6..eb867eb 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-000.el --- handlers for 000 replies
+;;; riece-000.el --- handlers for 000 replies -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
@@ -35,7 +35,7 @@
   (riece-default-handle-numeric-reply
    riece-info-prefix prefix number name string))
 
   (riece-default-handle-numeric-reply
    riece-info-prefix prefix number name string))
 
-(defun riece-handle-001-message (prefix number name string)
+(defun riece-handle-001-message (prefix _number name string)
   "RPL_WELCOME \"Welcome to the Internet Relay Network <nick>!<user>@<host>\""
   (if riece-real-server-name
       (error (riece-mcat "Already registered")))
   "RPL_WELCOME \"Welcome to the Internet Relay Network <nick>!<user>@<host>\""
   (if riece-real-server-name
       (error (riece-mcat "Already registered")))
@@ -64,7 +64,7 @@
          (riece-command-join-channel identity (nth 1 entry)))
       (setq channel-list (cdr channel-list)))))
 
          (riece-command-join-channel identity (nth 1 entry)))
       (setq channel-list (cdr channel-list)))))
 
-(defun riece-handle-004-message (prefix number name string)
+(defun riece-handle-004-message (_prefix _number _name string)
   "RPL_MYINFO \"<umodes> <chnlmodes>\""
   (if (string-match "^[^ ]+ +[^ ]+ +\\([^ ]+\\) +" string)
       (setq riece-supported-user-modes
   "RPL_MYINFO \"<umodes> <chnlmodes>\""
   (if (string-match "^[^ ]+ +[^ ]+ +\\([^ ]+\\) +" string)
       (setq riece-supported-user-modes
index 47256d2..279e7d0 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-200.el --- handlers for 200 replies
+;;; riece-200.el --- handlers for 200 replies -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index ad43b24..62e2f64 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-300.el --- handlers for 300 replies
+;;; riece-300.el --- handlers for 300 replies -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
@@ -35,7 +35,7 @@
   (riece-default-handle-numeric-reply
    riece-info-prefix prefix number name string))
 
   (riece-default-handle-numeric-reply
    riece-info-prefix prefix number name string))
 
-(defun riece-handle-302-message (prefix number name string)
+(defun riece-handle-302-message (_prefix _number _name string)
   "RPL_USERHOST \":*1<reply> *( \" \" <reply> )\""
   (let ((replies (split-string (if (eq (aref string 0) ?:)
                                   (substring string 1)
   "RPL_USERHOST \":*1<reply> *( \" \" <reply> )\""
   (let ((replies (split-string (if (eq (aref string 0) ?:)
                                   (substring string 1)
@@ -76,7 +76,7 @@
              "\n"))))
       (setq replies (cdr replies)))))
 
              "\n"))))
       (setq replies (cdr replies)))))
 
-(defun riece-handle-303-message (prefix number name string)
+(defun riece-handle-303-message (_prefix _number _name string)
   (riece-insert-info
    (list riece-dialogue-buffer riece-others-buffer)
    (concat
   (riece-insert-info
    (list riece-dialogue-buffer riece-others-buffer)
    (concat
@@ -94,7 +94,7 @@
              "")))
     "\n")))
 
              "")))
     "\n")))
 
-(defun riece-handle-301-message (prefix number name string)
+(defun riece-handle-301-message (_prefix _number _name string)
   (if (string-match (concat "^\\([^ ]+\\) :?") string)
       (let ((user (match-string 1 string))
            (message (substring string (match-end 0))))
   (if (string-match (concat "^\\([^ ]+\\) :?") string)
       (let ((user (match-string 1 string))
            (message (substring string (match-end 0))))
                   message))
          "\n")))))
 
                   message))
          "\n")))))
 
-(defun riece-handle-305-message (prefix number name string)
+(defun riece-handle-305-message (_prefix _number _name _string)
   (riece-user-toggle-away riece-real-nickname nil)
   (riece-emit-signal 'user-away-changed
                      (riece-make-identity riece-real-nickname
                                           riece-server-name)
                      nil))
 
   (riece-user-toggle-away riece-real-nickname nil)
   (riece-emit-signal 'user-away-changed
                      (riece-make-identity riece-real-nickname
                                           riece-server-name)
                      nil))
 
-(defun riece-handle-306-message (prefix number name string)
+(defun riece-handle-306-message (_prefix _number _name _string)
   (riece-user-toggle-away riece-real-nickname t)
   (riece-emit-signal 'user-away-changed
                     (riece-make-identity riece-real-nickname
                                          riece-server-name)
                     t))
 
   (riece-user-toggle-away riece-real-nickname t)
   (riece-emit-signal 'user-away-changed
                     (riece-make-identity riece-real-nickname
                                          riece-server-name)
                     t))
 
-(defun riece-handle-311-message (prefix number name string)
+(defun riece-handle-311-message (_prefix _number _name string)
   (if (string-match
        (concat "^\\([^ ]+\\) \\([^ ]+\\) \\([^ ]+\\) \\* :?")
        string)
   (if (string-match
        (concat "^\\([^ ]+\\) \\([^ ]+\\) \\([^ ]+\\) \\* :?")
        string)
                   user-at-host))
          "\n")))))
 
                   user-at-host))
          "\n")))))
 
-(defun riece-handle-312-message (prefix number name string)
+(defun riece-handle-312-message (_prefix _number _name string)
   (if (string-match
        (concat "^\\([^ ]+\\) \\([^ ]+\\) :?")
        string)
   (if (string-match
        (concat "^\\([^ ]+\\) \\([^ ]+\\) :?")
        string)
                 (substring string (match-end 0))))
        "\n"))))
 
                 (substring string (match-end 0))))
        "\n"))))
 
-(defun riece-handle-313-message (prefix number name string)
+(defun riece-handle-313-message (_prefix _number _name string)
   (if (string-match "^[^ ]+" string)
       (let ((user (match-string 0 string)))
        (riece-insert-info
   (if (string-match "^[^ ]+" string)
       (let ((user (match-string 0 string)))
        (riece-insert-info
                    t)))
          "\n")))))
 
                    t)))
          "\n")))))
 
-(defun riece-handle-317-message (prefix number name string)
+(defun riece-handle-317-message (_prefix _number _name string)
   (if (string-match
        (concat "^\\([^ ]+\\) \\([0-9]+\\) ")
        string)
   (if (string-match
        (concat "^\\([^ ]+\\) \\([0-9]+\\) ")
        string)
                              " ")))
          "\n")))))
 
                              " ")))
          "\n")))))
 
-(defun riece-handle-319-message (prefix number name string)
+(defun riece-handle-319-message (_prefix _number _name string)
   (if (string-match (concat "^\\([^ ]+\\) :?") string)
       (let ((user (match-string 1 string))
            (channels
   (if (string-match (concat "^\\([^ ]+\\) :?") string)
       (let ((user (match-string 1 string))
            (channels
                   channels))
          "\n")))))
 
                   channels))
          "\n")))))
 
-(defun riece-handle-351-message (prefix number name string)
+(defun riece-handle-351-message (_prefix _number _name string)
   (if (string-match "\\([^ ]+\\.[^ ]+\\) \\([^ ]+\\) :?" string)
       (riece-insert-info
        (list riece-dialogue-buffer riece-others-buffer)
   (if (string-match "\\([^ ]+\\.[^ ]+\\) \\([^ ]+\\) :?" string)
       (riece-insert-info
        (list riece-dialogue-buffer riece-others-buffer)
        "\n"))))
 
 (defvar riece-353-message-alist nil)
        "\n"))))
 
 (defvar riece-353-message-alist nil)
-(defun riece-handle-353-message (prefix number name string)
+(defun riece-handle-353-message (_prefix _number _name string)
   "RPL_NAMREPLY        \"[=\*@] <channel> :[[@|+]<nick> [[@|+]<nick> [...]]]\"."
   (make-local-variable 'riece-353-message-alist)      
   (if (string-match "^[=\*@] *\\([^ ]+\\) +:?" string)
   "RPL_NAMREPLY        \"[=\*@] <channel> :[[@|+]<nick> [[@|+]<nick> [...]]]\"."
   (make-local-variable 'riece-353-message-alist)      
   (if (string-match "^[=\*@] *\\([^ ]+\\) +:?" string)
                            (concat (substring string (match-end 0)) " "))
                      riece-353-message-alist))))))
 
                            (concat (substring string (match-end 0)) " "))
                      riece-353-message-alist))))))
 
-(defun riece-handle-322-message (prefix number name decoded)
+(defun riece-handle-322-message (_prefix _number _name decoded)
   (let* ((parameters (riece-split-parameters (riece-decoded-string decoded)))
         (channel (car parameters))
         (visible (nth 1 parameters))
   (let* ((parameters (riece-split-parameters (riece-decoded-string decoded)))
         (channel (car parameters))
         (visible (nth 1 parameters))
               (riece-format-identity channel-identity t) visible topic))
       "\n"))))
 
               (riece-format-identity channel-identity t) visible topic))
       "\n"))))
 
-(defun riece-handle-324-message (prefix number name string)
+(defun riece-handle-324-message (_prefix _number _name string)
   (if (string-match "^\\([^ ]+\\) \\([^ ]+\\) " string)
       (let* ((channel (match-string 1 string))
             (mode-string (match-string 2 string)))
   (if (string-match "^\\([^ ]+\\) \\([^ ]+\\) " string)
       (let* ((channel (match-string 1 string))
             (mode-string (match-string 2 string)))
                     mode-string))
            "\n"))))))
 
                     mode-string))
            "\n"))))))
 
-(defun riece-handle-set-topic (prefix number name decoded remove)
+(defun riece-handle-set-topic (_prefix _number _name decoded remove)
   (let* ((parameters (riece-split-parameters (riece-decoded-string decoded)))
         (channel (car parameters))
         topic
   (let* ((parameters (riece-split-parameters (riece-decoded-string decoded)))
         (channel (car parameters))
         topic
 (defun riece-handle-332-message (prefix number name string)
   (riece-handle-set-topic prefix number name string nil))
 
 (defun riece-handle-332-message (prefix number name string)
   (riece-handle-set-topic prefix number name string nil))
 
-(defun riece-handle-341-message (prefix number name string)
+(defun riece-handle-341-message (_prefix _number _name string)
   (if (string-match "^\\([^ ]+\\) " string)
       (let* ((channel (substring string (match-end 0)))
             (user (match-string 1 string))
   (if (string-match "^\\([^ ]+\\) " string)
       (let* ((channel (substring string (match-end 0)))
             (user (match-string 1 string))
                   (riece-format-identity channel-identity t)))
          "\n")))))
 
                   (riece-format-identity channel-identity t)))
          "\n")))))
 
-(defun riece-handle-352-message (prefix number name string)
+(defun riece-handle-352-message (_prefix _number _name string)
   (if (string-match "^\\([^ ]+\\) \\([^ ]+\\) \\([^ ]+\\) \\([^ ]+\\) \\([^ ]+\\) \\([HG]\\)\\(\\*\\)?\\([@+]\\)? :\\([0-9]+\\) " string)
       (let* ((channel (match-string 1 string))
             (user (match-string 2 string))
   (if (string-match "^\\([^ ]+\\) \\([^ ]+\\) \\([^ ]+\\) \\([^ ]+\\) \\([^ ]+\\) \\([HG]\\)\\(\\*\\)?\\([@+]\\)? :\\([0-9]+\\) " string)
       (let* ((channel (match-string 1 string))
             (user (match-string 2 string))
             info)))
          "\n")))))
 
             info)))
          "\n")))))
 
-(defun riece-handle-315-message (prefix number name string))
-(defun riece-handle-318-message (prefix number name string))
-(defun riece-handle-323-message (prefix number name string))
+(defun riece-handle-315-message (_prefix _number _name _string))
+(defun riece-handle-318-message (_prefix _number _name _string))
+(defun riece-handle-323-message (_prefix _number _name _string))
 
 
-(defun riece-handle-366-message (prefix number name string)
+(defun riece-handle-366-message (_prefix _number _name string)
   "RPL_ENDOFNAMES \"<channel> :End of NAMES list\""
   (if (string-match "^\\([^ ]+\\) " string)
       (let* ((channel (match-string 1 string))
   "RPL_ENDOFNAMES \"<channel> :End of NAMES list\""
   (if (string-match "^\\([^ ]+\\) " string)
       (let* ((channel (match-string 1 string))
index 02ded58..960ecaa 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-400.el --- handlers for 400 replies
+;;; riece-400.el --- handlers for 400 replies -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
@@ -42,7 +42,7 @@
     (quit
      (ignore (message "%s" (concat prompt "Quit"))))))
 
     (quit
      (ignore (message "%s" (concat prompt "Quit"))))))
 
-(defun riece-handle-432-message (prefix number name string)
+(defun riece-handle-432-message (_prefix _number _name string)
   "ERR_ERRONEUSNICKNAME        \"<nick> :Erroneous nickname\"."
   (let ((nickname
         (riece-handle-read-string
   "ERR_ERRONEUSNICKNAME        \"<nick> :Erroneous nickname\"."
   (let ((nickname
         (riece-handle-read-string
@@ -51,7 +51,7 @@
     (if nickname
        (riece-send-string (format "NICK %s\r\n" nickname)))))
 
     (if nickname
        (riece-send-string (format "NICK %s\r\n" nickname)))))
 
-(defun riece-handle-433-message (prefix number name string)
+(defun riece-handle-433-message (_prefix _number _name string)
   "ERR_NICKNAMEINUSE \"<nick> :Nickname is already in use\"."
   (let ((nickname
         (riece-handle-read-string
   "ERR_NICKNAMEINUSE \"<nick> :Nickname is already in use\"."
   (let ((nickname
         (riece-handle-read-string
     (if nickname
        (riece-send-string (format "NICK %s\r\n" nickname)))))
 
     (if nickname
        (riece-send-string (format "NICK %s\r\n" nickname)))))
 
-(defun riece-handle-464-message (prefix number name string)
+(defun riece-handle-464-message (prefix _number _name _string)
   "ERR_PASSWDMISMATCH \":Password incorrect\"."
   (message (riece-mcat "Password incorrect from %s.") prefix)
   (setq riece-reconnect-with-password t))
 
   "ERR_PASSWDMISMATCH \":Password incorrect\"."
   (message (riece-mcat "Password incorrect from %s.") prefix)
   (setq riece-reconnect-with-password t))
 
-(defun riece-handle-475-message (prefix number name string)
+(defun riece-handle-475-message (_prefix _number _name string)
   "ERR_BADCHANNELKEY \"<channel> :Cannot join channel (+k)\"."
   (let* ((parameters (riece-split-parameters string))
         (channel-identity (riece-make-identity (car parameters)
   "ERR_BADCHANNELKEY \"<channel> :Cannot join channel (+k)\"."
   (let* ((parameters (riece-split-parameters string))
         (channel-identity (riece-make-identity (car parameters)
index 0bf715c..769c145 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-500.el --- handlers for 500 replies
+;;; riece-500.el --- handlers for 500 replies -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index 61e30f9..f7dab98 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-addon.el --- add-on management
+;;; riece-addon.el --- add-on management -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2004 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2004 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index f2bb695..be37d7b 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-alias.el --- define aliases for IRC names
+;;; riece-alias.el --- define aliases for IRC names -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index 5d143c4..8b84a74 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-async.el --- connect to IRC server via async proxy
+;;; riece-async.el --- connect to IRC server via async proxy -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
@@ -68,7 +68,7 @@ assumed that the file is in the same directory of this file.")
   "Connect to IRC server via async proxy.")
 
 ;;;###autoload
   "Connect to IRC server via async proxy.")
 
 ;;;###autoload
-(defun riece-async-open-network-stream (name buffer host service)
+(defun riece-async-open-network-stream (name buffer _host _service)
   (let* (process-connection-type
         (process
          (apply #'start-process name buffer riece-ruby-command
   (let* (process-connection-type
         (process
          (apply #'start-process name buffer riece-ruby-command
index 63c5dff..36953a3 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-biff.el --- be notified if messages arrives
+;;; riece-biff.el --- be notified if messages arrives -*- lexical-binding: t -*-
 ;; Copyright (C) 2004 OHASHI Akira
 
 ;; Author: OHASHI Akira <bg66@koka-in.org>
 ;; Copyright (C) 2004 OHASHI Akira
 
 ;; Author: OHASHI Akira <bg66@koka-in.org>
@@ -65,7 +65,7 @@
                      riece-biff-check-channels))
       (setq riece-biff-mode-string 'riece-biff-biff-mode-string))))
 
                      riece-biff-check-channels))
       (setq riece-biff-mode-string 'riece-biff-biff-mode-string))))
 
-(defun riece-biff-clear (&optional dummy)
+(defun riece-biff-clear (&optional _dummy)
   (when (get 'riece-biff 'riece-addon-enabled)
     (setq riece-biff-mode-string 'riece-biff-default-mode-string)))
 
   (when (get 'riece-biff 'riece-addon-enabled)
     (setq riece-biff-mode-string 'riece-biff-default-mode-string)))
 
index a04d576..90b4375 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-button.el --- display useful buttons in IRC buffers
+;;; riece-button.el --- display useful buttons in IRC buffers -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
@@ -56,7 +56,7 @@
   "A channel button."
   :action 'riece-button-switch-to-identity
   :help-echo
   "A channel button."
   :action 'riece-button-switch-to-identity
   :help-echo
-  (lambda (widget/window &optional overlay pos)
+  (lambda (widget/window &optional overlay _pos)
     ;; Needed to properly clear the message due to a bug in
     ;; wid-edit (XEmacs only).
     (if (boundp 'help-echo-owns-message)
     ;; Needed to properly clear the message due to a bug in
     ;; wid-edit (XEmacs only).
     (if (boundp 'help-echo-owns-message)
@@ -71,7 +71,7 @@
                   (widget-value (widget-at (riece-overlay-start overlay))))
               (widget-value widget/window))))))
 
                   (widget-value (widget-at (riece-overlay-start overlay))))
               (widget-value widget/window))))))
 
-(defun riece-button-switch-to-identity (widget &optional event)
+(defun riece-button-switch-to-identity (widget &optional _event)
   "Switch to identity stored in WIDGET.
 This function is used as a callback for a channel button."
   (let ((channel (widget-value widget)))
   "Switch to identity stored in WIDGET.
 This function is used as a callback for a channel button."
   (let ((channel (widget-value widget)))
@@ -142,7 +142,7 @@ This function is used as a callback for a channel button."
          (riece-scan-property-region
           'riece-identity
           (region-beginning) (region-end)
          (riece-scan-property-region
           'riece-identity
           (region-beginning) (region-end)
-          (lambda (start end)
+          (lambda (start _end)
             (setq group (cons (get-text-property start 'riece-identity)
                               group)))))
       (setq group (list (get-text-property (point) 'riece-identity))))
             (setq group (cons (get-text-property start 'riece-identity)
                               group)))))
       (setq group (list (get-text-property (point) 'riece-identity))))
@@ -170,7 +170,7 @@ This function is used as a callback for a channel button."
          (riece-scan-property-region
           'riece-identity
           (region-beginning) (region-end)
          (riece-scan-property-region
           'riece-identity
           (region-beginning) (region-end)
-          (lambda (start end)
+          (lambda (start _end)
             (setq group (cons (get-text-property start 'riece-identity)
                               group)))))
       (setq group (list (get-text-property (point) 'riece-identity))))
             (setq group (cons (get-text-property start 'riece-identity)
                               group)))))
       (setq group (list (get-text-property (point) 'riece-identity))))
@@ -303,7 +303,7 @@ This function is used as a callback for a channel button."
        ;; On XEmacs, BUFFER arg of widget-map-buttons is ignored.
        (set-buffer (car pointer))
        (widget-map-buttons
        ;; On XEmacs, BUFFER arg of widget-map-buttons is ignored.
        (set-buffer (car pointer))
        (widget-map-buttons
-        (lambda (widget maparg)
+        (lambda (widget _maparg)
           (widget-leave-text widget)))
        (setq pointer (cdr pointer))))))
 
           (widget-leave-text widget)))
        (setq pointer (cdr pointer))))))
 
index 859f26f..cd52d8f 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-cache.el --- LRU cache
+;;; riece-cache.el --- LRU cache -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2005 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2005 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index a4fc8bd..08f06c1 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-channel.el --- a channel object
+;;; riece-channel.el --- a channel object -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
@@ -52,7 +52,7 @@
 Arguments are appropriate to channel users, topic, modes, banned
 users, invited users, uninvited users, and the channel key,
 respectively."
 Arguments are appropriate to channel users, topic, modes, banned
 users, invited users, uninvited users, and the channel key,
 respectively."
-  (vector users topic modes banned invited uninvited))
+  (vector users topic modes banned invited uninvited key))
 
 (defun riece-get-channel (name)
   (let ((symbol (intern-soft (riece-identity-canonicalize-prefix name)
 
 (defun riece-get-channel (name)
   (let ((symbol (intern-soft (riece-identity-canonicalize-prefix name)
index f6d9dda..b682e7f 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-coding.el --- converting string with coding system
+;;; riece-coding.el --- converting string with coding system -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index 1f47339..a6145cc 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-commands.el --- commands available in command buffer
+;;; riece-commands.el --- commands available in command buffer -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
@@ -308,6 +308,8 @@ the layout to the selected layout-name."
                        "Really want to query LIST without argument? ")))
       (riece-send-string (format "LIST %s\r\n" pattern))))
 
                        "Really want to query LIST without argument? ")))
       (riece-send-string (format "LIST %s\r\n" pattern))))
 
+(defvar riece-temp-minibuffer-message)
+(defvar riece-overriding-server-name)
 (defun riece-command-change-mode (channel change)
   (interactive
    (let* ((completion-ignore-case t)
 (defun riece-command-change-mode (channel change)
   (interactive
    (let* ((completion-ignore-case t)
@@ -341,7 +343,7 @@ the layout to the selected layout-name."
                               (riece-identity-prefix channel)
                               change))))
 
                               (riece-identity-prefix channel)
                               change))))
 
-(defun riece-command-set-operators (users &optional arg)
+(defun riece-command-set-operators (users)
   (interactive
    (progn
      (riece-check-channel-commands-are-usable t)
   (interactive
    (progn
      (riece-check-channel-commands-are-usable t)
@@ -376,7 +378,7 @@ the layout to the selected layout-name."
                 (mapconcat #'identity (nreverse group) " ")))
        (setq group nil)))))
 
                 (mapconcat #'identity (nreverse group) " ")))
        (setq group nil)))))
 
-(defun riece-command-set-speakers (users &optional arg)
+(defun riece-command-set-speakers (users)
   (interactive
    (progn
      (riece-check-channel-commands-are-usable t)
   (interactive
    (progn
      (riece-check-channel-commands-are-usable t)
index fe0547a..3c00cb5 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-compat.el --- compatibility functions
+;;; riece-compat.el --- compatibility functions -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index ac3366b..300bdc9 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-complete.el --- completion
+;;; riece-complete.el --- completion -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index 18eefdc..234a1fe 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-ctcp.el --- CTCP (Client To Client Protocol) support
+;;; riece-ctcp.el --- CTCP (Client To Client Protocol) support -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
@@ -91,7 +91,7 @@
                                             message)))
            t)))))
 
                                             message)))
            t)))))
 
-(defun riece-handle-ctcp-version-request (prefix target string)
+(defun riece-handle-ctcp-version-request (prefix target _string)
   (let* ((target-identity (riece-make-identity target riece-server-name))
         (buffer (if (riece-channel-p target)
                     (riece-channel-buffer target-identity)))
   (let* ((target-identity (riece-make-identity target riece-server-name))
         (buffer (if (riece-channel-p target)
                     (riece-channel-buffer target-identity)))
               (riece-format-identity target-identity t)))
       "\n"))))
 
               (riece-format-identity target-identity t)))
       "\n"))))
 
-(defun riece-handle-ctcp-clientinfo-request (prefix target string)
+(defun riece-handle-ctcp-clientinfo-request (prefix target _string)
   (let* ((target-identity (riece-make-identity target riece-server-name))
         (buffer (if (riece-channel-p target)
                     (riece-channel-buffer target-identity)))
   (let* ((target-identity (riece-make-identity target riece-server-name))
         (buffer (if (riece-channel-p target)
                     (riece-channel-buffer target-identity)))
      "\n")))
 
 (defun riece-handle-ctcp-action-request (prefix target string)
      "\n")))
 
 (defun riece-handle-ctcp-action-request (prefix target string)
-  (let ((buffer (if (riece-channel-p target)
-                   (riece-channel-buffer (riece-make-identity
-                                          target riece-server-name))))
-       (user (riece-prefix-nickname prefix)))
+  (let ((user (riece-prefix-nickname prefix)))
     (riece-display-message
      (riece-make-message (riece-make-identity user
                                              riece-server-name)
     (riece-display-message
      (riece-make-message (riece-make-identity user
                                              riece-server-name)
                         (riece-identity-equal-no-server
                          user riece-real-nickname)))))
 
                         (riece-identity-equal-no-server
                          user riece-real-nickname)))))
 
-(defun riece-handle-ctcp-time-request (prefix target string)
+(defun riece-handle-ctcp-time-request (prefix target _string)
   (let* ((target-identity (riece-make-identity target riece-server-name))
         (buffer (if (riece-channel-p target)
                     (riece-channel-buffer target-identity)))
   (let* ((target-identity (riece-make-identity target riece-server-name))
         (buffer (if (riece-channel-p target)
                     (riece-channel-buffer target-identity)))
                                             message)))
            t)))))
 
                                             message)))
            t)))))
 
-(defun riece-handle-ctcp-version-response (prefix target string)
+(defun riece-handle-ctcp-version-response (prefix _target string)
   (riece-insert-change
    (list riece-dialogue-buffer riece-others-buffer)
    (concat
   (riece-insert-change
    (list riece-dialogue-buffer riece-others-buffer)
    (concat
             string))
     "\n")))
 
             string))
     "\n")))
 
-(defun riece-handle-ctcp-ping-response (prefix target string)
+(defun riece-handle-ctcp-ping-response (prefix _target _string)
   (let* ((now (current-time))
         (elapsed (+ (* 65536 (- (car now) (car riece-ctcp-ping-time)))
                     (- (nth 1 now) (nth 1 riece-ctcp-ping-time)))))
   (let* ((now (current-time))
         (elapsed (+ (* 65536 (- (car now) (car riece-ctcp-ping-time)))
                     (- (nth 1 now) (nth 1 riece-ctcp-ping-time)))))
               elapsed))
       "\n"))))
 
               elapsed))
       "\n"))))
 
-(defun riece-handle-ctcp-clientinfo-response (prefix target string)
+(defun riece-handle-ctcp-clientinfo-response (prefix _target string)
   (riece-insert-change
    (list riece-dialogue-buffer riece-others-buffer)
    (concat
   (riece-insert-change
    (list riece-dialogue-buffer riece-others-buffer)
    (concat
             string))
     "\n")))
 
             string))
     "\n")))
 
-(defun riece-handle-ctcp-time-response (prefix target string)
+(defun riece-handle-ctcp-time-response (prefix _target string)
   (riece-insert-change
    (list riece-dialogue-buffer riece-others-buffer)
    (concat
   (riece-insert-change
    (list riece-dialogue-buffer riece-others-buffer)
    (concat
index 5be24cc..6e4d4db 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-ctlseq.el --- mark up control sequences in IRC buffers
+;;; riece-ctlseq.el --- mark up control sequences in IRC buffers -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2004 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2004 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index 0cad7f4..3a9ede2 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-debug.el --- debug support
+;;; riece-debug.el --- debug support -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2005 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2005 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index ef4b771..da9a199 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-desktop-notify.el --- Display notification to desktop
+;;; riece-desktop-notify.el --- Display notification to desktop -*- lexical-binding: t -*-
 ;; Copyright (C) 2009 OHASHI Akira
 
 ;; Author: OHASHI Akira <bg66@koka-in.org>
 ;; Copyright (C) 2009 OHASHI Akira
 
 ;; Author: OHASHI Akira <bg66@koka-in.org>
@@ -145,7 +145,7 @@ This function must have only one message object as argument."
                  (symbol-name riece-desktop-notify-type)
                  (symbol-name symbol))))
 
                  (symbol-name riece-desktop-notify-type)
                  (symbol-name symbol))))
 
-(defun riece-desktop-notify-keyword-notify-function (keyword message)
+(defun riece-desktop-notify-keyword-notify-function (_keyword message)
   (let ((program-symbol (riece-desktop-notify-make-symbol 'program))
        (args-symbol (riece-desktop-notify-make-symbol 'args)))
     (when (and (boundp program-symbol) (boundp args-symbol))
   (let ((program-symbol (riece-desktop-notify-make-symbol 'program))
        (args-symbol (riece-desktop-notify-make-symbol 'args)))
     (when (and (boundp program-symbol) (boundp args-symbol))
index 6a5c02c..4084268 100644 (file)
@@ -1,4 +1,4 @@
-(defun riece-insert-struct-template (prefix struct)
+(defun riece-insert-struct-template (prefix struct) -*- lexical-binding: t -*-
   (interactive "sPrefix: \nsStruct: ")
   (let (attributes
        optional-attributes
   (interactive "sPrefix: \nsStruct: ")
   (let (attributes
        optional-attributes
index ecfe598..fb61458 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-display.el --- buffer arrangement
+;;; riece-display.el --- buffer arrangement -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
@@ -51,13 +51,13 @@ Local to the buffer in `riece-buffer-list'.")
 (defun riece-display-connect-signals ()
   (riece-connect-signal
    'channel-list-changed
 (defun riece-display-connect-signals ()
   (riece-connect-signal
    'channel-list-changed
-   (lambda (signal handback)
+   (lambda (_signal _handback)
      (with-current-buffer riece-channel-list-buffer
        (run-hooks 'riece-update-buffer-functions))
      (riece-update-channel-list-indicator)))
   (riece-connect-signal
    'user-list-changed
      (with-current-buffer riece-channel-list-buffer
        (run-hooks 'riece-update-buffer-functions))
      (riece-update-channel-list-indicator)))
   (riece-connect-signal
    'user-list-changed
-   (lambda (signal handback)
+   (lambda (_signal _handback)
      (with-current-buffer riece-user-list-buffer
        (run-hooks 'riece-update-buffer-functions)))
    (lambda (signal)
      (with-current-buffer riece-user-list-buffer
        (run-hooks 'riece-update-buffer-functions)))
    (lambda (signal)
@@ -66,7 +66,7 @@ Local to the buffer in `riece-buffer-list'.")
                                riece-current-channel))))
   (riece-connect-signal
    'channel-switched
                                riece-current-channel))))
   (riece-connect-signal
    'channel-switched
-   (lambda (signal handback)
+   (lambda (_signal _handback)
      (riece-update-status-indicators)
      (riece-update-channel-status-indicator)
      (riece-update-channel-indicator)
      (riece-update-status-indicators)
      (riece-update-channel-status-indicator)
      (riece-update-channel-indicator)
@@ -78,7 +78,7 @@ Local to the buffer in `riece-buffer-list'.")
        (riece-redraw-layout))))
   (riece-connect-signal
    'user-joined-channel
        (riece-redraw-layout))))
   (riece-connect-signal
    'user-joined-channel
-   (lambda (signal handback)
+   (lambda (_signal _handback)
      (riece-emit-signal 'user-list-changed riece-current-channel))
    (lambda (signal)
      (and riece-current-channel
      (riece-emit-signal 'user-list-changed riece-current-channel))
    (lambda (signal)
      (and riece-current-channel
@@ -88,7 +88,7 @@ Local to the buffer in `riece-buffer-list'.")
                                     (riece-current-nickname))))))
   (riece-connect-signal
    'user-joined-channel
                                     (riece-current-nickname))))))
   (riece-connect-signal
    'user-joined-channel
-   (lambda (signal handback)
+   (lambda (signal _handback)
      (riece-join-channel (nth 1 (riece-signal-args signal)))
      (riece-switch-to-channel (nth 1 (riece-signal-args signal)))
      (setq riece-join-channel-candidate nil))
      (riece-join-channel (nth 1 (riece-signal-args signal)))
      (riece-switch-to-channel (nth 1 (riece-signal-args signal)))
      (setq riece-join-channel-candidate nil))
@@ -97,7 +97,7 @@ Local to the buffer in `riece-buffer-list'.")
                           (riece-current-nickname))))
   (riece-connect-signal
    'user-left-channel
                           (riece-current-nickname))))
   (riece-connect-signal
    'user-left-channel
-   (lambda (signal handback)
+   (lambda (_signal _handback)
      (riece-emit-signal 'user-list-changed riece-current-channel))
    (lambda (signal)
      (and riece-current-channel
      (riece-emit-signal 'user-list-changed riece-current-channel))
    (lambda (signal)
      (and riece-current-channel
@@ -107,14 +107,14 @@ Local to the buffer in `riece-buffer-list'.")
                                     (riece-current-nickname))))))
   (riece-connect-signal
    'user-left-channel
                                     (riece-current-nickname))))))
   (riece-connect-signal
    'user-left-channel
-   (lambda (signal handback)
+   (lambda (signal _handback)
      (riece-part-channel (nth 1 (riece-signal-args signal))))
    (lambda (signal)
      (riece-identity-equal (car (riece-signal-args signal))
                           (riece-current-nickname))))
   (riece-connect-signal
    'user-renamed
      (riece-part-channel (nth 1 (riece-signal-args signal))))
    (lambda (signal)
      (riece-identity-equal (car (riece-signal-args signal))
                           (riece-current-nickname))))
   (riece-connect-signal
    'user-renamed
-   (lambda (signal handback)
+   (lambda (_signal _handback)
      (riece-emit-signal 'user-list-changed riece-current-channel))
    (lambda (signal)
      (and riece-current-channel
      (riece-emit-signal 'user-list-changed riece-current-channel))
    (lambda (signal)
      (and riece-current-channel
@@ -131,7 +131,7 @@ Local to the buffer in `riece-buffer-list'.")
               t))))))
   (riece-connect-signal
    'user-renamed
               t))))))
   (riece-connect-signal
    'user-renamed
-   (lambda (signal handback)
+   (lambda (_signal _handback)
      (riece-update-status-indicators)
      (riece-update-channel-indicator)
      (force-mode-line-update t))
      (riece-update-status-indicators)
      (riece-update-channel-indicator)
      (force-mode-line-update t))
@@ -140,7 +140,7 @@ Local to the buffer in `riece-buffer-list'.")
                           (riece-current-nickname))))
   (riece-connect-signal
    'user-renamed
                           (riece-current-nickname))))
   (riece-connect-signal
    'user-renamed
-   (lambda (signal handback)
+   (lambda (signal _handback)
      (riece-switch-to-channel (nth 1 (riece-signal-args signal))))
    (lambda (signal)
      (and riece-current-channel
      (riece-switch-to-channel (nth 1 (riece-signal-args signal))))
    (lambda (signal)
      (and riece-current-channel
@@ -148,7 +148,7 @@ Local to the buffer in `riece-buffer-list'.")
                                riece-current-channel))))
   (riece-connect-signal
    'user-renamed
                                riece-current-channel))))
   (riece-connect-signal
    'user-renamed
-   (lambda (signal handback)
+   (lambda (signal _handback)
      (let* ((old-identity (car (riece-signal-args signal)))
            (new-identity (nth 1 (riece-signal-args signal)))
            (pointer (riece-identity-member old-identity
      (let* ((old-identity (car (riece-signal-args signal)))
            (new-identity (nth 1 (riece-signal-args signal)))
            (pointer (riece-identity-member old-identity
@@ -165,7 +165,7 @@ Local to the buffer in `riece-buffer-list'.")
                             riece-channel-buffer-alist))))))))
   (riece-connect-signal
    'user-away-changed
                             riece-channel-buffer-alist))))))))
   (riece-connect-signal
    'user-away-changed
-   (lambda (signal handback)
+   (lambda (_signal _handback)
      (riece-update-status-indicators)
      (force-mode-line-update t))
    (lambda (signal)
      (riece-update-status-indicators)
      (force-mode-line-update t))
    (lambda (signal)
@@ -173,7 +173,7 @@ Local to the buffer in `riece-buffer-list'.")
                           (riece-current-nickname))))
   (riece-connect-signal
    'user-operator-changed
                           (riece-current-nickname))))
   (riece-connect-signal
    'user-operator-changed
-   (lambda (signal handback)
+   (lambda (_signal _handback)
      (riece-update-status-indicators)
      (force-mode-line-update t))
    (lambda (signal)
      (riece-update-status-indicators)
      (force-mode-line-update t))
    (lambda (signal)
@@ -181,7 +181,7 @@ Local to the buffer in `riece-buffer-list'.")
                           (riece-current-nickname))))
   (riece-connect-signal
    'channel-topic-changed
                           (riece-current-nickname))))
   (riece-connect-signal
    'channel-topic-changed
-   (lambda (signal handback)
+   (lambda (_signal _handback)
      (riece-update-long-channel-indicator)
      (force-mode-line-update t))
    (lambda (signal)
      (riece-update-long-channel-indicator)
      (force-mode-line-update t))
    (lambda (signal)
@@ -190,7 +190,7 @@ Local to the buffer in `riece-buffer-list'.")
                                riece-current-channel))))
   (riece-connect-signal
    'channel-modes-changed
                                riece-current-channel))))
   (riece-connect-signal
    'channel-modes-changed
-   (lambda (signal handback)
+   (lambda (_signal _handback)
      (riece-update-long-channel-indicator)
      (force-mode-line-update t))
    (lambda (signal)
      (riece-update-long-channel-indicator)
      (force-mode-line-update t))
    (lambda (signal)
@@ -199,7 +199,7 @@ Local to the buffer in `riece-buffer-list'.")
                                riece-current-channel))))
   (riece-connect-signal
    'channel-operators-changed
                                riece-current-channel))))
   (riece-connect-signal
    'channel-operators-changed
-   (lambda (signal handback)
+   (lambda (_signal _handback)
      (riece-update-channel-status-indicator)
      (riece-emit-signal 'user-list-changed riece-current-channel))
    (lambda (signal)
      (riece-update-channel-status-indicator)
      (riece-emit-signal 'user-list-changed riece-current-channel))
    (lambda (signal)
@@ -208,7 +208,7 @@ Local to the buffer in `riece-buffer-list'.")
                                riece-current-channel))))
   (riece-connect-signal
    'channel-speakers-changed
                                riece-current-channel))))
   (riece-connect-signal
    'channel-speakers-changed
-   (lambda (signal handback)
+   (lambda (_signal _handback)
      (riece-update-channel-status-indicator)
      (riece-emit-signal 'user-list-changed riece-current-channel))
    (lambda (signal)
      (riece-update-channel-status-indicator)
      (riece-emit-signal 'user-list-changed riece-current-channel))
    (lambda (signal)
@@ -217,7 +217,7 @@ Local to the buffer in `riece-buffer-list'.")
                                riece-current-channel))))
   (riece-connect-signal
    'buffer-freeze-changed
                                riece-current-channel))))
   (riece-connect-signal
    'buffer-freeze-changed
-   (lambda (signal handback)
+   (lambda (_signal _handback)
      (riece-update-status-indicators)
      (force-mode-line-update t))))
 
      (riece-update-status-indicators)
      (force-mode-line-update t))))
 
index 0c75ace..ebb3652 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-doctor.el --- pretend to be a psychotherapist
+;;; riece-doctor.el --- pretend to be a psychotherapist -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index cc58b4c..c37a7ac 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-emacs.el --- FSF Emacs specific functions
+;;; riece-emacs.el --- FSF Emacs specific functions -*- lexical-binding: t -*-
 ;; Copyright (C) 1999 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1999 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
@@ -48,7 +48,7 @@
             (car (last (symbol-function function)))
           function)))))
 
             (car (last (symbol-function function)))
           function)))))
 
-(defun riece-popup-menu-popup (menu event)
+(defun riece-popup-menu-popup (menu _event)
   (let ((function (riece-popup-menu-bogus-filter-constructor menu)))
     (if function
        (funcall function))))
   (let ((function (riece-popup-menu-bogus-filter-constructor menu)))
     (if function
        (funcall function))))
index a33d8ad..2b8c415 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-epg.el --- Encrypt/decrypt messages add-on
+;;; riece-epg.el --- Encrypt/decrypt messages add-on -*- lexical-binding: t -*-
 ;; Copyright (C) 2006 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 2006 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
            :notify #'riece-epg-encrypted-button-notify
            (get-text-property start 'riece-epg-encryption-target)))))))
 
            :notify #'riece-epg-encrypted-button-notify
            (get-text-property start 'riece-epg-encryption-target)))))))
 
-(defun riece-epg-encrypted-button-notify (widget &rest ignore)
+(defun riece-epg-encrypted-button-notify (widget &rest _ignore)
   (let* ((from (marker-position (widget-get widget :from)))
         (to (marker-position (widget-get widget :to)))
         (target (widget-get widget :value))
   (let* ((from (marker-position (widget-get widget :from)))
         (to (marker-position (widget-get widget :to)))
         (target (widget-get widget :value))
index 8595a57..58682c9 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-eval-ruby.el --- evaluate input string as a Ruby program
+;;; riece-eval-ruby.el --- evaluate input string as a Ruby program -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2005 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2005 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index 4969bf5..7ffed3f 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-eval.el --- evaluate input string as an elisp form
+;;; riece-eval.el --- evaluate input string as an elisp form -*- lexical-binding: t -*-
 ;; Copyright (C) 2005 OHASHI Akira
 
 ;; Author: OHASHI Akira <bg66@koka-in.org>
 ;; Copyright (C) 2005 OHASHI Akira
 
 ;; Author: OHASHI Akira <bg66@koka-in.org>
index 42900e9..74771f4 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-filter.el --- process filter and sentinel
+;;; riece-filter.el --- process filter and sentinel -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index 9f688d1..7e451b6 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-foolproof.el --- prevent miss-operation in the command buffer
+;;; riece-foolproof.el --- prevent miss-operation in the command buffer -*- lexical-binding: t -*-
 ;; Copyright (C) 2004 TAKAHASHI Kaoru
 
 ;; Author: TAKAHASHI Kaoru <kaoru@kaisei.org>
 ;; Copyright (C) 2004 TAKAHASHI Kaoru
 
 ;; Author: TAKAHASHI Kaoru <kaoru@kaisei.org>
index 3991229..50cec2c 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-globals.el --- global variables and constants.
+;;; riece-globals.el --- global variables and constants. -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index 465d068..d596a06 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-google.el --- search keywords by Google
+;;; riece-google.el --- search keywords by Google -*- lexical-binding: t -*-
 ;; Copyright (C) 2005 OHASHI Akira
 
 ;; Author: OHASHI Akira <bg66@koka-in.org>
 ;; Copyright (C) 2005 OHASHI Akira
 
 ;; Author: OHASHI Akira <bg66@koka-in.org>
@@ -210,7 +210,7 @@ end
                                  (buffer-substring (point-min) (point)))
        (delete-region (point-min) (progn (beginning-of-line 2) (point)))))))
 
                                  (buffer-substring (point-min) (point)))
        (delete-region (point-min) (progn (beginning-of-line 2) (point)))))))
 
-(defun riece-google-sentinel (process string)
+(defun riece-google-sentinel (process _string)
   (delete-process process))
 
 (defun riece-google-send-string (target message)
   (delete-process process))
 
 (defun riece-google-send-string (target message)
index b6fc51e..4b08c09 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-guess.el --- guess the next channel, using multiple methods
+;;; riece-guess.el --- guess the next channel, using multiple methods -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index 9dc1cb7..f2cbf06 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-handle.el --- basic message handlers
+;;; riece-handle.el --- basic message handlers -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
@@ -37,7 +37,7 @@
 (require 'riece-500)
 
 (defun riece-default-handle-numeric-reply
 (require 'riece-500)
 
 (defun riece-default-handle-numeric-reply
-  (client-prefix prefix number name string)
+  (client-prefix _prefix _number _name string)
   (riece-insert
    (list riece-dialogue-buffer riece-others-buffer)
    (concat client-prefix
   (riece-insert
    (list riece-dialogue-buffer riece-others-buffer)
    (concat client-prefix
        (list riece-dialogue-buffer riece-others-buffer)
        (concat (riece-concat-server-name message) "\n")))))
 
        (list riece-dialogue-buffer riece-others-buffer)
        (concat (riece-concat-server-name message) "\n")))))
 
-(defun riece-handle-ping-message (prefix string)
+(defun riece-handle-ping-message (_prefix string)
   (riece-send-string (format "PONG :%s\r\n"
                             (if (eq (aref string 0) ?:)
                                 (substring string 1)
   (riece-send-string (format "PONG :%s\r\n"
                             (if (eq (aref string 0) ?:)
                                 (substring string 1)
index 426935e..8740bf6 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-hangman.el --- allow channel members to play the hangman game
+;;; riece-hangman.el --- allow channel members to play the hangman game -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2004 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2004 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index f40638e..2c47a56 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-highlight.el --- highlight IRC buffers
+;;; riece-highlight.el --- highlight IRC buffers -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
   (if (get 'riece-highlight 'riece-addon-enabled)
       (font-lock-mode 1)))
 
   (if (get 'riece-highlight 'riece-addon-enabled)
       (font-lock-mode 1)))
 
-(defun riece-highlight-hide-prefix (start end length)
+(defun riece-highlight-hide-prefix (start _end _length)
   (save-excursion
     (goto-char start)
     (if (looking-at riece-prefix-regexp)
   (save-excursion
     (goto-char start)
     (if (looking-at riece-prefix-regexp)
index 25b8e7e..3f26a57 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-history.el --- manage history of channel shifting
+;;; riece-history.el --- manage history of channel shifting -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index a137fd0..81ffd13 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-icon.el --- display icons in IRC buffers
+;;; riece-icon.el --- display icons in IRC buffers -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
@@ -195,7 +195,7 @@ static char * a_xpm[] = {
       (defun riece-icon-make-image (data string)
        (make-glyph (list (vector 'xpm :data data)
                          (vector 'string :data string))))
       (defun riece-icon-make-image (data string)
        (make-glyph (list (vector 'xpm :data data)
                          (vector 'string :data string))))
-    (defun riece-icon-make-image (data string)
+    (defun riece-icon-make-image (data _string)
       (create-image data 'xpm t :ascent 'center))))
 
 (defun riece-icon-make-images (alist)
       (create-image data 'xpm t :ascent 'center))))
 
 (defun riece-icon-make-images (alist)
@@ -210,7 +210,7 @@ static char * a_xpm[] = {
   (if (featurep 'xemacs)
       (defun riece-icon-add-image-region (image start end)
        (map-extents
   (if (featurep 'xemacs)
       (defun riece-icon-add-image-region (image start end)
        (map-extents
-        (lambda (extent ignore)
+        (lambda (extent _ignore)
           (if (or (extent-property extent 'riece-icon-user-list-extent)
                   (extent-property extent 'riece-icon-user-list-annotation))
               (delete-extent extent)))
           (if (or (extent-property extent 'riece-icon-user-list-extent)
                   (extent-property extent 'riece-icon-user-list-annotation))
               (delete-extent extent)))
index b1a2f34..7e266df 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-identity.el --- an identity object
+;;; riece-identity.el --- an identity object -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index 27fd4eb..70b383b 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-ignore.el --- ignore messages from some users
+;;; riece-ignore.el --- ignore messages from some users -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2004 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2004 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
@@ -64,7 +64,7 @@ Otherwise, they are not removed from IRC buffers, but are hidden with
   "Ignore messages from some users.")
 (defvar riece-ignored-user-list nil)
 
   "Ignore messages from some users.")
 (defvar riece-ignored-user-list nil)
 
-(defun riece-ignore-user-rename-signal-function (signal handback)
+(defun riece-ignore-user-rename-signal-function (signal _handback)
   (let ((pointer (riece-identity-member (car (riece-signal-args signal))
                                        riece-ignored-user-list)))
     (if pointer
   (let ((pointer (riece-identity-member (car (riece-signal-args signal))
                                        riece-ignored-user-list)))
     (if pointer
index a2c158e..5b56993 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-irc.el --- IRC protocol
+;;; riece-irc.el --- IRC protocol -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2004 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2004 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index f51eb59..bdd45e1 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-kakasi.el --- convert Japanese to roman string by KAKASI
+;;; riece-kakasi.el --- convert Japanese to roman string by KAKASI -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2004 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2004 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index c0c25a6..9d32757 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-keepalive.el --- keep an IRC connection
+;;; riece-keepalive.el --- keep an IRC connection -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2004 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2004 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index 0e6b836..f80ac3d 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-keyword.el --- detect keywords in IRC buffers
+;;; riece-keyword.el --- detect keywords in IRC buffers -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
@@ -48,7 +48,8 @@
   :group 'riece-keyword)
 
 (make-obsolete-variable 'riece-notify-keyword-functions
   :group 'riece-keyword)
 
 (make-obsolete-variable 'riece-notify-keyword-functions
-                       'riece-keyword-notify-functions)
+                       'riece-keyword-notify-functions
+                       "2003-12-22")
 
 (defcustom riece-keyword-notify-functions nil
   "Functions used to notify keyword match.
 
 (defcustom riece-keyword-notify-functions nil
   "Functions used to notify keyword match.
index bb06dc7..ed5897b 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-layout.el --- layout management
+;;; riece-layout.el --- layout management -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index 86b285c..c525d25 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-log.el --- Save IRC logs
+;;; riece-log.el --- Save IRC logs -*- lexical-binding: t -*-
 ;; Copyright (C) 2003 OHASHI Akira
 ;; Copyright (C) 2004 Daiki Ueno
 
 ;; Copyright (C) 2003 OHASHI Akira
 ;; Copyright (C) 2004 Daiki Ueno
 
index 22bbbed..313e240 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-lsdb.el --- help register nicknames in LSDB rolodex program
+;;; riece-lsdb.el --- help register nicknames in LSDB rolodex program -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
@@ -94,7 +94,7 @@
         (table lsdb-hash-table))
      (unless (vectorp table)
        (setq table (make-vector 29 0))
         (table lsdb-hash-table))
      (unless (vectorp table)
        (setq table (make-vector 29 0))
-       (lsdb-maphash (lambda (key value)
+       (lsdb-maphash (lambda (key _value)
                       (intern key table))
                     lsdb-hash-table))
      (list (riece-completing-read-identity
                       (intern key table))
                     lsdb-hash-table))
      (list (riece-completing-read-identity
index bdf5efd..ef6199e 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-mcat.el --- message catalog for Japanese -*- coding: iso-2022-jp -*-
+;;; riece-mcat.el --- message catalog for Japanese -*- coding: iso-2022-jp -*- -*- lexical-binding: t -*-
 ;; Copyright (C) 2007 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 2007 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index f20f68b..ab94aa5 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-mcat.el --- message catalog
+;;; riece-mcat.el --- message catalog -*- lexical-binding: t -*-
 ;; Copyright (C) 2007 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 2007 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index 6e6a6c7..2b5e699 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-menu.el --- setup menus
+;;; riece-menu.el --- setup menus -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 (defconst riece-menu-description
   "Setup Riece's command menus.")
 
 (defconst riece-menu-description
   "Setup Riece's command menus.")
 
-(defun riece-menu-create-layouts-menu (menu)
+(defun riece-menu-create-layouts-menu (_menu)
   (mapcar (lambda (entry)
            (vector (car entry) (list 'riece-command-change-layout (car entry))
                    t))
          riece-layout-alist))
 
   (mapcar (lambda (entry)
            (vector (car entry) (list 'riece-command-change-layout (car entry))
                    t))
          riece-layout-alist))
 
-(defun riece-menu-create-channels-menu (menu)
+(defun riece-menu-create-channels-menu (_menu)
   (delq nil
        (mapcar (lambda (channel)
                  (if channel
   (delq nil
        (mapcar (lambda (channel)
                  (if channel
                                          (riece-identity-prefix channel)) t))))
                riece-current-channels)))
 
                                          (riece-identity-prefix channel)) t))))
                riece-current-channels)))
 
-(defun riece-menu-create-servers-menu (menu)
+(defun riece-menu-create-servers-menu (_menu)
   (mapcar (lambda (entry)
            (list (car entry)
                  (vector (riece-mcat "Open Server")
   (mapcar (lambda (entry)
            (list (car entry)
                  (vector (riece-mcat "Open Server")
index ba156a4..05c6fff 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-message.el --- generate and display message line
+;;; riece-message.el --- generate and display message line -*- lexical-binding: t -*-
 ;; Copyright (C) 1999-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1999-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index da62089..e332b29 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-mini.el --- use Riece only on the minibuffer
+;;; riece-mini.el --- use Riece only on the minibuffer -*- lexical-binding: t -*-
 ;; Copyright (C) 2003 OHASHI Akira
 
 ;; Author: OHASHI Akira <bg66@koka-in.org>
 ;; Copyright (C) 2003 OHASHI Akira
 
 ;; Author: OHASHI Akira <bg66@koka-in.org>
index a23d2fc..6b8cd45 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-misc.el --- miscellaneous functions (not inlined)
+;;; riece-misc.el --- miscellaneous functions (not inlined) -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index b0ad76e..4256db8 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-mode.el --- functions for manipulating channel/user modes
+;;; riece-mode.el --- functions for manipulating channel/user modes -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index cb0e5a9..f8460dc 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-naming.el --- toplevel naming management
+;;; riece-naming.el --- toplevel naming management -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index 8213089..1cf4cb7 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-ndcc.el --- DCC file sending protocol support (written in elisp)
+;;; riece-ndcc.el --- DCC file sending protocol support (written in elisp) -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index af50da7..c886a1c 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-options.el --- customization
+;;; riece-options.el --- customization -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index cf602ff..7b34f28 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-rdcc.el --- DCC file sending protocol support (written in Ruby)
+;;; riece-rdcc.el --- DCC file sending protocol support (written in Ruby) -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
@@ -117,7 +117,7 @@ end
 (defvar jka-compr-compression-info-list)
 (defvar jam-zcat-filename-list)
 
 (defvar jka-compr-compression-info-list)
 (defvar jam-zcat-filename-list)
 
-(defun riece-rdcc-output-handler (name output time)
+(defun riece-rdcc-output-handler (name output _time)
   (if (string-match "\\([0-9]+\\) \\([0-9]+\\)" output)
       (let ((address (match-string 1 output))
            (port (match-string 2 output)))
   (if (string-match "\\([0-9]+\\) \\([0-9]+\\)" output)
       (let ((address (match-string 1 output))
            (port (match-string 2 output)))
@@ -131,7 +131,7 @@ end
                 (riece-ruby-property name 'riece-rdcc-request-size)))))
   (riece-ruby-set-output-handler name #'riece-rdcc-output-handler-2))
 
                 (riece-ruby-property name 'riece-rdcc-request-size)))))
   (riece-ruby-set-output-handler name #'riece-rdcc-output-handler-2))
 
-(defun riece-rdcc-output-handler-2 (name output time)
+(defun riece-rdcc-output-handler-2 (name output _time)
   (message (riece-mcat "Sending %s...(%s/%d)")
           (riece-ruby-property name 'riece-rdcc-request-file)
           (string-to-number output)
   (message (riece-mcat "Sending %s...(%s/%d)")
           (riece-ruby-property name 'riece-rdcc-request-file)
           (string-to-number output)
@@ -195,7 +195,7 @@ end
     (if (= riece-rdcc-received-size riece-rdcc-request-size)
        (set-process-filter process nil))))
 
     (if (= riece-rdcc-received-size riece-rdcc-request-size)
        (set-process-filter process nil))))
 
-(defun riece-rdcc-sentinel (process status)
+(defun riece-rdcc-sentinel (process _status)
   (with-current-buffer (process-buffer process)
     (unless (= riece-rdcc-received-size riece-rdcc-request-size)
       (error "Premature end of file"))
   (with-current-buffer (process-buffer process)
     (unless (= riece-rdcc-received-size riece-rdcc-request-size)
       (error "Premature end of file"))
index 0b7ae64..ac8ab42 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-ruby.el --- interact with Ruby interpreter
+;;; riece-ruby.el --- interact with Ruby interpreter -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2005 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2005 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
@@ -246,7 +246,7 @@ Use `riece-ruby-set-property' to set this variable.")
              (cons (list name (cons output time))
                    riece-ruby-output-queue-alist))))))
 
              (cons (list name (cons output time))
                    riece-ruby-output-queue-alist))))))
 
-(defun riece-ruby-sentinel (process status)
+(defun riece-ruby-sentinel (process _status)
   (kill-buffer (process-buffer process)))
 
 (defun riece-ruby-execute (program)
   (kill-buffer (process-buffer process)))
 
 (defun riece-ruby-execute (program)
index 46c8148..c189ae4 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-server.el --- functions to open and close servers
+;;; riece-server.el --- functions to open and close servers -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index 38091a0..ac89ec9 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-shrink-buffer.el --- free old IRC messages to save memory usage
+;;; riece-shrink-buffer.el --- free old IRC messages to save memory usage -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2005 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2005 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index d5fe870..9d8204c 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-signal.el --- "signal-slot" abstraction for routing display events
+;;; riece-signal.el --- "signal-slot" abstraction for routing display events -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index 63f29d2..ca003cd 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-skk-kakutei.el --- remove SKK's preedit mark before sending messages
+;;; riece-skk-kakutei.el --- remove SKK's preedit mark before sending messages -*- lexical-binding: t -*-
 ;; Copyright (C) 2003 TAKAHASHI Kaoru
 
 ;; Author: TAKAHASHI Kaoru <kaoru@kaisei.org>
 ;; Copyright (C) 2003 TAKAHASHI Kaoru
 
 ;; Author: TAKAHASHI Kaoru <kaoru@kaisei.org>
index 0f28319..74eac84 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-toolbar.el --- display toolbar icons
+;;; riece-toolbar.el --- display toolbar icons -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2004 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2004 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
@@ -66,7 +66,7 @@
   (if (featurep 'xemacs)
       (if (featurep 'toolbar)
          (progn
   (if (featurep 'xemacs)
       (if (featurep 'toolbar)
          (progn
-           (defun riece-make-toolbar-from-menu (items menu-items map)
+           (defun riece-make-toolbar-from-menu (items _menu-items _map)
              (let ((pointer items)
                    toolbar
                    file
              (let ((pointer items)
                    toolbar
                    file
        (defalias 'riece-make-toolbar-from-menu 'ignore)
        (defalias 'riece-set-toolbar 'ignore)
        (defalias 'riece-unset-toolbar 'ignore))
        (defalias 'riece-make-toolbar-from-menu 'ignore)
        (defalias 'riece-set-toolbar 'ignore)
        (defalias 'riece-unset-toolbar 'ignore))
-    (defun riece-make-toolbar-from-menu (items menu-items map)
+    (defun riece-make-toolbar-from-menu (items _menu-items map)
       (let ((pointer items)
            (tool-bar-map (make-sparse-keymap)))
        (while pointer
       (let ((pointer items)
            (tool-bar-map (make-sparse-keymap)))
        (while pointer
index a227cbb..5cf7b6d 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-twitter.el --- post your status to Twitter
+;;; riece-twitter.el --- post your status to Twitter -*- lexical-binding: t -*-
 ;; Copyright (C) 2007 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 2007 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
@@ -87,7 +87,7 @@
                                 "-d" "source=riece"))))))
     (set-process-sentinel process #'riece-twitter-sentinel)))
 
                                 "-d" "source=riece"))))))
     (set-process-sentinel process #'riece-twitter-sentinel)))
 
-(defun riece-twitter-sentinel (process status)
+(defun riece-twitter-sentinel (_process status)
   (if (equal status "finished\n")
       (message "Sending to Twitter...done")
     (message "Sending to Twitter...failed: %s"
   (if (equal status "finished\n")
       (message "Sending to Twitter...done")
     (message "Sending to Twitter...failed: %s"
index c07c840..3b1f84d 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-unread.el --- mark channels where new messages arrived
+;;; riece-unread.el --- mark channels where new messages arrived -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
@@ -84,7 +84,7 @@
          (setq riece-unread-channels (cons target riece-unread-channels))
          (riece-emit-signal 'channel-list-changed)))))
 
          (setq riece-unread-channels (cons target riece-unread-channels))
          (riece-emit-signal 'channel-list-changed)))))
 
-(defun riece-unread-after-switch-to-channel-function (last)
+(defun riece-unread-after-switch-to-channel-function (_last)
   (if (get 'riece-unread 'riece-addon-enabled)
       (setq riece-unread-channels
            (delq (car (riece-identity-member riece-current-channel
   (if (get 'riece-unread 'riece-addon-enabled)
       (setq riece-unread-channels
            (delq (car (riece-identity-member riece-current-channel
index 7256843..3e09af4 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-url.el --- collect URL in IRC buffers
+;;; riece-url.el --- collect URL in IRC buffers -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
@@ -129,7 +129,7 @@ This maps a string \"Bug#12345\" to a URL
                          (mapcar #'list riece-urls))))
   (browse-url url))
 
                          (mapcar #'list riece-urls))))
   (browse-url url))
 
-(defun riece-url-create-menu (menu)
+(defun riece-url-create-menu (_menu)
   (mapcar (lambda (url)
            (vector url (list 'browse-url url)))
          riece-urls))
   (mapcar (lambda (url)
            (vector url (list 'browse-url url)))
          riece-urls))
index c780e61..9daf51a 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-user.el --- a user object
+;;; riece-user.el --- a user object -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index 49fb1fb..36130fe 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-version.el --- version information handling
+;;; riece-version.el --- version information handling -*- lexical-binding: t -*-
 ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
 ;;        Free Software Foundation, Inc.
 ;; Copyright (C) 1998-2003 Daiki Ueno
 ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
 ;;        Free Software Foundation, Inc.
 ;; Copyright (C) 1998-2003 Daiki Ueno
index 4ebad2b..f0512ad 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-xemacs.el --- XEmacs specific functions
+;;; riece-xemacs.el --- XEmacs specific functions -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index d43cf5e..391490a 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-xface.el --- display X-Face in IRC buffers
+;;; riece-xface.el --- display X-Face in IRC buffers -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
index 18cd715..d504d2b 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-xfaceb.el --- display X-Face/Colour Face in IRC buffers
+;;; riece-xfaceb.el --- display X-Face/Colour Face in IRC buffers -*- lexical-binding: t -*-
 ;; Copyright (C) 2005 Daiki Ueno
 
 ;; Author: Steve Youngs <steve@sxemacs.org>
 ;; Copyright (C) 2005 Daiki Ueno
 
 ;; Author: Steve Youngs <steve@sxemacs.org>
index 914d05f..6c7aa37 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece-yank.el --- enter the element of kill-ring
+;;; riece-yank.el --- enter the element of kill-ring -*- lexical-binding: t -*-
 ;; Copyright (C) 2004 Masatake YAMATO
 
 ;; Author: Masatake YAMATO <jet@gyve.org>
 ;; Copyright (C) 2004 Masatake YAMATO
 
 ;; Author: Masatake YAMATO <jet@gyve.org>
index bce18ad..0b99038 100644 (file)
@@ -1,4 +1,4 @@
-;;; riece.el --- IRC client for Emacsen
+;;; riece.el --- IRC client for Emacsen -*- lexical-binding: t -*-
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Copyright (C) 1998-2003 Daiki Ueno
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
@@ -245,6 +245,7 @@ If optional argument SAFE is nil, overwrite previous definitions."
 
 (defvar print-quoted)
 (defvar print-escape-multibyte)
 
 (defvar print-quoted)
 (defvar print-escape-multibyte)
+(defvar print-readably)
 (defun riece-save-variables-files ()
   "Save current settings to `riece-saved-variables-file'."
   (message (riece-mcat "Saving %s...") riece-saved-variables-file)
 (defun riece-save-variables-files ()
   "Save current settings to `riece-saved-variables-file'."
   (message (riece-mcat "Saving %s...") riece-saved-variables-file)