From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 0BFDF6DE0B36 for ; Tue, 14 Jan 2020 11:58:11 -0800 (PST) Authentication-Results: arlo.cworth.org; dkim=pass (1024-bit key; unprotected) header.d=caltech.onmicrosoft.com header.i=@caltech.onmicrosoft.com header.b="Z1FOu007"; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.285 X-Spam-Level: X-Spam-Status: No, score=-0.285 tagged_above=-999 required=5 tests=[AWL=-0.285, DKIMWL_WL_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id No6McWDQFuo9 for ; Tue, 14 Jan 2020 11:58:07 -0800 (PST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2055.outbound.protection.outlook.com [40.107.237.55]) by arlo.cworth.org (Postfix) with ESMTPS id CC7486DE0B33 for ; Tue, 14 Jan 2020 11:58:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cc427k4SoYRmNP+ZVfBdTE4e8dyZJk0t1HODyTH40Rgzn0KFCsrjCx9Oipo3V+cNW3abmojw6CabxlUVVmAwNUIfyZ0cFiSE1sylz7w613p/0Szp+YW6v4xmaUtJ8SCk2MKZiUt7Z80CRmpxRlKG0HEftrHtbp9dlV2gA1e9BIwSIqCmIHAaLUY02Bh0zdzkcVV5ikgtcGgpsjHbg5l57kkAO89odUjS/uC0gkvSvgpSaMc+yCfaIw3F9Y87B/nt3VFjtTCM5+KHIZfY4+KD5RIJXPBPR2GDfuUVIRTFSBioZqtAWHc1uzmmLRzy4vhZzcnUZ9QP5dmbjgA03zLNdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=50LHBCvhcievrNxb9Ztub4h6/pvQs8FaDQC66w7H+/w=; b=XWpxpN1K6OzJRG8qDWyPWrtQOs4Pwyu15qLy0XT8R3KngLkd2mwCtlhkU1bJTkmrhBxE+5+us/jq268qtcGbB2d3W0wgymDg/oZs452riY7xZSi632PyvLfYWv7hx2KY8ebCuF5vLQY9HNDvFqwYkfda7ESyMEK1EDqeGG5y6aH/4JmZUKtuUvt/jeJkpPiZqh1Ccpkq7Arbo6IqFVcoZ/QM6q+vzYVD5fLgo7OHwZRWPovVpLEKAj42v+OWMytB1yK+WC0qSNJe02rcggV9X87m+gyh+g3V3NGOtfCr8htkRc8B/UqU31vTsun+j18nYmS0Nc6Q/IN4tqqN6Z+/uA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=caltech.edu; dmarc=pass action=none header.from=caltech.edu; dkim=pass header.d=caltech.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=caltech.onmicrosoft.com; s=selector2-caltech-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=50LHBCvhcievrNxb9Ztub4h6/pvQs8FaDQC66w7H+/w=; b=Z1FOu007iPrMWCGD1cyJPtzeQHA3ogmQzBToe5tkmfTTs4uRSCUMtync83DeJWJodrDCaVV30vHVAY1GeXjgz31nfxVeahgLmKRmUd+WNy5dxZi03vyvDTDlxQp917oCC0+QM78i888+9xmJhENwwxMionCSblHv1R9Cm4BZe5I= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=jrollins@caltech.edu; Received: from servo.finestructure.net (131.215.114.176) by DM6PR03MB3561.namprd03.prod.outlook.com (2603:10b6:5:b9::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.9; Tue, 14 Jan 2020 19:55:42 +0000 Received: by servo.finestructure.net (Postfix, from userid 1000) id 0B7F3131; Tue, 14 Jan 2020 11:55:37 -0800 (PST) From: Jameson Graef Rollins To: Daniel Kahn Gillmor , Teemu Likonen , Notmuch Mail Cc: Antoine =?utf-8?Q?Beaupr=C3=A9?= Subject: Re: proposing "notmuch purge" In-Reply-To: <87r201j0zr.fsf@fifthhorseman.net> References: <87wo9vhtyh.fsf@fifthhorseman.net> <87d0bm1vjf.fsf@iki.fi> <87r201j0zr.fsf@fifthhorseman.net> User-Agent: Notmuch/0.29.2 (https://notmuchmail.org) Emacs/26.1 (x86_64-pc-linux-gnu) Date: Tue, 14 Jan 2020 11:55:36 -0800 Message-ID: <87wo9tdd8n.fsf@caltech.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [131.215.114.176] X-ClientProxiedBy: BYAPR21CA0030.namprd21.prod.outlook.com (2603:10b6:a03:114::40) To DM6PR03MB3561.namprd03.prod.outlook.com (2603:10b6:5:b9::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e05f3b86-74ab-44a6-98ba-08d7992bbe74 X-MS-TrafficTypeDiagnostic: DM6PR03MB3561: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-Forefront-PRVS: 028256169F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(199004)(189003)(2616005)(86362001)(6266002)(4326008)(36756003)(2906002)(75432002)(81166006)(81156014)(4744005)(498600001)(8676002)(8936002)(186003)(42186006)(5660300002)(110136005)(70586007)(66946007)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR03MB3561; H:servo.finestructure.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: caltech.edu does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KIPh6WJOZsFFMgi5vCqUkvsGta2DJAtOFm5GRC9Cv4og2VRvn48l194t9sJxBc24xMhvC9P+dYGp25Evf+snApwd8VxNrrqgR8YYl5C+tFuLUfBZA+vPAjhgK2h4y8qLHSXym6bMZJla0U2Uk4VHzjpXwSEgcjtjNo5Hz5lHqcJQZzoy9XLy7tgEnL5H4BbH4gJGgq9vXvt7Nh7XWRbiODog3yy7ikLrWJs2a3qtzhIn2RGLRJYFazOljilR5tEpDJ7EubfN72T5zVvD1ShjxLnLCDS8PtzkuKpSF2oor/I7tC3p7nm7rE2ig8k4yLlIchhscwpAvPJG4CB8mV82lIhra+2WGOOp8IZ7v8loY6aTEFRF54aXMiMX91FMnkJY6GArwg3pFa4aGHPz5uyPUUqXfpHitXTIqkGL6e8Y2GoU5FWVTg+AOuaARsB7T+JS X-OriginatorOrg: caltech.edu X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jan 2020 19:55:42.4167 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e05f3b86-74ab-44a6-98ba-08d7992bbe74 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fd5be9d9-7b72-4df9-830e-b1f9cc5b44bd X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR03MB3561 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jan 2020 19:58:11 -0000 On Tue, Jan 14 2020, Daniel Kahn Gillmor wrote: >> I think that the "SEARCH-TERMS" part should be configurable, not >> hard-coded. A user could have setting like >> "search.purge_tags=3Ddeleted;spam" and that would lead to search terms >> "tag:deleted OR tag:spam" in the purge operation. > > I want the user to be able to run "notmuch purge", with no arguments, to > "Do What I Mean"=E2=84=A2 > > I also want the "purge" subcommand to have its own configuration > space -- it's *not* a specialized form of "search". Honestly I don't see the point of any user configuration here. Seems likely to only add confusion and possibly improperly deleted messages, which would be very bad. Just use the "deleted" tag only. It's already being used in multiple place to mean that the message should be deleted. jamie.