2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
* acap.el: New file.
+ (acap-network-stream-open): Show "Connecting..." message.
+ (acap-parse-response): Fixed problem for BYE untagged response.
2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
(defun acap-network-stream-open (buffer server port &optional type)
(let* ((port (or port acap-default-port))
- (process (funcall (cdr (assq (or type 'default)
- acap-network-stream-alist))
- "ACAP" buffer server port)))
+ (process (progn
+ (message "Connecting to %s..." server)
+ (funcall (cdr (assq (or type 'default)
+ acap-network-stream-alist))
+ "ACAP" buffer server port))))
(when process
(with-current-buffer buffer
(while (and (memq (process-status process) '(open run))
(ALERT ;(cons 'alert (acap-parse-resp-body))
(message (nth 1 (acap-parse-resp-body))))
(BYE ;(cons 'bye (acap-parse-resp-body)))
- (message (acap-parse-resp-body))
- (ding)
+ ;;(message (nth 1 (acap-parse-resp-body)))
+ ;;(ding)
(delete-process acap-process))
(CHANGE (cons 'change
(list (acap-parse-quoted)