From: yamaoka Date: Wed, 24 Jan 2001 12:00:44 +0000 (+0000) Subject: Synch with Oort Gnus. X-Git-Tag: t-gnus-6_15_0-05-quimby-last-~28 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d7f85ccc48cee29c1045072c026446ce8375c86;p=elisp%2Fgnus.git- Synch with Oort Gnus. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ea68d17..8f93a64 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,12 @@ +2001-01-24 12:22:47 Lars Magne Ingebrigtsen + + * nntp.el (nntp-wait-for): Return the success code. + (nntp-open-connection): Use it. + +2001-01-11 11:49:02 Lars Magne Ingebrigtsen + + * gnus-int.el (gnus-check-server): Allow breaking the opening. + 2001-01-23 11:00:00 ShengHuo ZHU * gnus-sum.el (gnus-summary-print-article): Remove process mark. diff --git a/lisp/gnus-int.el b/lisp/gnus-int.el index abd5737..0a78cbe 100644 --- a/lisp/gnus-int.el +++ b/lisp/gnus-int.el @@ -125,7 +125,10 @@ If it is down, start it up (again)." (format " on %s" (nth 1 method))))) (gnus-run-hooks 'gnus-open-server-hook) (prog1 - (gnus-open-server method) + (condition-case () + (gnus-open-server method) + (quit (message "Quit gnus-check-server") + nil)) (unless silent (message "")))))) diff --git a/lisp/nntp.el b/lisp/nntp.el index 05147ed..b07b4b9 100644 --- a/lisp/nntp.el +++ b/lisp/nntp.el @@ -329,8 +329,8 @@ noticing asynchronous data.") ;; Nix out "nntp reading...." message. (when nntp-have-messaged (setq nntp-have-messaged nil) - (nnheader-message 5 "")) - t)))) + (nnheader-message 5 "")))) + t)) (unless discard (erase-buffer))))) @@ -984,8 +984,8 @@ password contained in '~/.nntp-authinfo'." (when (and (buffer-name pbuffer) process) (process-kill-without-query process) - (nntp-wait-for process "^.*\n" buffer nil t) - (if (memq (process-status process) '(open run)) + (if (and (nntp-wait-for process "^200.*\n" buffer nil t) + (memq (process-status process) '(open run))) (prog1 (caar (push (list process buffer nil) nntp-connection-alist)) (push process nntp-connection-list) diff --git a/texi/ChangeLog b/texi/ChangeLog index 033fc12..0938488 100644 --- a/texi/ChangeLog +++ b/texi/ChangeLog @@ -1,3 +1,8 @@ +2001-01-15 16:15:20 Lars Magne Ingebrigtsen + + * gnus.texi (The Active File): Only old versionf of leafnode + doesn't do some. + 2001-01-23 23:28:08 Satomi Suzuki * message.texi (message-ignored-news-headers): Add "X-Draft-From:". diff --git a/texi/gnus-ja.texi b/texi/gnus-ja.texi index ccb208a..1e15aed 100644 --- a/texi/gnus-ja.texi +++ b/texi/gnus-ja.texi @@ -1554,7 +1554,7 @@ Gnus は起動したときや、実際に新しい記事が到着しているかを決定しようとす どのようにせよ、遅い回線では @code{some} は @code{nil} よりも速く、それ はもちろん@code{t} よりも速くなります。 -いくつかのニュースサーバー (例えば Leafnode や古い INN) には命 +いくつかのニュースサーバー (例えば古い Leafnode や古い INN) には命 令 @code{LIST ACTIVE group} がありません。そういうサーバーに は @code{nil} をこの変数の値に設定するのが、おそらくもっとも有効でしょう。 diff --git a/texi/gnus.texi b/texi/gnus.texi index b4ab127..06d7962 100644 --- a/texi/gnus.texi +++ b/texi/gnus.texi @@ -1482,9 +1482,10 @@ support the @code{LIST ACTIVE group} command), on others this isn't fast at all. In any case, @code{some} should be faster than @code{nil}, and is certainly faster than @code{t} over slow lines. -Some news servers (Leafnode and old versions of INN, for instance) do -not support the @code{LIST ACTIVE group}. For these servers, @code{nil} -is probably the most efficient value for this variable. +Some news servers (old versions of Leafnode and old versions of INN, for +instance) do not support the @code{LIST ACTIVE group}. For these +servers, @code{nil} is probably the most efficient value for this +variable. If this variable is @code{nil}, gnus will ask for group info in total lock-step, which isn't very fast. If it is @code{some} and you use an