From 06ff69482a91a1366cb8489cf8b55be5cbcc821d Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 28 Dec 2012 00:50:34 +0100 Subject: [PATCH] Fix nntp connection problems with the Typhoon server * nntp.el (nntp-open-connection): Use HELP as the capability command instead of CAPABILITY because Typhoon v2.2.2.503 chokes completely on unknown commands. And CAPABILITY is an unknown command (bug#12763). --- lisp/ChangeLog | 6 ++++++ lisp/nntp.el | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9ff2c022d..463be0df0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2012-12-27 Lars Ingebrigtsen + + * nntp.el (nntp-open-connection): Use HELP as the capability command + instead of CAPABILITY because Typhoon v2.2.2.503 chokes completely on + unknown commands. And CAPABILITY is an unknown command (bug#12763). + 2012-12-27 Wolfgang Jenkner * gnus-spec.el (gnus-face-face-function): Don't use nil as no-op face diff --git a/lisp/nntp.el b/lisp/nntp.el index be5d1e6ff..e131c51c0 100644 --- a/lisp/nntp.el +++ b/lisp/nntp.el @@ -1282,7 +1282,7 @@ If SEND-IF-FORCE, only send authinfo to the server if the "nntpd" pbuffer nntp-address nntp-port-number :type (cadr (assoc nntp-open-connection-function map)) :end-of-command "^\\([2345]\\|[.]\\).*\n" - :capability-command "CAPABILITIES\r\n" + :capability-command "HELP\r\n" :success "^3" :starttls-function (lambda (capabilities) -- 2.34.1