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.devel Subject: Re: [PATCH] Allow applying filters to summary consecutively (was: Summary by thread in rmail) Date: Mon, 10 Oct 2022 11:57:31 +0300 Message-ID: <83sfjwgio4.fsf@gnu.org> References: <871qrg845g.fsf@autistici.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22769"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, rms@gnu.org To: Andrea Monaco Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 10 11:03:18 2022 Return-path: Envelope-to: ged-emacs-devel@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 1ohogv-0005ll-Pr for ged-emacs-devel@m.gmane-mx.org; Mon, 10 Oct 2022 11:03:18 +0200 Original-Received: from localhost ([::1]:37712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohogu-0004Tb-K4 for ged-emacs-devel@m.gmane-mx.org; Mon, 10 Oct 2022 05:03:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohobH-0007JX-8q for emacs-devel@gnu.org; Mon, 10 Oct 2022 04:57:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47752) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohobF-00074Y-SI; Mon, 10 Oct 2022 04:57:25 -0400 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=67+vxGK+q7YTxKONkOQ9sK1OLpeNga28S/zBCzRlcfQ=; b=YisHEl7tLaVf XpXsvHgPwOooP77MHLAYkfVVEiu4YSokBWONQkI88Z7ZA7uRhAPOwI1KW2cdXfApRmc/Tkf8jjBXe oYhsiZpMhgkHKgL/SWyP7k0NGOv+bXPEJn2pihv7O754WzGu0ywzfrtwmCWbeAgp865nPtpx+yfT0 3eY6ZPQ3fxY2N4JlgGMrkcdoOOeVdR1fOl9NaWvzRp1QzI0oqmQMnX/LFZLtvSfeYK+gpnbfa2bz1 ori2zqUm5voN+0eUsMURvam32JKmH6maaRMhiqKQDF5bgTFlqtpNz+ChHyPL1N89TEMF58M5LaZfK pEUd3Ho6TZPLBEhAfzh23Q==; Original-Received: from [87.69.77.57] (port=4281 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 1ohobE-00075C-NA; Mon, 10 Oct 2022 04:57:25 -0400 In-Reply-To: <871qrg845g.fsf@autistici.org> (message from Andrea Monaco on Mon, 10 Oct 2022 10:38:19 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:297342 Archived-At: > From: Andrea Monaco > Cc: emacs-devel@gnu.org, rms@gnu.org > Date: Mon, 10 Oct 2022 10:38:19 +0200 > > > > Without some user ability to take advantage of these new options, > > the feature is less useful, IMO. > > I agree. One possible solution is that for every rmail-summary-by-* > function, let's say rmail-summary-by-topic, we add another simple > command called rmail-summary-further-by-topic that looks something like > this: > > (defun rmail-summary-further-by-topic (subject &optional whole-message) > (interactive) > (rmail-summary-by-topic subject whole-message t)) I think it could be better to use the prefix argument. AFAICT, only one of the Rmail's summary commands already uses the prefix argument, the rest don't.