1 ;;; riece-commands.el --- commands available in command buffer
2 ;; Copyright (C) 1998-2003 Daiki Ueno
4 ;; Author: Daiki Ueno <ueno@unixuser.org>
6 ;; Keywords: IRC, riece
8 ;; This file is part of Riece.
10 ;; This program is free software; you can redistribute it and/or modify
11 ;; it under the terms of the GNU General Public License as published by
12 ;; the Free Software Foundation; either version 2, or (at your option)
15 ;; This program is distributed in the hope that it will be useful,
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 ;; GNU General Public License for more details.
20 ;; You should have received a copy of the GNU General Public License
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the
22 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23 ;; Boston, MA 02110-1301, USA.
27 (require 'riece-channel)
28 (require 'riece-complete)
29 (require 'riece-layout)
30 (require 'riece-display)
31 (require 'riece-server)
33 (require 'riece-identity)
34 (require 'riece-message)
38 (defun riece-command-switch-to-channel (channel)
39 (interactive (list (riece-completing-read-identity
40 (riece-mcat "Switch to channel/user: ")
41 riece-current-channels nil t)))
42 (unless (equal channel riece-current-channel)
43 (riece-switch-to-channel channel)))
45 (defun riece-command-switch-to-channel-by-number (number)
47 (let ((command-name (symbol-name this-command)))
48 (if (string-match "[0-9]+$" command-name)
49 (list (string-to-number (match-string 0 command-name)))
50 (list (string-to-number (read-string (riece-mcat "Switch to number: ")))))))
51 (let ((channel (nth (1- number) riece-current-channels)))
53 (riece-command-switch-to-channel channel)
54 (error "No such number!"))))
59 (defalias (intern (concat "riece-command-switch-to-channel-by-number-"
60 (number-to-string number)))
61 'riece-command-switch-to-channel-by-number)
62 (setq number (1+ number)))))
64 (defun riece-command-next-channel ()
65 "Select the next channel."
67 (when (> (length riece-current-channels) 1)
68 (let ((pointer (cdr (riece-identity-member
70 riece-current-channels))))
73 (setq pointer (cdr pointer)))
75 (setq pointer riece-current-channels)
78 (setq pointer (cdr pointer))))
80 (riece-command-switch-to-channel (car pointer))
81 (error "No such channel!")))))
83 (defun riece-command-previous-channel ()
84 "Select the previous channel."
86 (when (> (length riece-current-channels) 1)
87 (let ((pointer (riece-identity-member
89 riece-current-channels))
90 (start riece-current-channels)
92 (while (and start (not (eq start pointer)))
94 (setq channel (car start)))
95 (setq start (cdr start)))
97 (setq start (copy-sequence riece-current-channels))
98 (setq start (delq nil start))
99 (and (> (length start) 1)
100 (setq channel (nth (1- (length start)) start))))
102 (riece-command-switch-to-channel channel)
103 (error "No such channel!")))))
105 (defun riece-command-select-command-buffer ()
106 "Select the command buffer."
108 (let ((window (get-buffer-window riece-command-buffer)))
110 (select-window window))))
112 (defun riece-command-configure-windows ()
114 "Reconfigure windows with the current layout."
115 (riece-redisplay-buffers t))
117 (defun riece-command-suspend-resume ()
119 "Save or restore the current window configuration."
120 (let ((entry (assq 'riece-window-configuration (frame-parameters))))
121 (modify-frame-parameters (selected-frame)
122 (list (cons 'riece-window-configuration
123 (current-window-configuration))))
125 (set-window-configuration (cdr entry))
126 (delete-other-windows))
128 (substitute-command-keys
129 "\\[riece-command-suspend-resume] to get back the last windows"))))
131 (defun riece-command-change-layout (name)
132 "Select a layout-name from all current available layouts and change
133 the layout to the selected layout-name."
134 (interactive (list (completing-read (riece-mcat "Change layout: ")
135 riece-layout-alist)))
136 (setq riece-layout name
137 riece-save-variables-are-dirty t)
138 (riece-command-configure-windows))
140 (defun riece-command-toggle-channel-buffer-mode ()
142 (setq riece-channel-buffer-mode
143 (not riece-channel-buffer-mode)
144 riece-save-variables-are-dirty t)
145 (riece-command-configure-windows))
147 (defun riece-command-toggle-others-buffer-mode ()
149 (setq riece-others-buffer-mode
150 (not riece-others-buffer-mode)
151 riece-save-variables-are-dirty t)
152 (riece-command-configure-windows))
154 (defun riece-command-toggle-user-list-buffer-mode ()
156 (setq riece-user-list-buffer-mode
157 (not riece-user-list-buffer-mode)
158 riece-save-variables-are-dirty t)
159 (riece-command-configure-windows))
161 (defun riece-command-toggle-channel-list-buffer-mode ()
163 (setq riece-channel-list-buffer-mode
164 (not riece-channel-list-buffer-mode)
165 riece-save-variables-are-dirty t)
166 (riece-command-configure-windows))
168 (defun riece-command-finger (user &optional recurse)
170 (let* ((completion-ignore-case t)
171 (user (riece-completing-read-identity
172 (riece-mcat "Finger user: ")
173 (riece-get-users-on-server (riece-current-server-name))
174 nil nil nil nil nil t)))
175 (list user current-prefix-arg)))
177 (riece-send-string (format "WHOIS %s %s\r\n"
178 (riece-identity-prefix user)
179 (riece-identity-prefix user)))
180 (riece-send-string (format "WHOIS %s\r\n" (riece-identity-prefix user)))))
182 (defun riece-command-topic (topic)
185 (riece-check-channel-commands-are-usable t)
186 (list (read-from-minibuffer
187 (riece-mcat "Set topic: ")
188 (cons (or (riece-with-server-buffer
189 (riece-identity-server
190 riece-current-channel)
191 (riece-channel-get-topic
192 (riece-identity-prefix
193 riece-current-channel)))
196 (riece-send-string (format "TOPIC %s :%s\r\n"
197 (riece-identity-prefix riece-current-channel)
199 riece-current-channel))
201 (defun riece-command-invite (user)
203 (let ((completion-ignore-case t))
204 (riece-check-channel-commands-are-usable t)
205 (list (riece-completing-read-identity
206 (riece-mcat "Invite user: ")
207 (riece-get-users-on-server (riece-current-server-name))
208 nil nil nil nil nil t))))
209 (riece-send-string (format "INVITE %s :%s\r\n"
210 (riece-identity-prefix user)
211 (riece-identity-prefix riece-current-channel))))
213 (defun riece-command-kick (user &optional message)
215 (let ((completion-ignore-case t))
216 (riece-check-channel-commands-are-usable t)
217 (list (completing-read
218 (riece-mcat "Kick user: ")
219 (riece-with-server-buffer
220 (riece-identity-server riece-current-channel)
221 (riece-channel-get-users (riece-identity-prefix
222 riece-current-channel))))
223 (if current-prefix-arg
224 (read-string "Message: ")))))
227 (format "KICK %s %s :%s\r\n"
228 (riece-identity-prefix riece-current-channel)
230 (format "KICK %s %s\r\n"
231 (riece-identity-prefix riece-current-channel)
233 riece-current-channel))
235 (defun riece-command-kick-with-ban (user pattern &optional message)
237 (let ((completion-ignore-case t)
239 (riece-check-channel-commands-are-usable t)
240 (riece-with-server-buffer (riece-identity-server riece-current-channel)
241 (setq user (completing-read
242 (riece-mcat "Kick user: ")
243 (riece-channel-get-users (riece-identity-prefix
244 riece-current-channel))))
247 (read-from-minibuffer
248 (riece-mcat "Ban pattern: ")
249 (concat user "!" (riece-user-get-user-at-host user)))
250 (if current-prefix-arg
251 (read-string "Message: "))))))
252 (riece-send-string (format "MODE %s :+b %s\r\n"
253 (riece-identity-prefix riece-current-channel)
255 riece-current-channel)
258 (format "KICK %s %s :%s\r\n"
259 (riece-identity-prefix riece-current-channel)
261 (format "KICK %s %s\r\n"
262 (riece-identity-prefix riece-current-channel)
264 riece-current-channel))
266 (defun riece-command-names (pattern)
268 (let ((completion-ignore-case t))
269 (list (read-from-minibuffer
270 (riece-mcat "NAMES pattern: ")
271 (if (and riece-current-channel
272 (riece-channel-p (riece-identity-prefix
273 riece-current-channel)))
274 (cons (riece-identity-prefix riece-current-channel)
276 (if (or (not (equal pattern ""))
277 (yes-or-no-p (riece-mcat
278 "Really want to query NAMES without argument? ")))
279 (riece-send-string (format "NAMES %s\r\n" pattern))))
281 (defun riece-command-who (pattern)
283 (let ((completion-ignore-case t))
284 (list (read-from-minibuffer
285 (riece-mcat "WHO pattern: ")
286 (if (and riece-current-channel
287 (riece-channel-p (riece-identity-prefix
288 riece-current-channel)))
289 (cons (riece-identity-prefix riece-current-channel)
291 (if (or (not (equal pattern ""))
292 (yes-or-no-p (riece-mcat
293 "Really want to query WHO without argument? ")))
294 (riece-send-string (format "WHO %s\r\n" pattern))))
296 (defun riece-command-list (pattern)
298 (let ((completion-ignore-case t))
299 (list (read-from-minibuffer
300 (riece-mcat "LIST pattern: ")
301 (if (and riece-current-channel
302 (riece-channel-p (riece-identity-prefix
303 riece-current-channel)))
304 (cons (riece-identity-prefix riece-current-channel)
306 (if (or (not (equal pattern ""))
307 (yes-or-no-p (riece-mcat
308 "Really want to query LIST without argument? ")))
309 (riece-send-string (format "LIST %s\r\n" pattern))))
311 (defun riece-command-change-mode (channel change)
313 (let* ((completion-ignore-case t)
315 (if current-prefix-arg
316 (riece-completing-read-identity
317 (riece-mcat "Change mode for channel/user: ")
318 (riece-get-identities-on-server (riece-current-server-name))
319 nil nil nil nil nil t)
320 (riece-check-channel-commands-are-usable t)
321 riece-current-channel))
322 (riece-overriding-server-name (riece-identity-server channel))
323 (riece-temp-minibuffer-message
324 (concat (riece-mcat "[Available modes: ")
325 (riece-with-server-buffer (riece-identity-server channel)
326 (if (riece-channel-p (riece-identity-prefix channel))
327 (if riece-supported-channel-modes
328 (apply #'string riece-supported-channel-modes))
329 (if riece-supported-user-modes
330 (apply #'string riece-supported-user-modes))))
333 (read-from-minibuffer
334 (concat (riece-concat-channel-modes
335 channel (riece-mcat "Mode (? for help)")) ": ")
336 nil riece-minibuffer-map))))
337 (if (equal change "")
338 (riece-send-string (format "MODE %s\r\n"
339 (riece-identity-prefix channel)))
340 (riece-send-string (format "MODE %s %s\r\n"
341 (riece-identity-prefix channel)
344 (defun riece-command-set-operators (users &optional arg)
347 (riece-check-channel-commands-are-usable t)
348 (let ((completion-ignore-case t))
349 (list (riece-completing-read-multiple
350 (if current-prefix-arg
351 (riece-mcat "Unset +o for users")
352 (riece-mcat "Set +o for users"))
353 (riece-with-server-buffer
354 (riece-identity-server riece-current-channel)
355 (riece-channel-get-users (riece-identity-prefix
356 riece-current-channel)))
357 (if current-prefix-arg
359 (memq ?o (cdr user)))
361 (not (memq ?o (cdr user))))))
362 current-prefix-arg))))
365 (setq group (cons (car users) group)
367 (when (or (= (length group) 3)
370 (format "MODE %s %c%s %s\r\n"
371 (riece-identity-prefix riece-current-channel)
372 (if current-prefix-arg
375 (make-string (length group) ?o)
376 (mapconcat #'identity (nreverse group) " ")))
379 (defun riece-command-set-speakers (users &optional arg)
382 (riece-check-channel-commands-are-usable t)
383 (let ((completion-ignore-case t))
384 (list (riece-completing-read-multiple
385 (if current-prefix-arg
386 (riece-mcat "Unset +v for users")
387 (riece-mcat "Set +v for users"))
388 (riece-with-server-buffer
389 (riece-identity-server riece-current-channel)
390 (riece-channel-get-users (riece-identity-prefix
391 riece-current-channel)))
392 (if current-prefix-arg
394 (memq ?v (cdr user)))
396 (not (memq ?v (cdr user))))))
397 current-prefix-arg))))
400 (setq group (cons (car users) group)
402 (when (or (= (length group) 3)
405 (format "MODE %s %c%s %s\r\n"
406 (riece-identity-prefix riece-current-channel)
407 (if current-prefix-arg
410 (make-string (length group) ?v)
411 (mapconcat #'identity (nreverse group) " ")))
414 (defun riece-command-send-message (message notice)
415 "Send MESSAGE to the current channel."
416 (run-hooks 'riece-command-send-message-hook)
417 (if (equal message "")
418 (error (riece-mcat "No text to send")))
419 (riece-check-channel-commands-are-usable)
423 (format "NOTICE %s :%s\r\n"
424 (riece-identity-prefix riece-current-channel)
426 riece-current-channel)
427 (riece-display-message
428 (riece-make-message (riece-current-nickname) riece-current-channel
431 (format "PRIVMSG %s :%s\r\n"
432 (riece-identity-prefix riece-current-channel)
434 riece-current-channel)
435 (riece-display-message
436 (riece-make-message (riece-current-nickname) riece-current-channel
439 (defun riece-command-enter-message ()
440 "Send the current line to the current channel."
442 (riece-command-send-message (buffer-substring
443 (riece-line-beginning-position)
444 (riece-line-end-position))
451 (defun riece-command-enter-message-as-notice ()
452 "Send the current line to the current channel as NOTICE."
454 (riece-command-send-message (buffer-substring
455 (riece-line-beginning-position)
456 (riece-line-end-position))
462 (defun riece-command-enter-message-to-user (user)
463 "Send the current line to USER."
465 (if (and (bolp) (eolp))
466 (error "No text to send")
467 (let ((completion-ignore-case t))
468 (list (riece-completing-read-identity
469 (riece-mcat "Message to user: ")
470 (riece-get-users-on-server (riece-current-server-name))
471 nil nil nil nil nil t)))))
472 (let ((text (buffer-substring
473 (riece-line-beginning-position)
474 (riece-line-end-position))))
476 (format "PRIVMSG %s :%s\r\n" (riece-identity-prefix user) text)
478 (riece-display-message
479 (riece-make-message (riece-current-nickname) user text nil t)))
484 (defun riece-command-join-channel (target key)
485 (unless (riece-server-opened (riece-identity-server target))
486 (error "%s" (substitute-command-keys
487 "Type \\[riece-command-open-server] to open server.")))
488 (riece-send-string (if key
489 (format "JOIN %s :%s\r\n"
490 (riece-identity-prefix target)
492 (format "JOIN %s\r\n"
493 (riece-identity-prefix target)))
496 (defun riece-command-join-partner (target)
497 (let ((pointer (riece-identity-member target riece-current-channels)))
499 (riece-command-switch-to-channel (car pointer))
500 (riece-join-channel target)
501 (riece-switch-to-channel target))))
503 (defun riece-command-join (target)
505 (let ((completion-ignore-case t))
507 (if riece-join-channel-candidate
508 (let ((default (riece-format-identity
509 riece-join-channel-candidate)))
510 (riece-completing-read-identity
511 (format (riece-mcat "Join channel/user (default %s): ") default)
512 (riece-get-identities-on-server (riece-current-server-name))
513 nil nil nil nil default))
514 (riece-completing-read-identity
515 (riece-mcat "Join channel/user: ")
516 (riece-get-identities-on-server (riece-current-server-name)))))))
517 (let ((pointer (riece-identity-member target riece-current-channels)))
519 (riece-command-switch-to-channel (car pointer))
520 (if (riece-channel-p (riece-identity-prefix target))
521 (riece-command-join-channel target nil)
522 (riece-command-join-partner target)))))
524 (defun riece-command-part-channel (target message)
525 (unless (riece-server-opened (riece-identity-server target))
526 (error "%s" (substitute-command-keys
527 "Type \\[riece-command-open-server] to open server.")))
528 (riece-send-string (if message
529 (format "PART %s :%s\r\n"
530 (riece-identity-prefix target)
532 (format "PART %s\r\n"
533 (riece-identity-prefix target)))
536 (defun riece-command-part (target &optional message)
539 (riece-check-channel-commands-are-usable)
540 (let* ((completion-ignore-case t)
542 (riece-completing-read-identity
543 (format (riece-mcat "Part from channel/user (default %s): ")
544 (riece-format-identity riece-current-channel))
545 riece-current-channels nil nil nil nil
546 (riece-format-identity riece-current-channel)))
548 (if current-prefix-arg
549 (read-string (riece-mcat "Message: "))
550 riece-part-message)))
551 (list target message))))
552 (if (riece-identity-member target riece-current-channels)
553 (if (riece-channel-p (riece-identity-prefix target))
554 (riece-command-part-channel target message)
555 (riece-part-channel target))
556 (error "You are not talking with %s" target)))
558 (defun riece-command-change-nickname (nickname)
559 "Change your nickname to NICK."
560 (interactive "sEnter your nickname: ")
561 (riece-send-string (format "NICK %s\r\n" nickname)))
563 (defun riece-command-scroll-down (lines)
564 "Scroll LINES down dialogue buffer from command buffer."
566 (let ((buffer (if (and riece-channel-buffer-mode
567 riece-current-channel)
569 riece-dialogue-buffer)))
570 (if (get-buffer-window buffer)
572 (let ((other-window-scroll-buffer buffer))
573 (scroll-other-window-down lines))
575 (message (riece-mcat "Beginning of buffer")))))))
577 (defun riece-command-scroll-up (lines)
578 "Scroll LINES up dialogue buffer from command buffer."
580 (let ((buffer (if (and riece-channel-buffer-mode
581 riece-current-channel)
583 riece-dialogue-buffer)))
584 (if (get-buffer-window buffer)
586 (let ((other-window-scroll-buffer buffer))
587 (scroll-other-window lines))
589 (message (riece-mcat "End of buffer")))))))
591 (defun riece-command-user-list-scroll-down (lines)
592 "Scroll LINES down user list buffer from command buffer."
594 (if (get-buffer-window riece-user-list-buffer)
596 (let ((other-window-scroll-buffer riece-user-list-buffer))
597 (scroll-other-window-down lines))
599 (message (riece-mcat "Beginning of buffer"))))))
601 (defun riece-command-user-list-scroll-up (lines)
602 "Scroll LINES up user list buffer from command buffer."
604 (if (get-buffer-window riece-user-list-buffer)
606 (let ((other-window-scroll-buffer riece-user-list-buffer))
607 (scroll-other-window lines))
609 (message (riece-mcat "End of buffer"))))))
611 (defun riece-command-toggle-away (&optional message)
612 "Mark yourself as being away."
614 (if (and (not (riece-with-server-buffer (riece-identity-server
615 (riece-current-nickname))
616 (riece-user-get-away (riece-identity-prefix
617 (riece-current-nickname)))))
619 (list (read-from-minibuffer
620 (riece-mcat "Away message: ") (cons (or riece-away-message "")
622 (if (riece-with-server-buffer (riece-identity-server
623 (riece-current-nickname))
624 (riece-user-get-away (riece-identity-prefix
625 (riece-current-nickname))))
626 (riece-send-string "AWAY\r\n")
627 (riece-send-string (format "AWAY :%s\r\n" (or message
628 riece-away-message)))))
630 (defun riece-command-toggle-freeze (&optional arg)
631 "Prevent automatic scrolling of the dialogue window.
632 If prefix argument ARG is non-nil, toggle frozen status."
634 (with-current-buffer (if (riece-derived-mode-p 'riece-dialogue-mode)
636 (if (and riece-channel-buffer-mode
637 riece-channel-buffer)
639 riece-dialogue-buffer))
640 (setq riece-freeze (if arg
641 (< 0 (prefix-numeric-value arg))
643 (riece-emit-signal 'buffer-freeze-changed
644 (current-buffer) riece-freeze)))
646 (defun riece-command-toggle-own-freeze (&optional arg)
647 "Prevent automatic scrolling of the dialogue window.
648 The difference from `riece-command-freeze' is that your messages are hidden.
649 If prefix argument ARG is non-nil, toggle frozen status."
651 (with-current-buffer (if (riece-derived-mode-p 'riece-dialogue-mode)
653 (if (and riece-channel-buffer-mode
654 riece-channel-buffer)
656 riece-dialogue-buffer))
658 (< 0 (prefix-numeric-value arg))
659 (not (eq riece-freeze 'own)))
660 (setq riece-freeze 'own)
661 (setq riece-freeze nil))
662 (riece-emit-signal 'buffer-freeze-changed
663 (current-buffer) riece-freeze)))
666 (autoload 'riece-exit "riece"))
667 (defun riece-command-quit (&optional arg)
670 (if (null riece-server-process-alist)
672 (message (riece-mcat "No server process"))
674 (if (y-or-n-p (riece-mcat "Really quit IRC? "))
677 (read-string (riece-mcat "Message: "))
679 (alist riece-server-process-alist))
681 (riece-quit-server-process (cdr (car alist)) message)
682 (setq alist (cdr alist)))))))
684 (defun riece-command-raw (command)
685 "Enter raw IRC command, which is sent to the server."
686 (interactive "sIRC command: ")
687 (riece-send-string (concat command "\r\n")))
689 (defun riece-command-beginning-of-buffer ()
690 "Scroll channel buffer to the beginning."
693 (setq buffer (if riece-channel-buffer-mode
695 riece-dialogue-buffer))
696 (or (setq window (get-buffer-window buffer))
697 (setq window (get-buffer-window riece-dialogue-buffer)
698 buffer riece-dialogue-buffer))
700 (save-selected-window
701 (select-window window)
702 (goto-char (point-min))))))
704 (defun riece-command-end-of-buffer ()
705 "Scroll channel buffer to the end."
708 (setq buffer (if riece-channel-buffer-mode
710 riece-dialogue-buffer))
711 (or (setq window (get-buffer-window buffer))
712 (setq window (get-buffer-window riece-dialogue-buffer)
713 buffer riece-dialogue-buffer))
715 (save-selected-window
716 (select-window window)
717 (goto-char (point-max))))))
719 (defun riece-command-copy-region (start end)
720 "Move current region between START and END to `kill-ring'."
722 (kill-new (buffer-substring-no-properties start end)))
724 (defun riece-command-complete-user ()
725 "Complete a user name in the current buffer."
727 (let* ((completion-ignore-case t)
728 (table (mapcar (lambda (user)
729 (list (riece-format-identity user t)))
730 (riece-get-users-on-server
731 (riece-current-server-name))))
732 (current (or (current-word) ""))
733 (completion (try-completion current table))
734 (all (all-completions current table)))
735 (if (eq completion t)
737 (if (null completion)
738 (message (riece-mcat "Can't find completion for \"%s\"") current)
739 (if (equal current completion)
740 (with-output-to-temp-buffer "*Help*"
741 (display-completion-list all))
742 (re-search-forward "\\>" nil t)
743 (delete-region (point) (- (point) (length current)))
744 (insert completion))))))
746 (defun riece-command-open-server (server-name)
748 (list (completing-read (riece-mcat "Open server: ") riece-server-alist)))
749 (if (riece-server-process server-name)
750 (error "%s is already opened" server-name))
752 (riece-server-name-to-server server-name)
755 (defun riece-command-close-server (server-name &optional message)
757 (list (completing-read (riece-mcat "Close server: ")
758 riece-server-process-alist)
759 (if current-prefix-arg
760 (read-string (riece-mcat "Message: "))
761 riece-quit-message)))
762 (let ((process (riece-server-process server-name)))
764 (error "%s is not opened" server-name))
765 (riece-quit-server-process process message)))
767 (defun riece-command-universal-server-name-argument ()
769 (let* ((riece-overriding-server-name
770 (completing-read (riece-mcat "Server: ") riece-server-process-alist))
772 (key-binding (read-key-sequence
773 (format (riece-mcat "Command to execute on \"%s\":")
774 riece-overriding-server-name)))))
776 (call-interactively command)))
779 (autoload 'riece-save-variables-files "riece"))
780 (defun riece-command-save-variables ()
781 "Save `riece-variables-file'."
783 (if (or riece-save-variables-are-dirty
784 (y-or-n-p (riece-mcat "No changes made. Save anyway? ")))
785 (riece-save-variables-files)))
787 (provide 'riece-commands)
789 ;;; riece-commands.el ends here