From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [PATCH v3] Allow applying filters to summary consecutively Date: Mon, 28 Nov 2022 16:38:24 -0500 Message-ID: References: <87fse89pmb.fsf@autistici.org> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31259"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Andrea Monaco Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 28 22:39:19 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 1ozlqQ-0007u3-Fl for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Nov 2022 22:39:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozlpb-0006WF-7x; Mon, 28 Nov 2022 16:38:27 -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 1ozlpZ-0006Vs-HU for emacs-devel@gnu.org; Mon, 28 Nov 2022 16:38:25 -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 1ozlpY-00062p-Te; Mon, 28 Nov 2022 16:38:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=ELpEUko3qDvSnV+uDO2uScBT6IMwTrRmRzqswKZBuI8=; b=oht2AjfydjiG 7ndjQ7x1B1LesACUTBMxw/65N1Rq2+D9aVqkRbyjKmxCDGNTMaEEVHKA44q99b87j3Kpex+TCSWkU Wp7se10iwjQoiMjpzi6/2HUDdYklrXvp0EWjxXTeqoudH0QwLAKn3i0H+A0TNKUNjjlRM4Il9fZ/o Cs4p8OTNXHg5D58IuvMnAjjQJeJAxHVXCLrooKXoPOqDGBOqBvAemt+3bmoa+m8RwWDCVQN5SKFEB fYdmd18KSX495ZgR1Fcf27QbilCCZluK+Odwc57PBTUXMdBr8Gt3qAPDkFpGudg3Wok6C4QgOliN6 KHV66XvNaIb/D9YJig093A==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1ozlpY-0006NY-LN; Mon, 28 Nov 2022 16:38:24 -0500 In-Reply-To: <87fse89pmb.fsf@autistici.org> (message from Andrea Monaco on Thu, 24 Nov 2022 19:25:16 +0100) 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300693 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > The implementation of union and intersection of filters is still not > complete. Here's my proposal: pressing '&' and '|' in either buffer > could dictate how the next filter operates, by intersection and union > respectively. Those keys could toggle two mutually exclusive minor > modes that affect the next filter (or all subsequent filters until the > user switches again). It's not _bad_ but it is unnecessarily heavyweight and complex, and extra work to use. I suggest making & the default, so you don't need to specify that. If you type |, then if the next command is a filter command, it or's. Simple to use, and simple to document. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)