From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/48111 Path: main.gmane.org!not-for-mail From: Martin Rohde Newsgroups: gmane.emacs.gnus.general Subject: Re: 'g' in the group buffer still very slow Date: Mon, 09 Dec 2002 00:33:49 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: <87wumk5bmq.fsf@gmx.de> References: <87heisn8f4.fsf@sdbk.de> <87d6ocmlux.fsf@sdbk.de> <84adjg8fbd.fsf@lucy.cs.uni-dortmund.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1039390626 3518 80.91.224.249 (8 Dec 2002 23:37:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 8 Dec 2002 23:37:06 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18LAyt-0000uX-00 for ; Mon, 09 Dec 2002 00:37:04 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18LAxr-00085i-00; Sun, 08 Dec 2002 17:35:59 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 08 Dec 2002 17:36:48 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@[209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id RAA27059 for ; Sun, 8 Dec 2002 17:36:33 -0600 (CST) Original-Received: (qmail 5659 invoked by alias); 8 Dec 2002 23:34:53 -0000 Original-Received: (qmail 5654 invoked from network); 8 Dec 2002 23:34:53 -0000 Original-Received: from mailout03.sul.t-online.com (194.25.134.81) by gnus.org with SMTP; 8 Dec 2002 23:34:53 -0000 Original-Received: from fwd03.sul.t-online.de by mailout03.sul.t-online.com with smtp id 18LAwk-00013o-02; Mon, 09 Dec 2002 00:34:50 +0100 Original-Received: from ParadiseCity (0202731138-0001@[217.83.99.135]) by fmrl03.sul.t-online.com with esmtp id 18LAwf-226ZaCC; Mon, 9 Dec 2002 00:34:45 +0100 Original-Received: by ParadiseCity (Postfix, from userid 1000) id DEA38F52C1; Mon, 9 Dec 2002 00:33:49 +0100 (CET) Original-To: ding@gnus.org In-Reply-To: <84adjg8fbd.fsf@lucy.cs.uni-dortmund.de> (kai.grossjohann@uni-duisburg.de's message of "Sun, 08 Dec 2002 20:45:58 +0100") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu) X-Sender: 0202731138-0001@t-dialin.net Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:48111 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:48111 On Day 50 of The Aftermath 3168, Kai Großjohann wrote: > krause@my.gnus.org (Sebastian D.B. Krause) writes: > >> Okay, as we don't need this code when Gnus has a direct NNTP >> connection to the server (when nntp-open-connection-function is set >> to nntp-open-network-stream), I suggest -- as a workaround -- to >> enable this code only when nntp-open-connection-function is *not* >> nntp-open-network-stream. I've tested my small patch (see below) and >> it makes fetching the active file much faster without the problems I >> had with telnet and local echo when I removed the code with the old >> patch quoted below. > > There is a bug. You write (unless nntp-open-connection-function > 'nntp-open-network-stream statements...). The condition here is the > variable nntp-open-connection-function, it is tested whether the > variable is nil. The quoted symbol is an expression which is > evaluated by has no effect. > > I've committed something similar to your patch. Like Sebastian mentioned before, ,---- | | (unless (and wait-for | (equal nntp-open-connection-function | 'nntp-open-network-stream)) `---- doesn't work. It has to be "or" instead of "and"... > I think what should be done is to look, after the connection has been > established, whether the commands are echoed. If so, set a > variable. Then change the condition to look at that variable. If I get it right, you can almost take the code for that from nntp-send-command* and put it into nntp-open-connection. I will send a patch, if it works. Martin