unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Igor Wojnicki <igor.wojnicki@gradis.pl>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 43495@debbugs.gnu.org
Subject: bug#43495: Error when sorting threads in Gnus
Date: Sat, 19 Sep 2020 18:43:31 +0200	[thread overview]
Message-ID: <00135c65-0f41-3d1f-0e65-a295efd14785@gradis.pl> (raw)
In-Reply-To: <eb32f878-3d21-4774-59f3-49bf95ddc183@gradis.pl>

And I think it should be rather:

(setq gnus-thread-sort-functions
       '((not gnus-thread-sort-by-most-recent-date)))

which makes the error go away :)

On 9/19/20 6:34 PM, Igor Wojnicki wrote:
> I think I found what caused the error. I had sorting defined as:
> (setq gnus-thread-sort-functions
>   '(not gnus-thread-sort-by-most-recent-date))
> 
> If I comment it out the error goes away.
> 
> 
> On 9/19/20 4:53 PM, Lars Ingebrigtsen wrote:
>> Igor Wojnicki <igor.wojnicki@gradis.pl> writes:
>>
>>> If I try to open an larger imap group (a few thousand messages both
>>> read and unread) Gnus gives a warning: Wrong number of arguments: #, 2
>>> And the Summary window is empty or it contains only some of the
>>> messages.
>>
>> [...]
>>
>>> Debugger entered--Lisp error: (wrong-number-of-arguments #<subr null>
>>> 2)
>>>    not(([26311 "GitLab email verification request" "GitLab
>>> <gitlab@mg.gitlab.com>" #("Fri, 10 Jul 2020 02:32:05 +0000" 0 1
>>> (gnus-time (24327 54053)))
>>
>> [...]
>>
>>>    gnus-summary-prepare()
>>
>> It looks like the backtrace has to come from something in either
>> gnus-thread-sort-functions, gnus-article-sort-functions or
>> gnus-sort-gathered-threads-function.  What's the value of those three
>> variables?
>>
> 

-- 
dr inż. Igor Wojnicki,
dyrektor ds. technologii,
GRADIS Sp. z o.o.





      reply	other threads:[~2020-09-19 16:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-18 18:14 bug#43495: (no subject) Igor Wojnicki
2020-09-19 14:53 ` bug#43495: Error when sorting threads in Gnus Lars Ingebrigtsen
2020-09-19 16:27   ` Igor Wojnicki
2020-09-19 16:44     ` Lars Ingebrigtsen
2020-09-19 16:34   ` Igor Wojnicki
2020-09-19 16:43     ` Igor Wojnicki [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=00135c65-0f41-3d1f-0e65-a295efd14785@gradis.pl \
    --to=igor.wojnicki@gradis.pl \
    --cc=43495@debbugs.gnu.org \
    --cc=larsi@gnus.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).