From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/18605 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.user Subject: Re: how can I keep gnus from Hiding All Threads when open a group Date: Sun, 04 Jun 2017 09:31:38 +0800 Message-ID: <871sr0v8qt.fsf@ericabrahamsen.net> References: <87tw3xrabh.fsf@ericabrahamsen.net> <8660gdgegb.fsf@local.lan> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1496539956 13843 195.159.176.226 (4 Jun 2017 01:32:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 4 Jun 2017 01:32:36 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sun Jun 04 03:32:31 2017 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHKP8-0003DJ-Ft for gegu-info-gnus-english@m.gmane.org; Sun, 04 Jun 2017 03:32:30 +0200 Original-Received: from localhost ([::1]:55435 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHKPD-0004T9-OL for gegu-info-gnus-english@m.gmane.org; Sat, 03 Jun 2017 21:32:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHKP8-0004T4-Hb for info-gnus-english@gnu.org; Sat, 03 Jun 2017 21:32:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHKP5-0004fO-EQ for info-gnus-english@gnu.org; Sat, 03 Jun 2017 21:32:30 -0400 Original-Received: from [195.159.176.226] (port=59103 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dHKP5-0004ey-7p for info-gnus-english@gnu.org; Sat, 03 Jun 2017 21:32:27 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dHKOx-0002fO-Bh for info-gnus-english@gnu.org; Sun, 04 Jun 2017 03:32:19 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 67 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:Sf80f3T22dMn4SsPtOjlmceWV5U= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: "info-gnus-english" Xref: news.gmane.org gmane.emacs.gnus.user:18605 Archived-At: Harry Putnam writes: > Eric Abrahamsen writes: > >> Harry Putnam writes: >> >>> I notice when I open a group, gnus hides all threads seemingly >>> automatically. >>> >>> But when opening really large groups; 12,000 and up, even 50,000 msgs >>> that process of hiding all threads can become a hefty time sink. >>> >>> Even when unplugged and all the messages are already downloaded. >>> >>> How could I go about telling gnus to leave the threads unhidden or >>> would that have the effect I'm hoping for... i.e. speeding up opening >>> really large groups. >> >> I'm not quite sure what you mean by "hiding" -- do you mean the threads >> are folded? Like you only see the top message in the thread and have to >> expand it to see the rest? > > Yes. > > I got the terminology from gnus itself.... when I open a large group > After showing a message about generating the summary buffer, it shows > a message of `Hiding all threads' and then a count usually only > displays the thousands. Ah I see. I don't use this and didn't realize it was the normal term. >> Anyway, I doubt this is the source of the slowdown -- asking Gnus to >> display 50,000 messages in a summary buffer is going to be slow no >> matter what. Turning off threading altogether should help some, but >> that's all I can say. > > I do realize that groups of that size are really really slow. > I have some experience in that area. > > However unless the `hiding all threads' message is misleading and > doesn't really have anything to do with what is happening, I can see > the wait growing longer by watching `hiding all threads'; 1000 ... > ...2000 ....3000 the waits between are relatively short but after about > 4000 the waits between ouput grow exponentially. Getting up to 7/8 > thousand the wait between 7 and 8000 is quite lengthy. I haven't > timed it or I'd post the times. > > That's what gave me the idea of cutting out the thread hiding.... Also, > must of what I do in there means I have to SHOW threads anyway `T S' > so I have to undo the Hiding anyway. > > Writing that made me think it might be a setting of my own doing. > > Can one set how threads are displayed when a group is opened? Okay, well that certainly makes it sound like thread hiding really is the source of the problem. It looks like setting `gnus-thread-hide-subtree' to nil will do what you want. But I'd definitely recommend playing with `gnus-show-threads' and `gnus-fetch-old-headers' (and maybe try `gnus-build-sparse-threads'), and see which combination of settings gets you the fastest load. No matter what, I think the main recommendation would be to try to open group buffers with fewer messages! Is it really necessary to display tens of thousands of messages each time? E