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 C08FB6DE0F19 for ; Mon, 11 Nov 2019 11:08:16 -0800 (PST) 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 qdQYA6IGemte for ; Mon, 11 Nov 2019 11:08:15 -0800 (PST) Received: from NAM05-CO1-obe.outbound.protection.outlook.com (mail-eopbgr720051.outbound.protection.outlook.com [40.107.72.51]) by arlo.cworth.org (Postfix) with ESMTPS id 9C5446DE0F16 for ; Mon, 11 Nov 2019 11:08:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UBRhrIOSMSBPctYEHpDvCjxbq38ulRCKEyZaJn9FKDfnth/rRUQS2Bag6RL+Je9bgrBFxTU21Bgkan+FeWoYYgv6jBKKE9okcgBde/30QAQ59pIJcP1vx3h8aeveE7qw0yTRRvLxSmofLr4n21+be0VGb0b4nhZ+HD3T0nr4fSUXauB97adFcMoZkYNVWMp7Mcxe4kF8UTpuE+ZRPz5iWtQF4YaOXJlLRSo8oPP4BZnwcjIhul+Q+ewsTO98HsDm9qFAP33eDUNshnLKCwc2QIBeBOsY2GS8U73NIjCejUwrItA30dNOZSIer6MUaOUVAAEZLxlgh1X9dtKN/b/mZg== 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=GlSRX95athtXJIaHOmsRkaKrW4gpWUxw3pbUcmBRKVo=; b=lXhQfj07/D/xEGnp7sFm3Z/QnlVYnxbIhDPhrYBcbvkCqvmnZvLDZrQsMx2wpySmqzu5qUI490ZpvEoAxJ49VBfj6fM4xjkhvmd8WfsmJEtdoaLp7kOkHup9ICSBItjKo7LYqpbYRQjCqbHFyVMuQvBmrmlYTfaNBu9v2GLbSJz+Ji8lNeasuFAlUOG9exphfSuBwBRU5dQvZ1LfhP/hs6uoRfoNlAT8mBSp1+S1wnopFogd+qdQIPtxh3mhh1F7uXiZodfwt6uPcB7Q9qmCjkzXx9bcvwK2d/EewH4cyM5PS11TQJ89ONXKgjxsoB9uFchx9eFlwedSg/Sv7apP2w== 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=GlSRX95athtXJIaHOmsRkaKrW4gpWUxw3pbUcmBRKVo=; b=tFc7waEkDsTwT+mgPEPWcmDI2WjFxs6vXZMlwRCiyEfalltl3BWlpASBCnVkKMWWWy3MKlR01zJJQAMHSnNJaE46mxN8ydV6rmycQ/upvKZDPcl6OJxyZpXFmnXyeFm/n6ZUNWdFsGNgTNdrGuSeLyUnjqu9yiB6UwbFDEUCM9k= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=jrollins@caltech.edu; Received: from servo.finestructure.net (131.215.114.176) by BYAPR03MB3557.namprd03.prod.outlook.com (2603:10b6:a02:b0::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2430.24; Mon, 11 Nov 2019 19:08:13 +0000 Received: by servo.finestructure.net (Postfix, from userid 1000) id 9614A125; Mon, 11 Nov 2019 11:08:11 -0800 (PST) From: Jameson Graef Rollins To: Daniel Kahn Gillmor , Notmuch Mail Subject: Re: can a notmuch query filter the output based on the size of a thread? In-Reply-To: <87pnhys1dh.fsf@fifthhorseman.net> References: <871ruetona.fsf@fifthhorseman.net> <87y2wmuww0.fsf@caltech.edu> <87pnhys1dh.fsf@fifthhorseman.net> User-Agent: Notmuch/0.29.2 (https://notmuchmail.org) Emacs/26.1 (x86_64-pc-linux-gnu) Date: Mon, 11 Nov 2019 11:08:11 -0800 Message-ID: <87eeyeut7o.fsf@caltech.edu> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [131.215.114.176] X-ClientProxiedBy: BY5PR16CA0022.namprd16.prod.outlook.com (2603:10b6:a03:1a0::35) To BYAPR03MB3557.namprd03.prod.outlook.com (2603:10b6:a02:b0::17) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 647b7def-13d7-41d8-06a8-08d766da805d X-MS-TrafficTypeDiagnostic: BYAPR03MB3557: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-Forefront-PRVS: 0218A015FA X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(136003)(346002)(396003)(39860400002)(376002)(189003)(199004)(51444003)(36756003)(86362001)(48376002)(76176011)(51416003)(229853002)(478600001)(386003)(5660300002)(8676002)(4744005)(47776003)(2906002)(81166006)(8936002)(81156014)(16586007)(26005)(786003)(58126008)(42186006)(4001150100001)(11346002)(7736002)(186003)(110136005)(486006)(6116002)(3846002)(66066001)(88552002)(50466002)(75432002)(66946007)(70586007)(305945005)(2616005)(476003)(316002)(446003)(6246003)(6266002); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR03MB3557; H:servo.finestructure.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: 9+zEc/X45FA/jAyrGDgfDL9nCbHAmbuigTMdV+11IbZIzgi8xOkvWbNqsQAqCQKAyUVVXyyessH4lbYOhpCXCTXjQOjIQ9KCSBkXj7EM7HVLKhIbd3IKGLwz0w+F9Rxs92GeedlETfdwgEan3I+Az63IYlzrS19wGzHh7k54EbM3eTX/bex+CDf6zUXtTvWASGVAyJ6qbopcVl7h6JTk5XXwdYjTQshmXiByeSCDoiOdD8FozZ4AN+AWltSC9Us9L3U5hNYASx2YhCoH7ZZil8dsNwWX6k185xeKwLkMopcSfSonBsjFWnnMckSas4gYSJMFGxZ/qUaL/TI0L1B8yXxEk76nw3mgJ6Ou0nkvYZ3e8q2f9lgG4gyUCdi/tuyJzTD1LmbA0CZp0LPQRBZ5PYhWiniZ3FGuGiTNQSN4PJnG4DqxnUIfQbVUWPuoUrbn X-OriginatorOrg: caltech.edu X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2019 19:08:13.8568 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 647b7def-13d7-41d8-06a8-08d766da805d X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fd5be9d9-7b72-4df9-830e-b1f9cc5b44bd X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR03MB3557 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: Mon, 11 Nov 2019 19:08:16 -0000 On Mon, Nov 11 2019, Daniel Kahn Gillmor wrote: > On Mon 2019-11-11 09:48:47 -0800, Jameson Graef Rollins wrote: >> I'm not sure I understand what the question is. They want to count >> messages, i.e. "notmuch count"? > > nope, i think they want: > > - show me all threads where: > - at least one message has the tag 'list/questions', and I have never personally had the need to search based on numbers of messages, but I have definitely thought that it would be good if searches worked over entire threads instead of just messages. I would much prefer if a search for "foo AND bar" would turn up a thread where "foo" was mentioned in one message in the thread and "bar" was mentioned in another. I think that would be very useful. > - at least two distinct messages are present > > does that make more sense? > > --dkg >