* liece-commands.el (liece-command-unread-channel): New function.
* liece.el (liece-command-map): Bind "\C-u" to it.
(liece-channel-list-mode-map): Bind "u" to it.
msgid "Really SEND from Yank Buffer?"
msgstr "ËÜÅö¤Ë¥Ð¥Ã¥Õ¥¡¤ÎÆâÍƤòÁ÷¤ê¤Þ¤¹¤«¡©"
+msgid "No unread channel or chat partner."
+msgstr "̤ÆɤΥÁ¥ã¥ó¥Í¥ë¤Þ¤¿¤Ï¥Á¥ã¥Ã¥È¤ÎÁê¼ê¤Ï¤¢¤ê¤Þ¤»¤ó"
+
+2000-08-30 Akira Ohashi <bg66@luck.gr.jp>
+
+ * liece-commands.el (liece-command-unread-channel): New function.
+
+ * liece.el (liece-command-map): Bind "\C-u" to it.
+ (liece-channel-list-mode-map): Bind "u" to it.
+
2000-08-29 Daiki Ueno <ueno@unixuser.org>
* liece-channel.el (liece-channel-change): Run
(car (delq nil rest))
chnl))))
+(defun liece-command-unread-channel ()
+ "Select unread channel or chat partner."
+ (interactive)
+ (let ((chnl (car liece-channel-unread-list)))
+ (if chnl
+ (liece-switch-to-channel chnl)
+ (liece-message (_ "No unread channel or chat partner.")))))
+
(defun liece-command-push ()
"Select next channel or chat partner, and rotate list."
(interactive)
"\C-f" liece-command-freeze
"\C-j" liece-command-next-channel
"\C-n" liece-command-names
+ "\C-u" liece-command-unread-channel
"l" liece-command-list
"L" liece-command-load-vars
"M" liece-command-own-freeze
(liece-define-keys liece-channel-list-mode-map
">" liece-command-next-channel
"<" liece-command-previous-channel
+ "u" liece-command-unread-channel
"o" other-window
"c" liece-command-point-back-to-command-buffer)