From unknown Tue Jun 17 01:38:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#76196: Obsoleting gnus/nnweb.el Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Feb 2025 06:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 76196 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 76196@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173925704324897 (code B ref -1); Tue, 11 Feb 2025 06:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 Feb 2025 06:57:23 +0000 Received: from localhost ([127.0.0.1]:53809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1thkCw-0006TV-Q7 for submit@debbugs.gnu.org; Tue, 11 Feb 2025 01:57:23 -0500 Received: from lists.gnu.org ([2001:470:142::17]:53808) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1thkCt-0006TC-7X for submit@debbugs.gnu.org; Tue, 11 Feb 2025 01:57:20 -0500 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 1thkCn-0000p2-1l for bug-gnu-emacs@gnu.org; Tue, 11 Feb 2025 01:57:13 -0500 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1thkCl-0002GI-DP for bug-gnu-emacs@gnu.org; Tue, 11 Feb 2025 01:57:12 -0500 Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-ab7483b9bf7so761575966b.3 for ; Mon, 10 Feb 2025 22:57:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739257030; x=1739861830; darn=gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=69QQShFqHCio1f5j0GgCfZZIenPhFdSb/NYiLCThIjs=; b=QPs5N35897xAWI4EBVlpgc5gUGVEnx4R1w84B2cgqE0Tf8ZbuuAa+oqQmpa4l3MJMH ca7Wcx+mIUdO0rY6PwypWdFir22WE6bABI1/FJUYRxANDjIvepxRgF9zZUpFsyMw7dzQ WeNkTJ1octNYCw4PAnfrrRXtLMKmVQebcxqrkyQ9v1Xmsrvlx2y0i050suP+gNSSKrpR /PuqM6aZQdnk1RU1+PQbq5eqVk2Hma067tsoNKyFMkKa3uCmEB3ui/W0nO8OPXH84yEc GpsQZJAHMXP+01h+VCTJfxvhfVETByYL945V6OKU45OhhpC6faiJiFzkFYVIBC5wnOfK s3TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739257030; x=1739861830; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=69QQShFqHCio1f5j0GgCfZZIenPhFdSb/NYiLCThIjs=; b=NsTqIoMbgiAKAIgr+kFgtJRoF45Np0cYkClO4B0H7a25T/S92jeraMqXUDOk1GUlKA U6r8JiZP/U90YCmG4LpaRj8MeMoHxEd/JkQL3b6LwKJJX1pk3HeAT3TlK8ePV09wHFbt Vqy3TWhZvFofKUAMqtZndpvlILGo+Q2zDm9YQFCIZqxyAzSLEBDauV/pcBuiMq6Icres YgtNN8mGCadIObQr3nTJqbRgxseDzxBoo9e1YTFC/o6daBtR+2lQPapMH8Ul/lcds7yM 84n/aE3GmgrEhcvBh8YQxL0TDtQ3JqMlYI4+UcNjlji81V5OiFwK7lEPtBeleYwyWdae 3zCQ== X-Gm-Message-State: AOJu0YxxEBFHZ9JLxrA1Yu9whos/mVW9XnGzCV/EG6GG596Yo4Jjs7nQ sNkO23d0C+fL/co3r5ZYWD2dOVD8rzdgvzwaWmZW11zrA74oCMyCCmgDby3FtNopeTzo1Y3tGw6 bfDexebVzqybmB1hWlCZnWlslJttmL0GjjVU= X-Gm-Gg: ASbGncvDhQd86TnGU0fXMZBFK8MRPelOgwYMyV3wNDuEYCzlCo5/v9mij5bFPRBcixM Xb0XmM1cECF6r2PvPsLFwmk2y7wdw2OHb2yoMeXYgefKe7P7wqdvccWhYwm+HsMit9gstuq9TUg == X-Google-Smtp-Source: AGHT+IG2UJLtou7vf3yAT1XfrOjDd/mZUsZxxjox+RmfclXxzfU3OSJ3PbyXFRFp9gyX5IWmIU+vKl6e3y7Z8UL6SvE= X-Received: by 2002:a17:907:8e98:b0:ab7:e414:39a0 with SMTP id a640c23a62f3a-ab7e4144994mr71253766b.22.1739257029757; Mon, 10 Feb 2025 22:57:09 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 10 Feb 2025 22:57:09 -0800 From: Stefan Kangas MIME-Version: 1.0 Date: Mon, 10 Feb 2025 22:57:09 -0800 X-Gm-Features: AWEUYZlr_vp1oN42iB3eoqwjjjrI3gdrrJc_FTwYeRmxKdD6myDtIn8tvkSw-8o Message-ID: Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::62a; envelope-from=stefankangas@gmail.com; helo=mail-ej1-x62a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Severity: wishlist The nnweb backend for Gnus is currently of rather limited use: it only supports Google Groups, which is defunct. They seem to have discontinued their Usenet archive service in February 2024, according to Wikipedia.[1] I also get 404 and 400 for the provided URLs in `nnweb-type-definition`. I suggest that we either find and implement support for a replacement for Google Groups, or otherwise that we mark it as obsolete. Having clearly broken functionality around does not serve users. Footnotes: [1] https://en.wikipedia.org/wiki/Google_Groups From unknown Tue Jun 17 01:38:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#76196: Obsoleting gnus/nnweb.el Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Feb 2025 13:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76196 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas , Andrew Cohen , Eric Abrahamsen Cc: 76196@debbugs.gnu.org Received: via spool by 76196-submit@debbugs.gnu.org id=B76196.17392794064148 (code B ref 76196); Tue, 11 Feb 2025 13:11:02 +0000 Received: (at 76196) by debbugs.gnu.org; 11 Feb 2025 13:10:06 +0000 Received: from localhost ([127.0.0.1]:54975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1thq1c-00014P-MH for submit@debbugs.gnu.org; Tue, 11 Feb 2025 08:10:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58426) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1thq1Z-00013W-4B for 76196@debbugs.gnu.org; Tue, 11 Feb 2025 08:10:01 -0500 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 1thq1S-00073q-T9; Tue, 11 Feb 2025 08:09:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=khZaJ9bDK3pcKv4dD+CFyYsH7cS3M3lLVliSq+4vi6M=; b=JrjGUSMMJo8a bGneBEwujIFgLLxyLhYAhJNgXctDvYvNjppPqSpPnA/eKT0eaajeq+vo5No7DlfFYpHh2u8PbHXDy LE2qgUOPxEg7sUylLO9dDq1iTVXljwKd4jhfgv85ZBuP8kfhryQWsYLZX07oG+P9Kmmh6Fksiqt7M A0Gk02/DJb5zCJANQnPfoaLfBssHwrd2jkV7dR12rmty7uz+pjODX86u5m7tzn2UHJUlmpzQCgKxq vQvwd93C9eQcppAHSjXT8YCFLPgepRXmzjUuxjzZkQcczzYZosVnZWXRMXA0ciNcK55RB2Zlb1DmN JzFzCNY2zUm2AsgcLL581A==; Date: Tue, 11 Feb 2025 15:09:43 +0200 Message-Id: <864j10y6eg.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Stefan Kangas on Mon, 10 Feb 2025 22:57:09 -0800) References: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Kangas > Date: Mon, 10 Feb 2025 22:57:09 -0800 > > Severity: wishlist > > The nnweb backend for Gnus is currently of rather limited use: it only > supports Google Groups, which is defunct. They seem to have > discontinued their Usenet archive service in February 2024, according to > Wikipedia.[1] > > I also get 404 and 400 for the provided URLs in `nnweb-type-definition`. > > I suggest that we either find and implement support for a replacement > for Google Groups, or otherwise that we mark it as obsolete. Having > clearly broken functionality around does not serve users. > > Footnotes: > [1] https://en.wikipedia.org/wiki/Google_Groups Let's at least include the Gnus developers in this discussion. From unknown Tue Jun 17 01:38:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#76196: Obsoleting gnus/nnweb.el Resent-From: Andrew Cohen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Feb 2025 00:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76196 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: Eric Abrahamsen , Eli Zaretskii , 76196@debbugs.gnu.org, James Thomas Received: via spool by 76196-submit@debbugs.gnu.org id=B76196.17403565839647 (code B ref 76196); Mon, 24 Feb 2025 00:24:01 +0000 Received: (at 76196) by debbugs.gnu.org; 24 Feb 2025 00:23:03 +0000 Received: from localhost ([127.0.0.1]:37457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tmMFT-0002VW-Ch for submit@debbugs.gnu.org; Sun, 23 Feb 2025 19:23:03 -0500 Received: from mail-japaneastazlp170100001.outbound.protection.outlook.com ([2a01:111:f403:c405::1]:57758 helo=TY3P286CU002.outbound.protection.outlook.com) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tmMFQ-0002Uh-9F for 76196@debbugs.gnu.org; Sun, 23 Feb 2025 19:23:01 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=gf3ZdrvTTlf4oUyjjUxx8NF6VwtFTJ7jMk+vFEwDKPK+F27Acen4TjWyz4YBXsAr8OcE3fK9fUFpB7C8Sdj8OBk2hGd9cwlk5MB71d4uYquftQBJ+d7Ws2pIERdP5uZYg3cYz48lbYulXlPaiC/7NXQE9fAfygQeO5/6ED0qv9BJmYy3CmPGTwb/bSAhG9qOaQRIfjmkOlB5gRzShauA0BY87vGFbwO41/y2tmoy+1qt25pP618pkL/gDd62bHLxUhdFGEVpyUNB+HWQFHgGx0FspJYJ3aq0ZNjOIF3xfw/xcyF1aSBVR+2//gwg035pdXUfr+O4/DovxsimbZXJRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XUU0pEeEy6BVq7IWlj5TFyIUzZm6B8BwghyaJCQLl9g=; b=QVfbhmlIYOfpzZ0GeCPgz6bxgjavX6KL26LfcCVssBDycidOvck0aASZa3T9x77jTXVJap9IovoDZjFjyFurauH+mSJqxfx0+VwUMRJ2Mgs4RJCIQpW49rSByKbPSG4GqIpMvgpqK5Z9GiN8B2NmoRa3tZ1/v3el6wc0L56Cu4WqOucra2BVCKSUwnWfVvhhySaBCgpT5ObDkXCqKXbK8ttDJ7z5RujAYxRwLAZ8sNfmwzVElzAse85qJAOVp5vHLWd3GsH3ZiDHypcN3PEuo/OCd2+U6Q3aNqstThBRc8bUnErefflhq18VXXin2RBoJCuBvDUu5dxo9EVlSk5eDQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ust.hk; dmarc=pass action=none header.from=ust.hk; dkim=pass header.d=ust.hk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ust.hk; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XUU0pEeEy6BVq7IWlj5TFyIUzZm6B8BwghyaJCQLl9g=; b=yOGDSPWXmqOniMPDfqvgbWcWJhKb5mqIOruheqKRDqNTAd8jgr1mAGEzSuyAm6a+bA7a/5D8f4woHE2dSEcDykHeAbhQikerQyIy+kcVvYQGMypch1vvlNpJ/g0KIgi89eE6tLs8DsN1Lt+0z2ZjpwjjC9XjJL27Jdpgwro7j+AuCD3SHdoyZL/z9zJkBIhI+LgxXoUSkVHP6LrfdfzvQ5Telm2eArro8JpLKS66YUq42rgS6VST06tlUv41oCoCAF5nbcg1owkQ9PKtRm7+p+bTdn68W15hcXHd7fn9CEvT0kpulgZ4r+RYHLSGL7Q/4JoBJSGx//J3n7qpr29KSg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ust.hk; Received: from OS3P286MB1877.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:1bf::11) by TYTP286MB3976.JPNP286.PROD.OUTLOOK.COM (2603:1096:405:183::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8466.20; Mon, 24 Feb 2025 00:22:50 +0000 Received: from OS3P286MB1877.JPNP286.PROD.OUTLOOK.COM ([fe80::4b6e:c37e:4327:cfab]) by OS3P286MB1877.JPNP286.PROD.OUTLOOK.COM ([fe80::4b6e:c37e:4327:cfab%4]) with mapi id 15.20.8466.016; Mon, 24 Feb 2025 00:22:50 +0000 From: Andrew Cohen In-Reply-To: References: <864j10y6eg.fsf@gnu.org> <87pljo5a69.fsf@ust.hk> Date: Mon, 24 Feb 2025 08:22:48 +0800 Message-ID: <87zficjinb.fsf@ust.hk> User-Agent: Gnus/5.13 (Gnus v5.13) Content-Type: text/plain X-ClientProxiedBy: TP0P295CA0008.TWNP295.PROD.OUTLOOK.COM (2603:1096:910:2::20) To OS3P286MB1877.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:1bf::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3P286MB1877:EE_|TYTP286MB3976:EE_ X-MS-Office365-Filtering-Correlation-Id: ad966e7e-5414-4d1b-9c6e-08dd54695f52 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|1800799024; X-Microsoft-Antispam-Message-Info: afi/SINl4gCZeAmcrxJwv5o6kSfeAp3MyOzgEH7q2VA8BXOecHfaELUVxYjU31KNCESY9Y0gp4LEJxZjDHiA1UlI6WuJUJ5a1mNzKNWWr+c2PS14Rl5xnJJOQev4I1s+1kLZe0NBUuUC3VkXkxhRW3srQay+aSIBzpgP2UuY9zw2X0qarBqm1N55pVRoSLSpzqHSSt7XQolNXP2UlYm73DhcNecke000yE0u88KdPkuWTl5XehcCsF2NPpr70xpLXqf6FKqJ1fnQqgI3yX2OoV6ak2tZK7kaMwAtnepCoN//Gqj/pPEaioH+42zl37hwJRdXYbympun3yRn6B//aOAQwFa7M/wqTRdacO47/s9FScOlLwIOQoNWA73Frosogvi4/kf7Tgm9R+fHMX/QpOmWYtP4dmHo672BWGpgc32GKhgNOm/x3CfSQxdVzPth0v889lxTA7URnOckuBaTlrMur+Epm0YsqmWgZK4GCxPfIJ6gXmJ9taxjT7APUf4ZKK2LC0KyYRDusVwCGvUMu5G4vUbs+KEz8hc4MSOTtoohu+rUoqqtjGVgaHTJLqJfEE7dPAqrvBEUUZBgw9HOV39NCJ8oxUtTsCOLcHmDh8xCCYHS31F2V8CyR7vXv3kHWAlEYe5RJq+3XgHPibgafaKWNC4/HaLYcf0nSpNCTe4073xAFIj+spz/EgfuXOGG8maan3SNCeGqyIEdWvel77iRh08tKWkR6zp6E89pnmpLyCB1KNS5yBQ2pGksaBSQFXz0o3DUVzavi+YUDtlxbYfir3TuIUCtzKx/phfo215v08nLKlLiFRY7GSusk0yHburx4Oc73DgqLQFRNpvtQCI7JxKGY17fY5cK6oP7LeCICnasY0cV1kUxSU9qejKX/n5oo3Bnu//rpJoaNY1q5XRCOAYISuDokVu9QAvib+u4zI7gz3P0JxAQrpPAKYPFGsqU27dpxzB+SYBbR42xcaIFT61YVYbw1uD4Ptxk96GlYKpCC+WQyWZmLzNj/c7nXiVf7x++0NoqK+gvDaGfRvSVU08CJteM668Wjq3VI/gUlqN0H4su2fXz2zk7W82QccP2vCVE3dAA6WPCLAmqu6b3XtM5xQQNt/mSfjeFKX+JoOwQciQas5pRj9yFR9Wqa5cVFP8l30y1WEiKwnwzmZB5jj+qwOGGykI0SMX3g+w7PaqclIpQiXM1jSBK+KYdyZ3tMRvDyNSiXvs+bWFYVIyD2o1GsWiLAePSa+uo3sO6AZPRIB+LSmBwbn2uXvDm7p/cpAu5jmCi4L+TcZOyPD8nOYSTetV2Y4QuQocWZDzHr5Yg2OuGgJeVRD+/i3pYK86t5VcVnT0RqcuRd5yzeGf8Xh7FGeuRQ7rhr70/fl2wSgBMqzJsX0Wq/xaa50fSc X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:OS3P286MB1877.JPNP286.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 0DIgzEEFZjq7f0nK+hz3/zsQ49zvZO60KGsmeFpdvCp2KDOv+NhzC36tXsjOavQdhPTAYarC0Xd2bdrDB7OPOXMq5nNsxMq3ZqulLHWh60wV+NGSrSOapgk6dIH+z7v7SjAEoAM1VvGVm1yYSR7W8Z5WoIZmatW2xtuWd6jZ0kDRiH2bDhQohQS4TS6/qqBdQSOc+eYIbFoEQoFFHlOEbBDMN0DcgkM0AGBGZnAuMa7v0MT7BX/w6/T8HWHXPjtX+vEkQVkodPopgWRb7hXFCJ9jmkCgQ7N+5oy6nHam6Ehkm6B5KNo8NmybWQIRZQhdMVXL8ZhD/Ho346bpG9GfZj1xfINt0+0e1PjxP5Xa20A/lj1qJKnQnZnHvqxxT6RhJ+xtx1gsaJHCmio9SmD0YLdq89ZvQlulGQvrmHGkjEsFPPWUKsoz7z7XAxu0zu55NackZldsxCm7D+JDrKPgRbK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RSRzJ3GtKCTmDWmWE7I7ms9v4x8MBHC/AIcax X-OriginatorOrg: ust.hk X-MS-Exchange-CrossTenant-Network-Message-Id: ad966e7e-5414-4d1b-9c6e-08dd54695f52 X-MS-Exchange-CrossTenant-AuthSource: OS3P286MB1877.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2025 00:22:50.5858 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: c917f3e2-9322-4926-9bb3-daca730413ca X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: XoxD/IcldZw3bTGhJBkcIGIb/YlensDq2CCH9YHmisQxhgSMn2rcXruMWXaD6SwN X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYTP286MB3976 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I asked on emacs.gnus.general to see if anyone was using nnweb. Although the number of responses was small, at least one person, James Thomas, continues to use it. He has, for example, updated the defaults to use help-gnu-emacs. This looks potentially useful, and if James (copied here) is willing to work on this I would suggest fixing nnweb rather than obsoleting it. Best, Andy -- Andrew Cohen From unknown Tue Jun 17 01:38:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#76196: Obsoleting gnus/nnweb.el Resent-From: James Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Feb 2025 02:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76196 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andrew Cohen Cc: Eric Abrahamsen , Eli Zaretskii , 76196@debbugs.gnu.org, Stefan Kangas Received: via spool by 76196-submit@debbugs.gnu.org id=B76196.17403654513747 (code B ref 76196); Mon, 24 Feb 2025 02:51:02 +0000 Received: (at 76196) by debbugs.gnu.org; 24 Feb 2025 02:50:51 +0000 Received: from localhost ([127.0.0.1]:37686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tmOYV-0000yN-BY for submit@debbugs.gnu.org; Sun, 23 Feb 2025 21:50:51 -0500 Received: from mout.gmx.net ([212.227.17.21]:44605) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tmOYR-0000y5-0O for 76196@debbugs.gnu.org; Sun, 23 Feb 2025 21:50:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1740365431; x=1740970231; i=jimjoe@gmx.net; bh=Hcom+mvNhDoRwjLRhi0PNBQSU6ASP5e5cYlMVeB2VRs=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=J03rkSiWTc7leURcB81HTEGWRUbWTsmbFOuLXtJrtrkQKtm2Y1g4zFYz/ONFCDDj IJ7ePX8aPtO8wqkrYWHBzXzbnlLhSxVtwZsB3Vt/u3zXEqG63sHnFXdd9ztEHFS0P 8jsAkjdnfPrE+mATmfhR2sChCbwO+rll340QMzFWZdEOJ8xlxFD9YZxKbYG0kzQMP awd6MLxL8ln4btTO1f6vz7I2WOojActJk6Jljwv0I3c7TK52Fl6qKMJkZ0pmIvvLS m7+jyR+aZ4JIIhpI2CXZGaRpMr0t4wZPoIKpvxmXax1/Q9evjZV6Ab31jsY7WuVT4 Lo6esGdqwRQYQnhdyQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from vimala ([42.104.189.19]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MAwXh-1tb9Ch2D4D-0072YK; Mon, 24 Feb 2025 03:50:31 +0100 From: James Thomas In-Reply-To: <87zficjinb.fsf@ust.hk> (Andrew Cohen's message of "Mon, 24 Feb 2025 08:22:48 +0800") References: <864j10y6eg.fsf@gnu.org> <87pljo5a69.fsf@ust.hk> <87zficjinb.fsf@ust.hk> Date: Mon, 24 Feb 2025 08:20:22 +0530 Message-ID: <87seo49hu9.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:REUwgu65oWZNzX5DWXGJYBjKKqcAkm6cJlIc+1dK+r2g6Ay8YVo tXR7GoF7TBBl+wUaqZnhhg15WPQbv4sA0pHNdv6ceIBJa3xfdX3Ag5wI+FjDzQrb+LlIco2 t2/e0GXp7z++4Lx3ILBLC3sr862UdzQMmJm5+Pxg7bMWLeaqgbIZuJ+sdxqPHdTwMpf85yk 8gHrrKSv/QG6ACJFdKvhg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:kFNJjs/h3mU=;gUYZy9+eWFq8FFfRl8Xa9bJu2Qf UX1v8mkvSCDgXL7Gzpmmleu7zDC92ApIK7iJOiUqE9xi9JD8tlFXZlUDKyppExmgb1XG6Uc5d 1g5ScmJvg93GEJczNzXkZ3obSBmmkPh8Ocm6L/Gnru0c2igkFBzGGPEhHCx/gEMyBZ6IlLlQG Z92yAj0CxfXRGxnl4Mf5qncxNpDvwdHw3tdforFDB9zy6Y9SXrs4xpwsuedcGL4tEfrdo9xP/ qAyNBOWc8e1Ve6KBenMhFp/yOcJ1J76GYBcF/LX14AYfIAsG6qTKRQ9lEEOdy1SR+AYenwLhh UqVOYuWbhF3+BRQ7sf946c4Yi3udbZF1O2gsLGurD980DlDEszkXxEJY3seIh4Bni7lIigyKT waEMjM7o9Dht56XL4RD9f+5JYKMcqXKz7R9GGM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There: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Andrew Cohen writes: > I asked on emacs.gnus.general to see if anyone was using nnweb. Although > the number of responses was small, at least one person, James Thomas, > continues to use it. He has, for example, updated the defaults to use > help-gnu-emacs. This looks potentially useful, and if James (copied > here) is willing to work on this I would suggest fixing nnweb rather > than obsoleting it. Please hold on; I'll send in an updated patch, with the article washing also included. (Thanks for linking to this bug) -- From unknown Tue Jun 17 01:38:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#76196: Obsoleting gnus/nnweb.el Resent-From: James Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Feb 2025 08:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76196 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andrew Cohen Cc: Eric Abrahamsen , =?UTF-8?Q?Bj=C3=B6rn?= Bidar , Eli Zaretskii , 76196@debbugs.gnu.org, Stefan Kangas Received: via spool by 76196-submit@debbugs.gnu.org id=B76196.174038533630898 (code B ref 76196); Mon, 24 Feb 2025 08:23:02 +0000 Received: (at 76196) by debbugs.gnu.org; 24 Feb 2025 08:22:16 +0000 Received: from localhost ([127.0.0.1]:38313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tmTjD-00082F-Pp for submit@debbugs.gnu.org; Mon, 24 Feb 2025 03:22:16 -0500 Received: from mout.gmx.net ([212.227.15.15]:60833) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tmTjA-00081v-Cp for 76196@debbugs.gnu.org; Mon, 24 Feb 2025 03:22:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1740385310; x=1740990110; i=jimjoe@gmx.net; bh=L1pXIcwALepQu+APwIGzPleJWDECEkQFlbmf/WTDdBo=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=erkRXv0PrizqJoKGrkYjej2jM4tRoCftxZRrqOZ20ANxE1r7bI+iDFqaWFFkgNup GesQT4mO2ZfFliXC7TXW0mq+wuuMvxCJ2gUXNUUBDEEA/4f+Zas/sHaRF8xOArhTz oUxSC/jIZMoqTwwla4ecCu/QigNTTNSpbKO949iHdZp5X/k+ojhrTH7BH0LIjS8+L B2OZwV6sGc509OrCutr6OGw/AYOF3tf2PjrAInotOfLUoUz1BhUUXF8p9Ft5/a+u4 1YpnqtNppyms/Z19a0z7/vBjqMEcwYjZrpFSo6e6ttQOvG99eT26Mwxw+TyKKBKJa ODHDAcRj55fBYMTGuA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from vimala ([42.108.22.187]) by mail.gmx.net (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MgNh7-1t6YFv34hz-00cDhJ; Mon, 24 Feb 2025 09:21:49 +0100 From: James Thomas In-Reply-To: <87seo49hu9.fsf@gmx.net> (James Thomas's message of "Mon, 24 Feb 2025 08:20:22 +0530") References: <864j10y6eg.fsf@gnu.org> <87pljo5a69.fsf@ust.hk> <87zficjinb.fsf@ust.hk> <87seo49hu9.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Mon, 24 Feb 2025 13:51:41 +0530 Message-ID: <87jz9fu50q.fsf@gmx.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:iHPrXxoZrDrpHSzKVPLIM/U5DRAORU8T6P8SaY+9VQew76bQcdQ o+9dMc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fQqesUsgS8V2giuPIwQiIMutD6pIYNJXarmEgN ikZn0N8cu4ujkMOvhALInysCpIOOBqeRdzgHckFl6ldSkdB/WB8B4CBoFWqXWLByiSWDkhWBw /HaBy8Z5OuTatpKfpiR+6Hm3p2SbhwxuBcD/j22IcgshrQb0Aa2ODNn9/682bH4lz6PuUS0CY mxJPiIlaLIUGFFO3P4ykIpZTzSNzHTSvxWMlp4WHBc/p7NwFDVm47OcdzJl0XX2vH8ZhFNJun k6ReJD/eeQ2x2PIXg1Ss8rDeRJcLx2dpcN+Eo3KM4tzd2sQQVEhO7X4bJLYUH8hhkF0OHmBD/ xMb6PiXPh1S2ej/cdMpIWQY3DlsYVt7qJzSOVS5xn1LUzFfWzH6i43d1esBx+tZS9f22CoGBH +Sg89nKxFwR6P56000AYKsq7F1Rlh9cMjJ1kTrkGNFyDCOKsh/A+FMZKcPMz2pRrgCMrT8PvR kLEuV3TDnGYFCuziVr+XhpVQfI425/lM0S1UIgf+1gUWYn2A4UiQ+4WXXduY2P3QVEMPpkNiI nvPHJzs0AKssv4H80aiHBhkdUG9m6pgKmWTwfGQ4bIPFMjhcO6rJuFr4Uu X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain James Thomas writes: > Andrew Cohen writes: > >> I asked on emacs.gnus.general to see if anyone was using nnweb. Although >> the number of responses was small, at least one person, James Thomas, >> continues to use it. He has, for example, updated the defaults to use >> help-gnu-emacs. This looks potentially useful, and if James (copied >> here) is willing to work on this I would suggest fixing nnweb rather >> than obsoleting it. > > Please hold on; I'll send in an updated patch, with the article washing > also included. > > (Thanks for linking to this bug) IDK if this is the right place for it, but here it is: --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=nnweb-update.diff Content-Description: Update nnweb for lists.gnu.org Content-Transfer-Encoding: quoted-printable diff --git a/lisp/gnus/nnweb.el b/lisp/gnus/nnweb.el index 57964f93437..942556db1b4 100644 =2D-- a/lisp/gnus/nnweb.el +++ b/lisp/gnus/nnweb.el @@ -40,36 +40,36 @@ (defvoo nnweb-directory (nnheader-concat gnus-directory "nnweb/") "Where nnweb will save its files.") -(defvoo nnweb-type 'google +(defvoo nnweb-type 'emacs-help "What search engine type is being used. -Valid types include `google' and `dejanews'.") +Valid types include `emacs-help' and `dejanews'.") (defvar nnweb-type-definition - '((google - (id . "https://www.google.com/groups?as_umsgid=3D%s&hl=3Den&dmode=3D= source") - (result . "https://groups.google.com/group/%s/msg/%s?dmode=3Dsource"= ) - (article . nnweb-google-wash-article) - (reference . identity) - (map . nnweb-google-create-mapping) - (search . nnweb-google-search) - (address . "https://groups.google.com/groups") - (base . "https://groups.google.com") - (identifier . nnweb-google-identity)) + '((emacs-help + (id . "https://lists.gnu.org/archive/cgi-bin/namazu.cgi?idxname=3Dhe= lp-gnu-emacs&sort=3Dscore&result=3Dnormal&max=3D20&submit=3DSearch!&query= =3D%%2Bmessage-id%%3A%%3C%s%%3E") + (result . "https://lists.gnu.org/archive/html/%s/%s.html") + (article . nnweb-gnu-wash-article) + (reference . nnweb-gnu-reference) + (map . nnweb-gnu-create-mapping) + (search . nnweb-gnu-search) + (address . "https://lists.gnu.org/archive/cgi-bin/namazu.cgi") + (base . "https://lists.gnu.org") + (identifier . nnweb-gnu-identity)) ;; FIXME: Make obsolete? (dejanews ;; alias of google (id . "https://www.google.com/groups?as_umsgid=3D%s&hl=3Den&dmode=3D= source") (result . "https://groups.google.com/group/%s/msg/%s?dmode=3Dsource"= ) - (article . nnweb-google-wash-article) + (article . nnweb-gnu-wash-article) (reference . identity) - (map . nnweb-google-create-mapping) - (search . nnweb-google-search) + (map . nnweb-gnu-create-mapping) + (search . nnweb-gnu-search) (address . "https://groups.google.com/groups") (base . "https://groups.google.com") - (identifier . nnweb-google-identity))) + (identifier . nnweb-gnu-identity))) "Type-definition alist.") (defvoo nnweb-search nil - "Search string to feed to Google.") + "Search string to feed.") (defvoo nnweb-max-hits 999 "Maximum number of hits to display.") @@ -281,41 +281,30 @@ nnweb-init (current-buffer))))) ;;; -;;; groups.google.com +;;; lists.gnu.org ;;; -(defun nnweb-google-wash-article () - ;; We have Google's masked e-mail addresses here. :-/ - (let ((case-fold-search t) - (start-re "
[\r\n ]*")
-	(end-re "[\r\n ]*
")) +(defun nnweb-gnu-wash-article () + (let ((case-fold-search t) headers) (goto-char (point-min)) - (if (save-excursion - (or (re-search-forward "The requested message.*could not be found." - nil t) - (not (and (re-search-forward start-re nil t) - (re-search-forward end-re nil t))))) - ;; FIXME: Don't know how to indicate "not found". - ;; Should this function throw an error? --rsteib - (progn - (gnus-message 3 "Requested article not found") - (erase-buffer)) - (delete-region (point-min) - (re-search-forward start-re)) + (with-restriction (point-min) (search-forward "" nil t) + (setq headers (concat headers (match-string 1) "\n"))) + (delete-region (point-min) (point-max)) + (insert headers)) + (goto-char (point-max)) + (delete-region (search-backward "" nil t)= (point-max)) + (mm-url-remove-markup) + (mm-url-decode-entities))) + +(defun nnweb-gnu-parse-1 (&optional Message-ID) "Parse search result in current buffer." (let ((i 0) (case-fold-search t) (active (cadr (assoc nnweb-group nnweb-group-alist))) Subject Date Newsgroups From - map url mid) + map url mid link) (unless active (push (list nnweb-group (setq active (cons 1 0))) nnweb-group-alist)) @@ -323,39 +312,34 @@ nnweb-google-parse-1 (goto-char (point-min)) (while (re-search-forward - "a +href=3D\"/group/\\([^>\"]+\\)/browse_thread/[^>]+#\\([0-9a-f]+\\)" + "" nil t) - (setq Newsgroups (match-string-no-properties 1) - ;; Note: Starting with Google Groups 2, `mid' is a Google-internal - ;; ID, not a proper Message-ID. + (setq link (match-string-no-properties 0) + Newsgroups (match-string-no-properties 1) + ;; `mid' is not a proper Message-ID. mid (match-string-no-properties 2) url (format (nnweb-definition 'result) Newsgroups mid)) - (narrow-to-region (search-forward ">" nil t) + (narrow-to-region (point) (search-forward "" nil t)) (mm-url-remove-markup) (mm-url-decode-entities) + (replace-string "\n" "") (setq Subject (buffer-string)) (goto-char (point-max)) (widen) (narrow-to-region (point) - (search-forward "]+href=3D\"\n?\\([^>\" \n\t]+\\)[^<]*]+src=3D[^>]+next= " + (format "]+&whence=3D%s\\)\"" (+ more 20)) nil t)) (>=3D i nnweb-max-hits)) (setq more nil) ;; Yup, there are more articles - (setq more (concat (nnweb-definition 'base) (match-string 1))) + (setq more (+ more 20) + link (mm-url-decode-entities-string (match-string 1))= ) (when more (erase-buffer) - (nnheader-message 7 "Searching google...(%d)" i) - (mm-url-insert more)))) + (nnheader-message 7 "Searching...(%d)" i) + (mm-url-insert (concat (nnweb-definition 'base) link))))) ;; Return the articles in the right order. - (nnheader-message 7 "Searching google...done") + (nnheader-message 7 "Searching...done") (setq nnweb-articles (sort nnweb-articles #'car-less-than-car)))))) -(defun nnweb-google-search (search) +(defun nnweb-gnu-search (search) (mm-url-insert (concat (nnweb-definition 'address) "?" (mm-url-encode-www-form-urlencoded - `(("q" . ,search) - ("num" . ,(number-to-string - (min 100 nnweb-max-hits))) - ("hq" . "") - ("hl" . "en") - ("lr" . "") - ("safe" . "off") - ("sites" . "groups") - ("filter" . "0"))))) + `(("idxname" . "help-gnu-emacs") + ("sort" . "score") + ("result" . "normal") + ("max" . ,(number-to-string + (min 20 nnweb-max-hits))) + ("submit" . "Search!") + ("query" . ,search))))) t) -(defun nnweb-google-identity (url) +(defun nnweb-gnu-identity (url) "Return a unique identifier based on URL." - (if (string-match "selm=3D\\([^ &>]+\\)" url) + (if (string-match "archive/html/\\(.*\\)\\.html" url) (match-string 1 url) url)) --=-=-= Content-Type: text/plain The help-gnu-emacs is only illustrative: may be replaced with the name of any of the GNU mailing lists. May be tested by: G w emacs-help RET RET Further work could involve gnus-summary-refer-thread working with a new 'gnus-search-web' for the related messages of a search result. Also, with customization, as a search and gnus-refer-article-method for users of public-inbox (public-inbox.org). Regards, James --=-=-=-- From unknown Tue Jun 17 01:38:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#76196: Obsoleting gnus/nnweb.el Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Feb 2025 16:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76196 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: James Thomas , Andrew Cohen Cc: Eric Abrahamsen , =?UTF-8?Q?Bj=C3=B6rn?= Bidar , Eli Zaretskii , 76196@debbugs.gnu.org Received: via spool by 76196-submit@debbugs.gnu.org id=B76196.174041580610602 (code B ref 76196); Mon, 24 Feb 2025 16:51:02 +0000 Received: (at 76196) by debbugs.gnu.org; 24 Feb 2025 16:50:06 +0000 Received: from localhost ([127.0.0.1]:42291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tmbef-0002kM-7j for submit@debbugs.gnu.org; Mon, 24 Feb 2025 11:50:05 -0500 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]:57569) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tmbec-0002i6-Pl for 76196@debbugs.gnu.org; Mon, 24 Feb 2025 11:50:03 -0500 Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-5e0452f859cso7214366a12.2 for <76196@debbugs.gnu.org>; Mon, 24 Feb 2025 08:50:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740415796; x=1741020596; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=DGxBOfIOV03E5jORqTQH5UmRW3vnF8cav4FRqbtTH3U=; b=gRPuYxfm+wrmv2ofFuuRC+63oX973Eg5uuwIGbDDiqxXcyI+3Dwpn9b3SB6Wf2Acvp 0bLcudCnW1qLwcb2+cmeSRqD9J/iW6KrMJOqIm6I6CsezDxOBGBzkOIlx822xdqjeppi F3h6EDfeJjfuJdpjA4JvBmRDZYo5xnHoo6cfE7HrfqQDAdnEfhh30HZgKM1GZaUJTP4X 562/bVcUh28qG6o3iaZwBwCL3ik4u7InczGIfvdNfHqRkMHj5ykq6eBnD/88qOtbVKqm 76d2Vcp03XC4fpNjAxOnaV9K+jKjmc4EV4EPUeRwbOwjKgQDDTZhEJq9iOCxGiAbjdfq i/mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740415796; x=1741020596; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DGxBOfIOV03E5jORqTQH5UmRW3vnF8cav4FRqbtTH3U=; b=lK06majwgqp6I9q3ETJiKnfkSciqCkY6ECnKfi8TpP7eqT6j1+5DHd3qKCYB64GIaz C2tGlOgKS51XPoQihen7mGUnipNh4mSjfUGdYXu/2nt2c1RoyQyy3lJhNY+gCJpeth6m yk1oz6ayz7d5cU8IbuRU4Fv8vNPwBoxwK5eK/9WpmrFNaDuZogsqLnb+CfNCWOkwmo3q STpZLjTqA2Zrufae/3yC8Yqw4cvD5NT1w4WF/kF2rPHY79nlTFQOdlHtAy0LDS7iMt2T fMS62B80dyHlQDWXcwDSYnnHhIJLq8AwpJYcrc1pJhEzL2tcmxxGHEO/wn5fCjT30vXI Hybw== X-Forwarded-Encrypted: i=1; AJvYcCWdlusR5hVQvFZP7K8/FlvunzComIsCQ6Do6cnUvRMB/nwhNR0qT9BkzR9tTKB0fJwE3yZfLw==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yzss6T0MZDRIOobEXkWOG6fZsI0BUlPuNqG6avtbOcsrswX5KbY bfUa0ocdTOqvOrRKKapKWSj85hqYkU4/Nd8a45AriWQys/nyBwkID3VfJng8wuKhaTGL8lJ+Itk ++c5eqD1iWY52krrrI0QyBxkCUDg8V9ShlxU= X-Gm-Gg: ASbGncsfiY+O+q8hLph0Kg3PaD0C4xl2RmnpjRDqYY2Xqvx3rrwNgDkfCrmpSrZFsuk sSjlYmAnuQ+XvjPgRDOIpHwjAGlbvaiVdPzRg3YHyz/WwMG4T1OzKjQKPYSofmMz/ijxTKk7Vzw 80x96UUZxf X-Google-Smtp-Source: AGHT+IGYLoOtnx8DE2qQ3jxFShjH6nv3cK4pQusHBnIBth6N/XngZlnhFrI6zkDrOMzl9HBRvlT+XWQ8Wu62Tc+leK0= X-Received: by 2002:a05:6402:348e:b0:5e1:a37c:7ebe with SMTP id 4fb4d7f45d1cf-5e1a37c8989mr1427901a12.0.1740415796117; Mon, 24 Feb 2025 08:49:56 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 24 Feb 2025 16:49:55 +0000 From: Stefan Kangas In-Reply-To: <87jz9fu50q.fsf@gmx.net> References: <864j10y6eg.fsf@gnu.org> <87pljo5a69.fsf@ust.hk> <87zficjinb.fsf@ust.hk> <87seo49hu9.fsf@gmx.net> <87jz9fu50q.fsf@gmx.net> MIME-Version: 1.0 Date: Mon, 24 Feb 2025 16:49:55 +0000 X-Gm-Features: AWEUYZkv1atPLwR-q5aRW3KvAVWllXlgSd6N5bQS0cyIXV9QduQfU3VWodLzUfI Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 76196 + patch retitle 76196 [PATCH] Make nnweb.el do something useful thanks James Thomas writes: > IDK if this is the right place for it, but here it is: This is the right place for it, thanks. Andrew, any comments on the patch? From unknown Tue Jun 17 01:38:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#76196: Obsoleting gnus/nnweb.el Resent-From: James Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Jun 2025 01:50:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76196 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 76196@debbugs.gnu.org Cc: Andrew Cohen , =?UTF-8?Q?Bj=C3=B6rn?= Bidar , Eli Zaretskii , Stefan Kangas Received: via spool by 76196-submit@debbugs.gnu.org id=B76196.17489154008989 (code B ref 76196); Tue, 03 Jun 2025 01:50:03 +0000 Received: (at 76196) by debbugs.gnu.org; 3 Jun 2025 01:50:00 +0000 Received: from localhost ([127.0.0.1]:57692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uMGmr-0002Kk-DB for submit@debbugs.gnu.org; Mon, 02 Jun 2025 21:50:00 -0400 Received: from mout.gmx.net ([212.227.17.20]:44163) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uMGmk-0002Jf-LY for 76196@debbugs.gnu.org; Mon, 02 Jun 2025 21:49:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1748915378; x=1749520178; i=jimjoe@gmx.net; bh=2eNrZnTuYvkbJNeJP9vsbENtkasUz52enzM0StWGbeA=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:Date:Message-ID: References:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=G1Bn7/pLXv/3ocFqCzFy0/PO1DoPlSSvY9RiH/Ghl2O0Npgf5z0wuEgFuC3MxG6Y bHUfiIXRF3MGt20+zXYWC0jEfGBDMRqIE40He5jz0XwfJY8vHVioTD64hvMDX2q7j siHPHzdfPvLe4HD9AOqfu2HbQXXZQzISrAn0vERk9l3GNpEMJGu5Z8bkNb2JIMFjj hsvXBN6WM/CEnJVshkyLAnwudT97OdL7LBBDy9UfqrIL6U9BSeFdEZ1dM5M54unfF q3QFvlZKNoFnl/rOTg1VLb0SKtFAAXz/Ta70JEitmQBUwdEvvy0CReLKWEFZf17pT Cba46COtiRiwyg+V1Q== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from vimala ([120.61.85.167]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MsHru-1vAOaj2t8E-010C2e; Tue, 03 Jun 2025 03:49:37 +0200 From: James Thomas In-Reply-To: <87jz9fu50q.fsf@gmx.net> (James Thomas's message of "Mon, 24 Feb 2025 13:51:41 +0530") Date: Mon, 02 Jun 2025 13:22:02 +0530 Message-ID: <87ldqapom5.fsf@gmx.net> References: <864j10y6eg.fsf@gnu.org> <87pljo5a69.fsf@ust.hk> <87zficjinb.fsf@ust.hk> <87seo49hu9.fsf@gmx.net> <87jz9fu50q.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:8ti0PM7UGNCakbuTQZ3tjxsZcURkP5K55y00dsrNw21KdmJb89a OOlmH8cTaoeVnmXHjBJlpLGs5vLfCfz6rbptZCkU+h0OcA4IxAqT0IWN1dHSG4MZcLSTtNv /PgMHxkjoSyT3Hm6aDGsis2y63y1yXUGmuxiNbxEJR5jeBS8cdSp0zvC8OLQLCw+NvLJgjb qq559wnG9qq0E7EuDj57w== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:jX0AGx9xFG0=;iFq0R1k+KM+i2N0WOXNxxHzAv+n F8cRHCkI4pbYqd8+JP5c3ctO31MK3PWLSuvbZp4PL094iy3m+aPWYPRu22ebGbyeJ/UmHnrE1 REsE+xbc+FK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kvQ+KLabeRcS X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) --=-=-= Content-Type: text/plain James Thomas writes: > James Thomas writes: > >> Andrew Cohen writes: >> >>> I asked on emacs.gnus.general to see if anyone was using nnweb. Although >>> the number of responses was small, at least one person, James Thomas, >>> continues to use it. He has, for example, updated the defaults to use >>> help-gnu-emacs. This looks potentially useful, and if James (copied >>> here) is willing to work on this I would suggest fixing nnweb rather >>> than obsoleting it. >> >> Please hold on; I'll send in an updated patch, with the article washing >> also included. >> >> (Thanks for linking to this bug) > > IDK if this is the right place for it, but here it is: > > > > The help-gnu-emacs is only illustrative: may be replaced with the name > of any of the GNU mailing lists. May be tested by: > G w emacs-help RET RET > > Further work could involve gnus-summary-refer-thread working with a new > 'gnus-search-web' for the related messages of a search result. Also, > with customization, as a search and gnus-refer-article-method for users > of public-inbox (public-inbox.org). Here's an updated version: --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Update-nnweb-for-searching-Emacs's-lists'-archives.patch Content-Description: [PATCH] Update nnweb for searching Emacs's lists' archives Content-Transfer-Encoding: quoted-printable =46rom 769eb784e7750047daf92918f1b03d1ed25ac8df Mon Sep 17 00:00:00 2001 From: James Thomas Date: Mon, 2 Jun 2025 12:30:32 +0530 Subject: [PATCH] Update nnweb for searching Emacs's lists' archives Remove the existing 'google' type and replace it with 'gnu', to search the GNU mailing lists. * lisp/gnus/nnweb.el (nnweb-type): (nnweb-type-definition): (nnweb-search): (nnweb-google-wash-article): (nnweb-gnu-wash-article): (nnweb-google-parse-1): (nnweb-google-reference): (nnweb-gnu-reference): (nnweb-google-create-mapping): (nnweb-gnu-create-mapping): (nnweb-google-search): (nnweb-gnu-search): (nnweb-google-identity): (nnweb-gnu-identity): Make the changes. * doc/misc/gnus.texi (Foreign Groups): (Web Searches): Update doc. =2D-- doc/misc/gnus.texi | 10 ++- lisp/gnus/nnweb.el | 165 +++++++++++++++++++++------------------------ 2 files changed, 82 insertions(+), 93 deletions(-) diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index 1eace0d5b5a..c55d73ae14a 100644 =2D-- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi @@ -2802,12 +2802,11 @@ Foreign Groups (@code{gnus-group-make-web-group}). If you give a prefix to this command, make a solid group instead. You will be prompted for the search engine type and the search string. Valid search engine types -include @code{google} and @code{dejanews}. +include @code{help-gnu-emacs} and @code{emacs-devel}. @xref{Web Searches}. =20 -If you use the @code{google} search engine, you can limit the search -to a particular group by using a match string like -@samp{shaving group:alt.sysadmin.recovery}. +The query syntax is described at +@url{https://lists.gnu.org/archive/cgi-bin/namazu.cgi?idxname=3Dhelp-gnu-= emacs}. =20 @item G R @kindex G R @r{(Group)} @@ -17332,8 +17331,7 @@ Web Searches @item nnweb-type @vindex nnweb-type What search engine type is being used. The currently supported types -are @code{google} and @code{dejanews}. Note that -@code{dejanews} is an alias to @code{google}. +are @code{help-gnu-emacs} and @code{emacs-devel}. =20 @item nnweb-search @vindex nnweb-search diff --git a/lisp/gnus/nnweb.el b/lisp/gnus/nnweb.el index 9ada2dbc1d7..87c34876c7c 100644 =2D-- a/lisp/gnus/nnweb.el +++ b/lisp/gnus/nnweb.el @@ -40,36 +40,45 @@ (defvoo nnweb-directory (nnheader-concat gnus-directory "nnweb/") "Where nnweb will save its files.") =20 -(defvoo nnweb-type 'google - "What search engine type is being used. -The only valid type is currently `google'.") +(defvoo nnweb-type 'help-gnu-emacs + "What search engine type is being used. ") =20 (defvar nnweb-type-definition - '((google - (id . "https://www.google.com/groups?as_umsgid=3D%s&hl=3Den&dmode=3D= source") - (result . "https://groups.google.com/group/%s/msg/%s?dmode=3Dsource"= ) - (article . nnweb-google-wash-article) - (reference . identity) - (map . nnweb-google-create-mapping) - (search . nnweb-google-search) - (address . "https://groups.google.com/groups") - (base . "https://groups.google.com") - (identifier . nnweb-google-identity)) + '((emacs-devel + (id . "https://lists.gnu.org/archive/cgi-bin/namazu.cgi?idxname=3Dem= acs-devel&sort=3Dscore&result=3Dnormal&max=3D20&submit=3DSearch!&query=3D%= %2Bmessage-id%%3A%%3C%s%%3E") + (result . "https://lists.gnu.org/archive/html/%s/%s.html") + (article . nnweb-gnu-wash-article) + (reference . nnweb-gnu-reference) + (map . nnweb-gnu-create-mapping) + (search . nnweb-gnu-search) + (address . "https://lists.gnu.org/archive/cgi-bin/namazu.cgi") + (base . "https://lists.gnu.org") + (identifier . nnweb-gnu-identity)) + (help-gnu-emacs + (id . "https://lists.gnu.org/archive/cgi-bin/namazu.cgi?idxname=3Dhe= lp-gnu-emacs&sort=3Dscore&result=3Dnormal&max=3D20&submit=3DSearch!&query= =3D%%2Bmessage-id%%3A%%3C%s%%3E") + (result . "https://lists.gnu.org/archive/html/%s/%s.html") + (article . nnweb-gnu-wash-article) + (reference . nnweb-gnu-reference) + (map . nnweb-gnu-create-mapping) + (search . nnweb-gnu-search) + (address . "https://lists.gnu.org/archive/cgi-bin/namazu.cgi") + (base . "https://lists.gnu.org") + (identifier . nnweb-gnu-identity)) ;; FIXME: Make obsolete? (dejanews ;; alias of google (id . "https://www.google.com/groups?as_umsgid=3D%s&hl=3Den&dmode=3D= source") (result . "https://groups.google.com/group/%s/msg/%s?dmode=3Dsource"= ) - (article . nnweb-google-wash-article) + (article . nnweb-gnu-wash-article) (reference . identity) - (map . nnweb-google-create-mapping) - (search . nnweb-google-search) + (map . nnweb-gnu-create-mapping) + (search . nnweb-gnu-search) (address . "https://groups.google.com/groups") (base . "https://groups.google.com") - (identifier . nnweb-google-identity))) + (identifier . nnweb-gnu-identity))) "Type-definition alist.") =20 (defvoo nnweb-search nil - "Search string to feed to Google.") + "Search string to feed.") =20 (defvoo nnweb-max-hits 999 "Maximum number of hits to display.") @@ -281,41 +290,30 @@ nnweb-init (current-buffer))))) =20 ;;; -;;; groups.google.com +;;; lists.gnu.org ;;; =20 -(defun nnweb-google-wash-article () - ;; We have Google's masked e-mail addresses here. :-/ - (let ((case-fold-search t) - (start-re "
[\r\n ]*")
-	(end-re "[\r\n ]*
")) +(defun nnweb-gnu-wash-article () + (let ((case-fold-search t) headers) (goto-char (point-min)) - (if (save-excursion - (or (re-search-forward "The requested message.*could not be found." - nil t) - (not (and (re-search-forward start-re nil t) - (re-search-forward end-re nil t))))) - ;; FIXME: Don't know how to indicate "not found". - ;; Should this function throw an error? --rsteib - (progn - (gnus-message 3 "Requested article not found") - (erase-buffer)) - (delete-region (point-min) - (re-search-forward start-re)) + (with-restriction (point-min) (search-forward "" nil t) + (setq headers (concat headers (match-string 1) "\n"))) + (delete-region (point-min) (point-max)) + (insert headers)) + (goto-char (point-max)) + (delete-region (search-backward "" nil t)= (point-max)) + (mm-url-remove-markup) + (mm-url-decode-entities))) + +(defun nnweb-gnu-parse-1 (&optional Message-ID) "Parse search result in current buffer." (let ((i 0) (case-fold-search t) (active (cadr (assoc nnweb-group nnweb-group-alist))) Subject Date Newsgroups From - map url mid) + map url mid link) (unless active (push (list nnweb-group (setq active (cons 1 0))) nnweb-group-alist)) @@ -323,39 +321,34 @@ nnweb-google-parse-1 (goto-char (point-min)) (while (re-search-forward - "a +href=3D\"/group/\\([^>\"]+\\)/browse_thread/[^>]+#\\([0-9a-f]+\\)" + "
" nil t) - (setq Newsgroups (match-string-no-properties 1) - ;; Note: Starting with Google Groups 2, `mid' is a Google-internal - ;; ID, not a proper Message-ID. + (setq link (match-string-no-properties 0) + Newsgroups (match-string-no-properties 1) + ;; `mid' is not a proper Message-ID. mid (match-string-no-properties 2) url (format (nnweb-definition 'result) Newsgroups mid)) - (narrow-to-region (search-forward ">" nil t) + (narrow-to-region (point) (search-forward "" nil t)) (mm-url-remove-markup) (mm-url-decode-entities) + (replace-string-in-region "\n" "") (setq Subject (buffer-string)) (goto-char (point-max)) (widen) (narrow-to-region (point) - (search-forward "]+href=3D\"\n?\\([^>\" \n\t]+\\)[^<]*]+src=3D[^>]+next= " + (format "]+&whence=3D%s\\)\"" (+ more 20)) nil t)) (>=3D i nnweb-max-hits)) (setq more nil) ;; Yup, there are more articles - (setq more (concat (nnweb-definition 'base) (match-string 1))) + (setq more (+ more 20) + link (mm-url-decode-entities-string (match-string 1))= ) (when more (erase-buffer) - (nnheader-message 7 "Searching google...(%d)" i) - (mm-url-insert more)))) + (nnheader-message 7 "Searching...(%d)" i) + (mm-url-insert (concat (nnweb-definition 'base) link))))) ;; Return the articles in the right order. - (nnheader-message 7 "Searching google...done") + (nnheader-message 7 "Searching...done") (setq nnweb-articles (sort nnweb-articles #'car-less-than-car)))))) =20 -(defun nnweb-google-search (search) +(defun nnweb-gnu-search (search) (mm-url-insert (concat (nnweb-definition 'address) "?" (mm-url-encode-www-form-urlencoded - `(("q" . ,search) - ("num" . ,(number-to-string - (min 100 nnweb-max-hits))) - ("hq" . "") - ("hl" . "en") - ("lr" . "") - ("safe" . "off") - ("sites" . "groups") - ("filter" . "0"))))) + `(("idxname" . ,(symbol-name nnweb-type)) + ("sort" . "score") + ("result" . "normal") + ("max" . ,(number-to-string + (min 20 nnweb-max-hits))) + ("submit" . "Search!") + ("query" . ,search))))) t) =20 -(defun nnweb-google-identity (url) +(defun nnweb-gnu-identity (url) "Return a unique identifier based on URL." - (if (string-match "selm=3D\\([^ &>]+\\)" url) + (if (string-match "archive/html/\\(.*\\)\\.html" url) (match-string 1 url) url)) =20 =2D-=20 2.49.0 --=-=-= Content-Type: text/plain I hope to add thread-referral later. Regards, James --=-=-=-- From unknown Tue Jun 17 01:38:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#76196: Obsoleting gnus/nnweb.el Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Jun 2025 13:32:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76196 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: James Thomas Cc: acohen@ust.hk, bjorn.bidar@thaodan.de, 76196@debbugs.gnu.org, stefankangas@gmail.com Received: via spool by 76196-submit@debbugs.gnu.org id=B76196.17499078831711 (code B ref 76196); Sat, 14 Jun 2025 13:32:03 +0000 Received: (at 76196) by debbugs.gnu.org; 14 Jun 2025 13:31:23 +0000 Received: from localhost ([127.0.0.1]:37531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uQQye-0000RE-Tu for submit@debbugs.gnu.org; Sat, 14 Jun 2025 09:31:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55318) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uQQyc-0000QQ-OI for 76196@debbugs.gnu.org; Sat, 14 Jun 2025 09:31:19 -0400 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 1uQQyW-0001y1-75; Sat, 14 Jun 2025 09:31:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=h9l0rJFaaz2+aVks8yBzjMmiWAgHQW45Q5UyAs+bk3Y=; b=hwxpwmludXyjLog7jqFL /gN+K6wBPASAcfWYImdKt5oifVWW+sW6y0F9J0QmzMGsf68Qe2kA5GRmQFCKaRn2haOz/7unLWG7r pE4LvOXuqjLJbHINv+gYqk1N/TUDvtmZO/b1Zf0S89kGuN/IeELtEoaWYh3PkFdG9g4ZKZuK2Hlek xySwSo55sPLi2SBrjJBRChdQiIAu3OFyTBlNA1L1fc0wuhhg76r3zf4M7LuK+GPUi5B2yjbgmy+NR x1JLnPbmBpCKeFPprbsd7PFhKAWlHRxSMTIQQKGV4NQ6TkIccFA9HyakUTWaVNhC0ActTUTu1IgtR /yTfIYDyCKpNGQ==; Date: Sat, 14 Jun 2025 16:31:10 +0300 Message-Id: <86bjqqsb4x.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87ldqapom5.fsf@gmx.net> (message from James Thomas on Mon, 02 Jun 2025 13:22:02 +0530) References: <864j10y6eg.fsf@gnu.org> <87pljo5a69.fsf@ust.hk> <87zficjinb.fsf@ust.hk> <87seo49hu9.fsf@gmx.net> <87jz9fu50q.fsf@gmx.net> <87ldqapom5.fsf@gmx.net> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ping! Andrew, any further comments? > From: James Thomas > Cc: Andrew Cohen , Stefan Kangas , > Eli Zaretskii , Björn Bidar > > Date: Mon, 02 Jun 2025 13:22:02 +0530 > > James Thomas writes: > > > James Thomas writes: > > > >> Andrew Cohen writes: > >> > >>> I asked on emacs.gnus.general to see if anyone was using nnweb. Although > >>> the number of responses was small, at least one person, James Thomas, > >>> continues to use it. He has, for example, updated the defaults to use > >>> help-gnu-emacs. This looks potentially useful, and if James (copied > >>> here) is willing to work on this I would suggest fixing nnweb rather > >>> than obsoleting it. > >> > >> Please hold on; I'll send in an updated patch, with the article washing > >> also included. > >> > >> (Thanks for linking to this bug) > > > > IDK if this is the right place for it, but here it is: > > > > > > > > The help-gnu-emacs is only illustrative: may be replaced with the name > > of any of the GNU mailing lists. May be tested by: > > G w emacs-help RET RET > > > > Further work could involve gnus-summary-refer-thread working with a new > > 'gnus-search-web' for the related messages of a search result. Also, > > with customization, as a search and gnus-refer-article-method for users > > of public-inbox (public-inbox.org). > > Here's an updated version: > > I hope to add thread-referral later.