* riece-filter.el (riece-filter): Modified regexp.
authorDaiki Ueno <ueno@unixuser.org>
Sun, 6 Feb 2005 14:39:36 +0000 (14:39 +0000)
committerDaiki Ueno <ueno@unixuser.org>
Sun, 6 Feb 2005 14:39:36 +0000 (14:39 +0000)
* riece-misc.el (riece-insert): Undo the last change.

lisp/riece-filter.el
lisp/riece-misc.el

index 71a8bc1..bb6664b 100644 (file)
                (looking-at ".*\n"))    ;the input line is not finished
       (save-excursion
        (if (looking-at
                (looking-at ".*\n"))    ;the input line is not finished
       (save-excursion
        (if (looking-at
-            ":\\([^ ]+\\) +\\([0-5][0-9][0-9]\\) +\\([^ ]+\\) +\\(.*\\)")
+            ":\\([^ ]+\\) +\\([0-5][0-9][0-9]\\) +\\([^ ]+\\) +\\(.*\\)\n")
            (riece-handle-numeric-reply
             (match-string 1)           ;prefix
             (string-to-number (match-string 2)) ;number
             (match-string 3)           ;name
             (riece-chomp-string (match-string 4)))             ;reply string
            (riece-handle-numeric-reply
             (match-string 1)           ;prefix
             (string-to-number (match-string 2)) ;number
             (match-string 3)           ;name
             (riece-chomp-string (match-string 4)))             ;reply string
-         (if (looking-at "\\(:\\([^ ]+\\) +\\)?\\([^ ]+\\) +\\(.*\\)")
+         (if (looking-at "\\(:\\([^ ]+\\) +\\)?\\([^ ]+\\) +\\(.*\\)\n")
              (riece-handle-message
               (match-string 2)         ;optional prefix
               (match-string 3)         ;command
              (riece-handle-message
               (match-string 2)         ;optional prefix
               (match-string 3)         ;command
index 363e45f..2e2a912 100644 (file)
@@ -84,9 +84,7 @@
                (goto-char point)       ;select-window changes current point
                (recenter riece-window-center-line))))
        (run-hook-with-args 'riece-after-insert-functions start (point))))
                (goto-char point)       ;select-window changes current point
                (recenter riece-window-center-line))))
        (run-hook-with-args 'riece-after-insert-functions start (point))))
-    (setq buffers (cdr buffers)))
-  ;; This triggers forced redisplay under GNU Emacs.
-  (sit-for 0))
+    (setq buffers (cdr buffers))))
 
 (defun riece-insert-change (buffer message)
   (riece-insert buffer (concat riece-change-prefix message)))
 
 (defun riece-insert-change (buffer message)
   (riece-insert buffer (concat riece-change-prefix message)))