(riece): Switch to riece-command-buffer before riece-redisplay-buffers.
* riece-unread.el: Require 'riece-commands.
* riece-server.el: Require 'riece-identity and 'riece-compat.
* riece-ndcc.el: Require 'riece-globals, 'riece-options,
'riece-display.
(riece-handle-dcc-request): Use riece-channel-buffer-name.
* riece-identity.el: Don't require 'riece-server.
* riece-doctor.el: Require 'riece-globals, 'riece-identity,
'riece-message, and 'riece-server.
* riece-ctcp.el: Require 'riece-display.
* riece-commands.el: Require 'riece-layout.
(riece-command-change-layout): New command.
* riece-alias.el: Require 'riece-identity.
riece-user
riece-misc
+ ;; riece-layout ---> riece-display
+ riece-layout
riece-display
riece-server
riece-unread
riece-doctor
riece-alias
- riece-layout
riece-skk-kakutei))))
(defun riece-compile-modules (modules)
2003-08-25 Daiki Ueno <ueno@unixuser.org>
+ * riece.el (riece-dialogue-mode-map): Bind riece-command-change-layout.
+ (riece): Switch to riece-command-buffer before riece-redisplay-buffers.
+
+ * riece-unread.el: Require 'riece-commands.
+
+ * riece-server.el: Require 'riece-identity and 'riece-compat.
+
+ * riece-ndcc.el: Require 'riece-globals, 'riece-options,
+ 'riece-display.
+ (riece-handle-dcc-request): Use riece-channel-buffer-name.
+
+ * riece-identity.el: Don't require 'riece-server.
+
+ * riece-doctor.el: Require 'riece-globals, 'riece-identity,
+ 'riece-message, and 'riece-server.
+
+ * riece-ctcp.el: Require 'riece-display.
+
+ * riece-commands.el: Require 'riece-layout.
+ (riece-command-change-layout): New command.
+
+ * riece-alias.el: Require 'riece-identity.
+
* riece-layout.el: No longer provided as an add-on.
* riece-display.el: Remove window configuration stuff.
;;; Code:
+(require 'riece-identity)
+
(defgroup riece-alias nil
"Define aliases of names"
:prefix "riece-"
(require 'riece-channel)
(require 'riece-complete)
+(require 'riece-layout)
(require 'riece-display)
(require 'riece-version)
(require 'riece-server)
(interactive)
(riece-redisplay-buffers t))
+(defun riece-command-change-layout (name)
+ "Select a layout-name from all current available layouts and change
+the layout to the selected layout-name."
+ (interactive (list (completing-read "Layout: " riece-layout-alist)))
+ (customize-set-variable 'riece-layout name))
+
(defun riece-command-toggle-channel-buffer-mode ()
(interactive)
(setq riece-channel-buffer-mode
(require 'riece-version)
(require 'riece-misc)
+(require 'riece-display)
(defvar riece-ctcp-ping-time nil)
(defvar riece-ctcp-additional-clientinfo nil)
;;; Code:
+(require 'riece-globals)
+(require 'riece-identity)
+(require 'riece-message)
+(require 'riece-server)
+
(defgroup riece-doctor nil
"Interface to doctor.el"
:prefix "riece-"
(require 'riece-globals)
(require 'riece-coding)
-(require 'riece-server)
(require 'riece-compat) ;riece-set-case-syntax-pair
(defvar riece-abbrev-identity-string-function nil)
;;; Code:
+(require 'riece-globals)
+(require 'riece-options)
+(require 'riece-display)
+
(require 'calc)
(defgroup riece-ndcc nil
"DCC" " *DCC*"
(riece-ndcc-decode-address (nth 2 request))
(nth 3 request))))
- (setq riece-rdcc-requests (delq request riece-rdcc-requests))
+ (setq riece-ndcc-requests (delq request riece-ndcc-requests))
(with-current-buffer (process-buffer process)
(set-buffer-multibyte nil)
(buffer-disable-undo)
(port (string-to-number (match-string 3 message)))
(size (string-to-number (match-string 4 message)))
(buffer (if (riece-channel-p target)
- (cdr (riece-identity-assoc
- (riece-make-identity target)
- riece-channel-buffer-alist))))
+ (riece-channel-buffer-name
+ (riece-make-identity target riece-server-name))))
(user (riece-prefix-nickname prefix)))
(setq riece-ndcc-requests
(cons (list user file address port size)
(require 'riece-options)
(require 'riece-globals) ;for server local variables.
(require 'riece-coding) ;riece-default-coding-system
+(require 'riece-identity)
+(require 'riece-compat)
(eval-and-compile
(defvar riece-server-keyword-map
;;; Code:
-(eval-when-compile (require 'riece-message))
+(require 'riece-message)
+(require 'riece-commands)
(defvar riece-unread-channels nil)
"\C-tu" riece-command-toggle-user-list-buffer-mode
"\C-tc" riece-command-toggle-channel-buffer-mode
"\C-tC" riece-command-toggle-channel-list-buffer-mode
+ "\C-tl" riece-command-change-layout
"i" riece-command-invite
"j" riece-command-join
"\C-k" riece-command-kick
(if (stringp riece-server)
(setq riece-server (riece-server-name-to-server riece-server)))
(riece-create-buffers)
+ (switch-to-buffer riece-command-buffer)
(riece-redisplay-buffers)
(riece-open-server riece-server "")
(run-hooks 'riece-startup-hook)