From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59206: rmail-summary-apply-filters-consecutively causes wrong-type-argument error Date: Sat, 12 Nov 2022 11:07:55 +0200 Message-ID: <83h6z4o80k.fsf@gnu.org> References: <875yflumx9.fsf@graner.name> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7274"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59206@debbugs.gnu.org To: Nicolas Graner , Andrea Monaco Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 12 10:09:23 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1otmVu-0001iP-OG for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Nov 2022 10:09:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otmVe-0003Xp-7F; Sat, 12 Nov 2022 04:09:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otmVb-0003XW-GA for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2022 04:09:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1otmVa-0000Gx-I3 for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2022 04:09:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1otmVa-00035q-Ds for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2022 04:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Nov 2022 09:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59206 X-GNU-PR-Package: emacs Original-Received: via spool by 59206-submit@debbugs.gnu.org id=B59206.166824408311800 (code B ref 59206); Sat, 12 Nov 2022 09:09:02 +0000 Original-Received: (at 59206) by debbugs.gnu.org; 12 Nov 2022 09:08:03 +0000 Original-Received: from localhost ([127.0.0.1]:47313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otmUc-000345-TD for submit@debbugs.gnu.org; Sat, 12 Nov 2022 04:08:03 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otmUa-00033S-UL for 59206@debbugs.gnu.org; Sat, 12 Nov 2022 04:08:01 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otmUR-00007O-MV; Sat, 12 Nov 2022 04:07:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=MbymaPnpRhcDOHgiawkcGAExwZoKRCiGcKjnxc/frPA=; b=UAbx3iyjLGr4 3ZSGlPqtnwFRevdhsnKFiMoogOo3qQtu38eVqwTZqW3E15X64Ugc96M3n/H069s8YjWT49xCF+fqs 7uT2ZV35rxKGqty1pG1dqWYhNc3AQQzZDn893RSjc1ocGNapta/0Kc5pM7wKpWkLErOqpMM47EsCz E6pUoPIcJFYW9Chz1DktbjQj2oo36mwybCnbXnHFOMlTxyFznozOvpqR0Nqw3Olkfw0K8qImqYyMb 2Zofs/LYKx03zL08iX0WrZa92PG1AmJhQEfV2S7T6dd+cS441hCKG7oCJrhmHrmvuaZlVRWqcYSPb UO+O9NvJnFboRyk+Wz0OwQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otmUP-0003UN-Aw; Sat, 12 Nov 2022 04:07:51 -0500 In-Reply-To: <875yflumx9.fsf@graner.name> (message from Nicolas Graner on Fri, 11 Nov 2022 23:49:22 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247642 Archived-At: > From: Nicolas Graner > Date: Fri, 11 Nov 2022 23:49:22 +0100 > > When the variable rmail-summary-apply-filters-consecutively is non-nil, > if you execute one of the rmail-summary-by-* commands when there is no > existing summary, you get an error. > > This is because those commands call > rmail-summary-fill-displayed-messages, which assumes > rmail-summary-buffer is a buffer, but in this case it is nil. > > Example (starting from emacs -Q): > > C-u M-x rmail [any rmail file] > M-: (setq rmail-summary-apply-filters-consecutively t) > M-x rmail-summary-from-senderstesting > > Debugger entered--Lisp error: (wrong-type-argument stringp nil) > rmail-summary-fill-displayed-messages() > rmail-summary-by-senders("testing") > funcall-interactively(rmail-summary-by-senders "testing") > call-interactively(rmail-summary-by-senders record nil) > command-execute(rmail-summary-by-senders record) > execute-extended-command(nil "rmail-summary-by-senders" "rmail-summary-by-senders") > funcall-interactively(execute-extended-command nil "rmail-summary-by-senders" "rmail-summary-by-senders") > call-interactively(execute-extended-command nil nil) > command-execute(execute-extended-command) Thanks. This part of Rmail is currently being worked on, and there's an uninstalled patch in the queue. If that patch doesn't fix this problem, I'm sure Andrea (CC'ed) will do that as part of the updated patch, when we finish discussions of his last patch.