From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64353 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: nntps and posting. Date: Tue, 27 Feb 2007 10:56:09 +0900 Organization: Emacsen advocacy group Message-ID: References: <87hcvk6sst.fsf@lrde.org> <87ac0lrea5.fsf@lrde.org> <87ac02gucn.fsf@lrde.org> <877iul7ic6.fsf@lrde.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1172541460 28351 80.91.229.12 (27 Feb 2007 01:57:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Feb 2007 01:57:40 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M12877@lists.math.uh.edu Tue Feb 27 02:57:33 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1HLrar-0002S7-Sk for ding-account@gmane.org; Tue, 27 Feb 2007 02:57:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1HLrZq-0006Uf-JR; Mon, 26 Feb 2007 19:56:26 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1HLrZp-0006UM-0K for ding@lists.math.uh.edu; Mon, 26 Feb 2007 19:56:25 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.63) (envelope-from ) id 1HLrZi-00033A-N8 for ding@lists.math.uh.edu; Mon, 26 Feb 2007 19:56:24 -0600 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1HLrZh-0006OI-00 for ; Tue, 27 Feb 2007 02:56:17 +0100 Original-Received: from [66.225.201.151] (port=49178 helo=mail.jpl.org) by orlando.hostforweb.net with esmtpa (Exim 4.63) (envelope-from ) id 1HLrZj-0003nw-2e; Mon, 26 Feb 2007 19:56:19 -0600 X-Hashcash: 1:20:070227:ding@gnus.org::mh2/hQWiIGvZ+gfc:00003qkv X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.94 (gnu/linux) Cancel-Lock: sha1:HpqCGvr4qePfRavI0/+hvWcOIt8= X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.5 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64353 Archived-At: >>>>> In Katsumi Yamaoka wrote: >>>>>> --- nntp.el 05 Feb 2006 14:56:44 +0100 1.31 >>>>>> +++ nntp.el 25 Dec 2006 13:48:53 +0100 [...] > (unless (or wait-for > - (equal nntp-open-connection-function > - 'nntp-open-network-stream)) > + (memq nntp-open-connection-function > + '(nntp-open-network-stream nntp-open-ssl-stream))) > Let us do it and wait for the response. I've installed the > patch in the trunk. What I can do when someone complains is > only to remove it, though. I got a response from a person who uses `nntp-open-ssl-stream' (I Bcc this message to the person). He wrote that the recent change stops Gnus from connecting to the nntps server while Micha=EBl requires it. It is obvious that some nntps servers don't echo commands but others do. So, we have to make it change the behavior according to the version of the nntps server automatically or make it customizable by a user. Since there seems to be no person to work with nntps servers for the moment, I've added the following two server variables to the trunk and the v5-10 branch. `nntp-never-echoes-commands' Non-`nil' means the nntp server never echoes commands. It is reported that some nntps server doesn't echo commands. So, you may want to set this to non-`nil' in the method for such a server setting `nntp-open-connection-function' to `nntp-open-ssl-stream' for example. The default value is `nil'. Note that the `nntp-open-connection-functions-never-echo-commands' variable overrides the `nil' value of this variable. `nntp-open-connection-functions-never-echo-commands' List of functions that never echo commands. Add or set a function which you set to `nntp-open-connection-function' to this list if it does not echo commands. Note that a non-`nil' value of the `nntp-never-echoes-commands' variable overrides this variable. The default value is `(nntp-open-network-stream)'. It might not have been necessary to have made the later a server variable but you can use it to have the default value. For instance, if all the nntps servers that Micha=EBl connects to don't echo commands, you can simply set it as follows: (setq nntp-open-connection-functions-never-echo-commands '(nntp-open-network-stream nntp-open-ssl-stream)) Otherwise, you can use `nntp-never-echoes-commands' per server like the following: (setq gnus-select-method '(nntp "server" (nntp-address "server.example.com") (nntp-open-connection-function nntp-open-ssl-stream) (nntp-never-echoes-commands t) ... ...)) The person who sent a mail to me has nothing to do of course. Regards,