Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Cc: emacs-pretest-bug@gnu.org, Chong Yidong <cyd@stupidchicken.com>,
	ding@gnus.org
Subject: Re: gnus crashes on threads deeper than 333 articles
Date: Mon, 04 Dec 2006 19:58:53 +0100	[thread overview]
Message-ID: <v9mz63qyhe.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <m21wnfv79p.fsf@chrislap.local> (Chris Moore's message of "Mon\,  04 Dec 2006 19\:35\:30 +0100")

On Mon, Dec 04 2006, Chris Moore wrote:

> OK, so the 'loop' version of the sort function does seem to work, but
> fixing that has shown up a new problem.
>
[ gnus-make-thread-indent-array ]
> The '200' and '201' in this function limit the thread depth.

I'd suggest the following patch on top of the previous.  Which size
was sufficient for you?

--8<---------------cut here---------------start------------->8---
--- gnus-sum.el	08 Nov 2006 00:45:38 +0100	7.163
+++ gnus-sum.el	04 Dec 2006 19:54:43 +0100	
@@ -3442,11 +3442,14 @@
       t
     (not (cdr (gnus-data-find-list article)))))
 
+(defvar gnus-make-thread-indent-array-size 400)
+
 (defun gnus-make-thread-indent-array ()
-  (let ((n 200))
+  (let ((n gnus-make-thread-indent-array-size))
     (unless (and gnus-thread-indent-array
 		 (= gnus-thread-indent-level gnus-thread-indent-array-level))
-      (setq gnus-thread-indent-array (make-vector 201 "")
+      (setq gnus-thread-indent-array
+	    (make-vector (1+ gnus-make-thread-indent-array-size) "")
 	    gnus-thread-indent-array-level gnus-thread-indent-level)
       (while (>= n 0)
 	(aset gnus-thread-indent-array n
--8<---------------cut here---------------end--------------->8---

> Increasing these numbers has allowed me to finally open my large
> Increasing these mailbox!

Another workaround would be to turn off threading for this group,
wouldn't it?  I mean, from your description threading seems quite
useless for this group.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

  reply	other threads:[~2006-12-04 18:58 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1Gpndn-0003Wt-Dq@chrislap.local>
2006-12-03 20:36 ` Chong Yidong
2006-12-04 14:21   ` Richard Stallman
2006-12-04 16:37     ` Chris Moore
2006-12-04 16:59       ` Chris Moore
2006-12-04 18:35         ` Chris Moore
2006-12-04 18:58           ` Reiner Steib [this message]
2006-12-04 19:51             ` Chris Moore
2006-12-04 16:05   ` Reiner Steib
2006-12-04 19:05     ` Chong Yidong
2006-12-05  5:09       ` Richard Stallman
2006-12-05  9:29         ` Reiner Steib
2006-12-06  0:47           ` Richard Stallman
2006-12-05 16:52     ` Chong Yidong
2006-12-05 16:59       ` Chong Yidong
2006-12-05 18:59         ` Chris Moore
2006-12-07 16:29         ` Chong Yidong
2006-12-05 17:02       ` Chris Moore
2006-12-05 17:05         ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v9mz63qyhe.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=cyd@stupidchicken.com \
    --cc=ding@gnus.org \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).