From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 4031 invoked from network); 23 Jun 2021 12:54:52 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 23 Jun 2021 12:54:52 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lw2P3-006jy0-Ly for ml@inbox.vuxu.org; Wed, 23 Jun 2021 07:54:49 -0500 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94) (envelope-from ) id 1lw2P3-004cAw-4W for ml@inbox.vuxu.org; Wed, 23 Jun 2021 07:54:49 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lw2P1-004cAq-MH for ding@lists.math.uh.edu; Wed, 23 Jun 2021 07:54:47 -0500 Received: from mail-vi1eur05on2094.outbound.protection.outlook.com ([40.107.21.94] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by mx2.math.uh.edu with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lw2Oz-004vmT-0q for ding@lists.math.uh.edu; Wed, 23 Jun 2021 07:54:47 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ERIiwGOX1rbH526yGvR7Cd5c1tPkBt9E2cQrnnAGx0B9Tl+AREialjq5PT598u2vJ9QkW7gpH1eiz23w2gTe46T3+evk2gjewsM/J0TLYiF/0DhIqWgDs+72F2yu8IEkHpjwr+cHvSWKrqgbQak1ZxOyn3FhXNFaqu0GqYU0YTqm0T7rIxEtNju1QjaNnw9XUc7Qk2C3LtTnp+uNRgC/E1ifYslQqjwouwhQ8Q/ZIm6RxqxwNv5yXht4PVpMUBljPI7Ux7jdsL1WO1rXS+BNsHzTYmFcDA5Zr4ivUJYmR5X1KDduJObxC+vHU9Ypcko9kkMqGP2CZPi2lq/LK7pSLw== 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=c+hSGNsQvYwpFcmnjnfQxF7Paj23HRV8eKI7H9dOzfM=; b=SFpPMjmQ5dkiYEltT19Dfv+A/dvLc21/Z0YOS67+C1K1L2VN4xKRqUVylR+axgGFYvLTUCMp51+c83CSmn/XYLDW7Sr3NspGiJ3VcsYSjBPx+Pkddgk/13yZVHWTdcctsbBEkj4GRi3A6H+lvKcFPr67N0X+9iCCenf5BMOHEmNeskB1Q/jfvcxVbMQbK2CbmESTMtfyLPoBBXP6YJhxaXba5Iz0Xg+5b2EdTHJ1L0oZLocxbZY1OMwTFWNRlTZ4Czl7YPdjL1OzTk/uDs/mX0MFDw1Veww1j4QlDUZrFpW62yS4Q0eZR26nbTeoutOSgGd1wu3YxrmFldHjrwGgBw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 192.38.125.140) smtp.rcpttodomain=lists.math.uh.edu smtp.mailfrom=biostat.ku.dk; dmarc=pass (p=none sp=none pct=100) action=none header.from=ku.dk; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ku.dk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=c+hSGNsQvYwpFcmnjnfQxF7Paj23HRV8eKI7H9dOzfM=; b=rRSGxu0BB4nTrt6Jor7v4MgHUZ1R/bH3k7myGo0FDsWqs8bEjs9ZggH+8QXmya3WrqwZvKlXMujfmbnF9iXGdtFhqFg2Jauj5favAl/J0MSe7xmMqpjlJwno+PHXH8tfPv/qHFsGmq62O8VlWE5LV5ftILeNDVD+WTJfgFWwjS4= Received: from PR0P264CA0065.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1d::29) by DB8PR04MB5706.eurprd04.prod.outlook.com (2603:10a6:10:a5::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.18; Wed, 23 Jun 2021 12:54:38 +0000 Received: from HE1EUR02FT040.eop-EUR02.prod.protection.outlook.com (2603:10a6:100:1d:cafe::ff) by PR0P264CA0065.outlook.office365.com (2603:10a6:100:1d::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.18 via Frontend Transport; Wed, 23 Jun 2021 12:54:38 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 192.38.125.140) smtp.mailfrom=biostat.ku.dk; lists.math.uh.edu; dkim=none (message not signed) header.d=none;lists.math.uh.edu; dmarc=pass action=none header.from=ku.dk; Received-SPF: Pass (protection.outlook.com: domain of biostat.ku.dk designates 192.38.125.140 as permitted sender) receiver=protection.outlook.com; client-ip=192.38.125.140; helo=mailedg02pw.ku.dk; Received: from mailedg02pw.ku.dk (192.38.125.140) by HE1EUR02FT040.mail.protection.outlook.com (10.152.11.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.18 via Frontend Transport; Wed, 23 Jun 2021 12:54:37 +0000 Received: from sepo3.ku.dk (10.78.10.8) by MAILEDG02PW.unicph.domain (192.38.125.140) with Microsoft SMTP Server id 15.1.2242.10; Wed, 23 Jun 2021 14:54:36 +0200 Received: from 10.78.10.21 ([10.78.10.21]) by sepo3.ku.dk (JAMES SMTP Server 2.3.2-1) with SMTP ID 241 for ; Wed, 23 Jun 2021 14:54:36 +0200 (CEST) Received: from sund3583 (10.78.10.8) by MAILMBX16PW.unicph.domain (10.77.128.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Wed, 23 Jun 2021 14:54:36 +0200 From: Thomas Alexander Gerds To: Subject: emacs 28 search not working with nnml Date: Wed, 23 Jun 2021 14:54:36 +0200 Message-ID: <87bl7wzqpf.fsf@ku.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.78.10.8] X-ClientProxiedBy: MAILMBX01PW.unicph.domain (10.77.0.233) To MAILMBX16PW.unicph.domain (10.77.128.240) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 78830893-1a18-414f-46cb-08d936460ec8 X-MS-TrafficTypeDiagnostic: DB8PR04MB5706: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: a0/BqKvM4G9jH2yi8tPKbNNDC8Tk7Xdlb6NAs5m9ih86C6BB/RUmezK6avgan9FHrDNjxMgqT8kNoanF1Cp1keE5k76j/YppvNVnyj/Ey4z2W6iHy8PwWbsOYYtk5BftGi2AfUsOqIAHZqnGYHRsjw5uCprVHpTR8bGXmoi86Y6XMmb9+xweFWqYJaXLaRI5RWjCcsUYWB/K/u9R/yia8l/KfGz2lEDlkQj9ZO0oTDYG56InOS5c5/lQG9KkBeg0bnZZmPqFyaS6n36Dsai1r0d0UMs28KrCcL+SUWujSnA+AZOxwkPa9ob86w4PWoj9DDT5klkKBpUFOzo2lWFRlK3o7W4BrqD9dH5Q3FAd99aXvu59qVwXw39Br+hHIhLAodYppzyu8zPar9Ht3m3qYtQMcKXPgFn2ZpDpefox2MJoSuLIdM8TKnsnoopYJQ11BlL5dWC+r8IUmWLr2oucCLjbJA7CzllXPygcXCTcboewdbFfpuh4XeujAM4j1KdNaPJiP4CZCOnewVGgo2x3kWMYcmJvhW7OSaiuGBM5xMC2TqmXqYzoGI7Osz/OY2dcofKSHCsRYsMM9l3WukRliSYbm7v+9CpHwtvSfJ3nr8EhVJ6Jrsy7ixm8QG7zYQft35EFHxocu6TDsPnhxxLhqrJzzkeZrdS7ZzhKtJ5OOm58IskqXovFVVNIP7trLwjJq/Lr4dchm2DOsJQjdIPx5jjOSnLldt//MVdBPs+l91E= X-Forefront-Antispam-Report: CIP:192.38.125.140;CTRY:DK;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mailedg02pw.ku.dk;PTR:mailedg02pw.ku.dk;CAT:NONE;SFS:(4636009)(396003)(136003)(39850400004)(376002)(346002)(36840700001)(46966006)(6916009)(356005)(36756003)(36860700001)(186003)(7636003)(82310400003)(5660300002)(26005)(7596003)(16526019)(82740400003)(2616005)(83170400001)(478600001)(83380400001)(47076005)(8676002)(8976002)(8936002)(336012)(2906002)(70206006)(786003)(316002)(70586007)(579124003);DIR:OUT;SFP:1102; X-OriginatorOrg: ku.dk X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jun 2021 12:54:37.2419 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 78830893-1a18-414f-46cb-08d936460ec8 X-MS-Exchange-CrossTenant-Id: a3927f91-cda1-4696-af89-8c9f1ceffa91 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=a3927f91-cda1-4696-af89-8c9f1ceffa91;Ip=[192.38.125.140];Helo=[mailedg02pw.ku.dk] X-MS-Exchange-CrossTenant-AuthSource: HE1EUR02FT040.eop-EUR02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB5706 List-ID: Precedence: bulk hello a recent upgrade to emacs 28.0.50 and my homegrown search functions stopped working. Eric Abrahamsen kindly helped me to translate my obsolete nnir-settings (thank you Eric!). but there is another problem deeper in the system which I describe here. I am using nnml and have all my email downloaded to my laptop using notmuch for searching. now I am confident that notmuch is finding some articles when I enter via GG or envoke this very simple function: (defun test-search () (interactive) (gnus-group-read-ephemeral-search-group nil `((search-query-spec (query . "from:Alessandra")) (search-group-spec ("nnml:" . ("nnml:research")))))) some hours debugging showed that nnselect-retrieve-headers calls the macro nnselect-get-artlist which returns a too long group name, i.e., "nnml:home.tag.mail.research" where I think that it should simply return "research". at least this helps a little bit because a) now nnmail-group-pathname does not produce the buggy result /home/tag/mail/nnml/home/tag/mail b) the following hack ,---- | (setq nnselect-retrieve-headers-override-function 'my-retrieve-headers) | (defun my-retrieve-headers (sequence &optional group server fetch-old) | (setq group (replace-in-string group "nnml.home.tag.mail." "")) | (when (nnml-possibly-change-directory group server) | ... `---- shows me a summary buffer with the search results. only the body of articles are all empty. I guess this happens because (replace-in-string group "nnml.home.tag.mail." "") should be applied not on= ly when retrieving headers but also when retrieving articles. now I am hoping that this is a bug which can be fixed somewhere earlier on in this complex chain of commands? but, any help is very much appreciated. cheers, Thomas --=20 7LL-6 Stop thinking too much, it=E2=80=99s alright not to know all the answ= ers.