(kill-all-local-variables)
(buffer-disable-undo)
(setq major-mode 'riece-addon-list-mode
- mode-name "AddOns"
+ mode-name "AddOns"
mode-line-buffer-identification
(riece-mode-line-buffer-identification '("Riece: %12b"))
truncate-lines t
(delete-char 1)
(insert "-")
(put-text-property point (point) 'riece-addon addon))))))
-
+
(provide 'riece-addon)
;;; riece-addon.el ends here
:tag "Coding"
:prefix "riece-"
:group 'riece)
-
+
(defcustom riece-default-coding-system
(if (featurep 'mule)
(cons 'ctext 'iso-2022-jp-2))
(display-completion-list all))
(delete-region (point) (- (point) (length current)))
(insert completion))))))
-
+
(defun riece-command-open-server (server-name)
(interactive
(list (completing-read "Open server: " riece-server-alist)))
;;; stolen (and renamed) from crm.el.
(defvar riece-completing-read-multiple-separator ",")
(defvar riece-completing-read-multiple-table nil)
-
+
(defun riece-completing-read-multiple-1 (string predicate flag)
"Function used by `riece-completing-read-multiple'.
The value of STRING is the string to be completed.
(defvar riece-update-buffer-functions nil
"Functions to redisplay the buffer.
Local to the buffer in `riece-buffer-list'.")
-
+
(defvar riece-update-indicator-functions
'(riece-update-status-indicators
riece-update-channel-indicator
(doctor-mode))
(setq riece-doctor-patients (cons user riece-doctor-patients))
(riece-doctor-reply
- (car targets)
+ (car targets)
(format
"%s: I am the psychotherapist. \
Please, describe your problems."
user)))
(if (string-match riece-doctor-bye-regexp message)
- (let ((pointer (riece-identity-member user
+ (let ((pointer (riece-identity-member user
riece-doctor-patients t)))
(when pointer
(kill-buffer (riece-doctor-buffer-name user))
(defun riece-kill-all-overlays ()
"Delete all overlays in the current buffer."
(let* ((overlay-lists (overlay-lists))
- (buffer-read-only nil)
- (overlays (delq nil (nconc (car overlay-lists) (cdr overlay-lists)))))
+ (buffer-read-only nil)
+ (overlays (delq nil (nconc (car overlay-lists) (cdr overlay-lists)))))
(while overlays
(delete-overlay (car overlays))
(setq overlays (cdr overlays)))))
(define-key riece-channel-list-mode-map
"g" nil)
(setq riece-guess-enabled nil))
-
+
(provide 'riece-guess)
;;; riece-guess.el ends here
(accept-process-output riece-kakasi-process))
(prog1 (buffer-substring (point-min) (1- (point)))
(delete-region (point-min) (point)))))
-
+
(defun riece-kakasi-message-filter (message)
(if riece-kakasi-enabled
(riece-message-set-text message
(if (or force
(riece-reconfigure-windows-predicate))
(apply (car layout) (cdr layout))))))
-
+
(defun riece-set-window-points ()
(if (get-buffer-window riece-user-list-buffer)
(with-current-buffer riece-user-list-buffer
"Where to look for add-on files."
:type 'directory
:group 'riece-options)
-
+
(defcustom riece-variables-file
(expand-file-name "init" riece-directory)
"Where to look for variables."
(args (list spec)))
(widget-put widget :args args)
widget))
-
+
(defcustom riece-server-alist nil
"An alist mapping server names to plist."
:type 'riece-server-spec
(mapcar (lambda (url)
(vector url (list 'browse-url url)))
riece-urls))
-
+
(defvar riece-dialogue-mode-map)
(defun riece-url-requires ()
(defun riece-url-disable ()
(define-key riece-dialogue-mode-map "U" nil)
(setq riece-url-enabled nil))
-
+
(provide 'riece-url)
;;; riece-url.el ends here
(defun riece-kill-all-overlays ()
"Delete all extents in the current buffer."
(map-extents (lambda (extent ignore)
- (delete-extent extent)
- nil)))
+ (delete-extent extent)
+ nil)))
;;; stolen (and renamed) from nnheaderxm.el.
(defun riece-xemacs-generate-timer-name (&optional prefix)
"^[]{}'`"))
(run-hooks 'riece-command-mode-hook))
-
+
(defun riece-dialogue-mode ()
"Major mode for displaying the IRC dialogue.
All normal editing commands are turned off.
(kill-all-local-variables)
(buffer-disable-undo)
(setq major-mode 'riece-channel-list-mode
- mode-name "Channels"
+ mode-name "Channels"
mode-line-buffer-identification
(riece-mode-line-buffer-identification '("Riece: "))
truncate-lines t
(kill-all-local-variables)
(buffer-disable-undo)
(setq major-mode 'riece-user-list-mode
- mode-name "Users"
+ mode-name "Users"
mode-line-buffer-identification
(riece-mode-line-buffer-identification
'("Riece: " riece-long-channel-indicator " "))
(eq major-mode (nth 2 (car alist))))
(funcall (nth 2 (car alist))))
(setq alist (cdr alist))))))
-
+
(provide 'riece)
;;; riece.el ends here