[Mew-dist 14026] connection failed
Kazu Yamamoto ( 山本和彦 )
kazu at example.com
2000年 9月 1日 (金) 14:11:21 JST
process.c をよく読んでみると、"connection failed" のときは、ちゃんと
エラー番号も返っていますね。偉いぞ > Emacs
とうわけで、以下のパッチを当てて下さい。"connection failed" のときに、
エラー番号/文字列も表示します。それが分かれば、原因が特定できるかも。
この話題のおち:
改造後、"connection failed" が発生し、エラーを拾えた。エラー番号は、0
で未定義。しばし悩む。(FreeBSD のやることは、よー分からんとも邪推する。)
あ、Emacs 20.7 の IPv6 パッチ間違っているやん。エラーのとき必ず 0 が戻
るぞ。Emacs 21 もそう。
Gred にメールだぁ。
--かず
-------------- next part --------------
Index: mew-pop.el
===================================================================
RCS file: /usr/home/kazu/cvsroot/Mew/mew/mew-pop.el,v
retrieving revision 1.51
diff -c -r1.51 mew-pop.el
*** mew-pop.el 2000/08/30 02:13:01 1.51
--- mew-pop.el 2000/09/01 05:13:50
***************
*** 234,243 ****
(mew-set-process-cs pro mew-cs-text-for-net mew-cs-text-for-net)
(message "Connecting to the POP server ... done"))
(quit
! (message "Can't connect to the POP server")
(setq pro nil))
(error
! (message (nth 1 emsg))
(setq pro nil)))
(if tm (mew-timer-reset tm))
pro))
--- 234,243 ----
(mew-set-process-cs pro mew-cs-text-for-net mew-cs-text-for-net)
(message "Connecting to the POP server ... done"))
(quit
! (message "Can't connect to the POP server due to time out")
(setq pro nil))
(error
! (message "%s, %s" (nth 1 emsg) (nth 2 emsg))
(setq pro nil)))
(if tm (mew-timer-reset tm))
pro))
Mew-dist メーリングリストの案内