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: Tue, 15 Nov 2022 22:15:38 -0500 Message-ID: References: <87r0y8m5jc.fsf@autistici.org> <97ea4e2f08a17bc0197c@heytings.org> <34e17bf2a6f4900f7f40@heytings.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="13805"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 16 04:16:30 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 1ov8uc-0003K2-Hs for ged-emacs-devel@m.gmane-mx.org; Wed, 16 Nov 2022 04:16:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ov8ts-0000au-Q9; Tue, 15 Nov 2022 22:15:44 -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 1ov8to-0000aC-Lz for emacs-devel@gnu.org; Tue, 15 Nov 2022 22:15:41 -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 1ov8to-0005ik-3E; Tue, 15 Nov 2022 22:15:40 -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=PI2W3P4+2iA1d+BkAC/Ac6DfS+Iutn6kU3s4lEhQ59A=; b=A/T7u6V0/ah8 3RmAqrk5yJOHBRIu2eXRaEPcCwe0JwvfWaudeN7OGx9mLFBuVyFOGYFiPYjOOjR2B9dwSRC0EdDKb RxjJBpGhAgyzxJ2YzkLlcu+N67O8ebekLE9Qf/+ZIK+mOdJFbhKRr2muG9QFrVavjT/JFloN9hYAy giI2npbFHpdUxqqeDeLTPokGFUKORy6Xu4Y13EfIk7csIhRPVCVJlGGi+h7BLUQT7MDky5ttjLder +C68Uxt8Lvx2A9Dlt+8CMU182qJXz8mRh9hYiAWtdHkQY0sfL4+LTLTN9usnTS91QStuxs1zBnbyy vlxSUYvEvV9lp8LHjdQLrQ==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1ov8tm-0000Ah-N7; Tue, 15 Nov 2022 22:15:38 -0500 In-Reply-To: <34e17bf2a6f4900f7f40@heytings.org> (message from Gregory Heytings on Tue, 15 Nov 2022 09:56:38 +0000) 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:299892 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. ]]] > Did you bind 'q' to some other command in your local customizations, > perhaps? 'q' is by default bound to rmail-quit/rmail-summary-quit, which > quits Rmail. Indeed, I did that. I didn't remenber that I had chaged that binding in summaries. (I think the binding of q in summaries would be a good thing to change by default.) > It seems more natural, at least to me, to ask the user how they want the > command to be applied. To me that seems the least convenient kind of interface. I'd prefer an interface which doesn't need to ask questions. Here's a proposal which doesn't involve use of q. A summary filter command _in the Rmail buffer_ should always make a new summary, discarding the previous summary first. A summary filter command _in a summary buffer_ should always modify the existing summary in that buffer. If you type | first, you get union; otherwise, intersection. I think this will be both natural and convenient. Additional idea: ~ in a summary buffer could invert that summary. -- 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)