From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 14723 invoked from network); 14 Sep 2020 23:28:54 -0000 Received: from lists1.math.uh.edu (129.7.128.208) by inbox.vuxu.org with ESMTPUTF8; 14 Sep 2020 23:28:54 -0000 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94) (envelope-from ) id 1kHxtX-00E6UF-Mo; Mon, 14 Sep 2020 18:28:23 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1kHxtT-00E6SK-13 for ding@lists.math.uh.edu; Mon, 14 Sep 2020 18:28:19 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1kHxtQ-00CzAC-Qz for ding@lists.math.uh.edu; Mon, 14 Sep 2020 18:28:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:Mime-Version:References:Message-ID:Date:Subject: From:To:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fuUs9HJICaxlFQiDSWw0xrBhATs9rf5md7yaGoiVfuw=; b=e8YaUzBGHEJak1AIX5skoRQ7A/ 00OGyf1g73ZHc7hx+ECaD1Agz8kywonFOkRyM8iFZ5pXvbWv8vEJNUPd0lqZbCZ+t7Wa7bPtDn5Eo Moe5LV21lRJxDEK9QIdjllSH79xUrff4rDvkNOwBNaddnfKy4bGTRZ7FSrsxqwlVJ4DQ=; Received: from static.214.254.202.116.clients.your-server.de ([116.202.254.214] helo=ciao.gmane.io) by quimby with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kHxtH-0008Er-3e for ding@gnus.org; Tue, 15 Sep 2020 01:28:12 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kHxtE-0008Pk-GX for ding@gnus.org; Tue, 15 Sep 2020 01:28:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: Andrew Cohen Subject: Re: Args out of range when quitting search buffer with recent Emacs/Gnus Date: Tue, 15 Sep 2020 07:27:59 +0800 Message-ID: <87k0wwq6ps.fsf@ust.hk> References: <87a6xug73j.fsf@tullinup.koldfront.dk> <87ft7lq23s.fsf@ust.hk> <871rj5es8v.fsf@tullinup.koldfront.dk> <87tuw1oka8.fsf@ust.hk> <87r1r5db4n.fsf@tullinup.koldfront.dk> <87o8m9oj1f.fsf@ust.hk> <874ko169b8.fsf@tullinup.koldfront.dk> <87k0wxoeu0.fsf@ust.hk> <87imchhcyz.fsf@tullinup.koldfront.dk> <87imchscib.fsf@ericabrahamsen.net> <87wo0xe9zp.fsf@tullinup.koldfront.dk> <87een5s9st.fsf@ericabrahamsen.net> <87mu1te75x.fsf@tullinup.koldfront.dk> <87y2ldqtl5.fsf@ericabrahamsen.net> <87d02p2r1y.fsf@ust.hk> <877dsx2q7h.fsf@ust.hk> <87v9gge481.fsf@tullinup.koldfront.dk> <87d02oyug2.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cancel-Lock: sha1:Ou+lTOJwCs1F59VHxlWhlDF9+SQ= List-ID: Precedence: bulk >>>>> "EA" == Eric Abrahamsen writes: [...] >> >> Let's see what happens. >> >> Ok, so it's iterating around these lines: >> >> (pcase-dolist (`(,mark . ,type) gnus-article-mark-lists) (when >> (setq type-list (symbol-value (intern (format "gnus-newsgroup-%s" >> mark)))) (push (cons type (numbers-by-group >> (gnus-uncompress-range type-list))) mark-list))) >> >> and when it hits "score", a list like this appears: >> >> Result: gnus-newsgroup-scored Result: ((95 . 1000) (93 . 1000) >> (92 . 1000) (91 . 1000) (80 . 1000) (60 . 1000) (59 . 1000) (5 >> . 2000) (6 . 1000)) Result: ((95 . 1000) (93 . 1000) (92 . 1000) >> (91 . 1000) (80 . 1000) (60 . 1000) (59 . 1000) (5 . 2000) (6 >> . 1000)) [3 times] Result: score [3 times] Result: ((95 . 1000) >> (93 . 1000) (92 . 1000) (91 . 1000) (80 . 1000) (60 . 1000) (59 >> . 1000) (5 . 2000) (6 . 1000)) >> >> That looks funky, n'est pas? Great! This will be easy to fix (I'll do it soon). Thanks Adam and Eric for some great remote debugging!