emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnus crashes on threads deeper than 333 articles


From: Reiner Steib
Subject: Re: gnus crashes on threads deeper than 333 articles
Date: Mon, 04 Dec 2006 19:58:53 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]