info-gnus-english
[Top][All Lists]
Advanced

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

Re: Thread limiting


From: Tassilo Horn
Subject: Re: Thread limiting
Date: Sat, 27 May 2006 14:38:25 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

"Guillaume R." <raimondeau@gmail.com> writes:

>> Hm, right. I think the manual assumes a certain familiarity with
>> Emacs.
>
> Yes I suppose you were right so yesterday, I've completed the tutorial
> (a well done one btw)

Yeah, the whole Gnus documentation is a fun read.

>> How do you want to achieve it without a hook?
>
> Hum I dont know elisp (yet!) so I've just write sth like:
> (setq gnus-summary-limit-to-age 30)
> And it does not work...

This cannot work. gnus-summary-limit-to-age is a function, so you have
to call it somewhere. That's where hooks are for.

> I test your hook and it doesn't work too, I've got a strange message
> error:
> "Variable binding depth exceeds max-specpdl-size"

I tested it and get a similar error. (something with max-eval-depth)

> Do you know what does it mean?

Not really. But this one works for me:

(add-hook 'gnus-summary-prepared-hook
          (lambda ()
            (gnus-summary-limit-to-age 1 t)))

This time its gnus-summary-prepared-hook hook, instead of
gnus-summary-prepare-hook.

Bye,
Tassilo
-- 
VI VI VI - The Roman Number Of The Beast





reply via email to

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