Stefan Kangas <stefankangas@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Stefan Kangas <stefankangas@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 76196) by debbugs.gnu.org; 24 Feb 2025 16:50:06 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 24 11:50:05 2025 Received: from localhost ([127.0.0.1]:42291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tmbef-0002kM-7j for submit <at> 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 <stefankangas@HIDDEN>) id 1tmbec-0002i6-Pl for 76196 <at> 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 <at> 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 <stefankangas@HIDDEN> In-Reply-To: <87jz9fu50q.fsf@HIDDEN> References: <CADwFkmnAxjUbRwhS9zRTHcJ-QV1d=DJ+xG2ng22AnDO6xOETSw@HIDDEN> <864j10y6eg.fsf@HIDDEN> <87pljo5a69.fsf@HIDDEN> <CADwFkmm87CQKnzsEi5+f4ydq51128mt5aTKSHyxwSR=5qNtcMA@HIDDEN> <87zficjinb.fsf@HIDDEN> <87seo49hu9.fsf@HIDDEN> <87jz9fu50q.fsf@HIDDEN> MIME-Version: 1.0 Date: Mon, 24 Feb 2025 16:49:55 +0000 X-Gm-Features: AWEUYZkv1atPLwR-q5aRW3KvAVWllXlgSd6N5bQS0cyIXV9QduQfU3VWodLzUfI Message-ID: <CADwFkmnPk5rjogkmpXEbXLuVi=AhUksZ5-RUC8raCyHUOombVA@HIDDEN> Subject: Re: bug#76196: Obsoleting gnus/nnweb.el To: James Thomas <jimjoe@HIDDEN>, Andrew Cohen <acohen@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76196 Cc: Eric Abrahamsen <eric@HIDDEN>, =?UTF-8?B?QmrDtnJuIEJpZGFy?= <bjorn.bidar@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 76196 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) tags 76196 + patch retitle 76196 [PATCH] Make nnweb.el do something useful thanks James Thomas <jimjoe@HIDDEN> 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?
bug-gnu-emacs@HIDDEN
:bug#76196
; Package emacs
.
Full text available.Received: (at 76196) by debbugs.gnu.org; 24 Feb 2025 08:22:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 24 03:22:16 2025 Received: from localhost ([127.0.0.1]:38313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tmTjD-00082F-Pp for submit <at> 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 <jimjoe@HIDDEN>) id 1tmTjA-00081v-Cp for 76196 <at> 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@HIDDEN; 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 <jimjoe@HIDDEN> To: Andrew Cohen <acohen@HIDDEN> Subject: Re: bug#76196: Obsoleting gnus/nnweb.el In-Reply-To: <87seo49hu9.fsf@HIDDEN> (James Thomas's message of "Mon, 24 Feb 2025 08:20:22 +0530") References: <CADwFkmnAxjUbRwhS9zRTHcJ-QV1d=DJ+xG2ng22AnDO6xOETSw@HIDDEN> <864j10y6eg.fsf@HIDDEN> <87pljo5a69.fsf@HIDDEN> <CADwFkmm87CQKnzsEi5+f4ydq51128mt5aTKSHyxwSR=5qNtcMA@HIDDEN> <87zficjinb.fsf@HIDDEN> <87seo49hu9.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Mon, 24 Feb 2025 13:51:41 +0530 Message-ID: <87jz9fu50q.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; bound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BMorwGG4nDn005suLXMP5oJp5+M4RxNFNUGs72/+nT1L7G74cLH sbQ9PiVWnU07aLYvJHoVryJKKP+p8hXSD90fQqesUsgS8V2giuPIwQiIMutD6pIYNJXarmEgN 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-Debbugs-Envelope-To: 76196 Cc: Eric Abrahamsen <eric@HIDDEN>, =?utf-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 76196 <at> debbugs.gnu.org, Stefan Kangas <stefankangas@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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 "<pre>[\r\n ]*") - (end-re "[\r\n ]*</pre>")) +(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 "<!--X-Body-of-Message-= ->" nil t) (goto-char (point-min)) - (delete-region (progn - (re-search-forward end-re) - (match-beginning 0)) - (point-max)) - (mm-url-decode-entities)))) - -(defun nnweb-google-parse-1 (&optional Message-ID) + (while (re-search-forward "<!--X-\\(.*\\) -->" 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 "<!--X-Body-of-Message-End-->" 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]+\\)" + "<a +href=3D\"/archive/html/\\([^/]+\\)/\\([0-9-]+/msg[0-9]+\\)\\.html\= ">" 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 "</a>" 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 "</table" nil t)) + (search-forward link nil t)) (mm-url-remove-markup) (mm-url-decode-entities) (goto-char (point-max)) (when (re-search-backward - "^\\(?:\\(\\w+\\) \\([0-9]+\\)\\|\\S-+\\)\\(?: \\([0-9]\\{4\\}\\)\\)= ? by ?\\(.*\\)" + "^Author: \\(.*\\)\nDate: \\(.*\\)" nil t) - (setq Date (if (match-string 1) - (format "%s %s 00:00:00 %s" - (match-string 1) - (match-string 2) - (or (match-string 3) - (format-time-string "%Y"))) - (current-time-string))) - (setq From (match-string 4))) + (setq Date (match-string-no-properties 2)) + (setq From (match-string-no-properties 1))) (widen) (cl-incf i) (unless (nnweb-get-hashtb url) @@ -363,73 +347,71 @@ nnweb-google-parse-1 (list (cl-incf (cdr active)) (make-full-mail-header - (cdr active) (if Newsgroups - (concat "(" Newsgroups ") " Subject) - Subject) - From Date (or Message-ID mid) + (cdr active) Subject + From Date (or Message-ID (concat Newsgroups "/" mid)) nil 0 0 url)) map) (nnweb-set-hashtb (cadar map) (car map)))) map)) -(defun nnweb-google-reference (id) - (let ((map (nnweb-google-parse-1 id)) header) +(defun nnweb-gnu-reference (id) + (let ((map (nnweb-gnu-parse-1 id)) header) (setq nnweb-articles (nconc nnweb-articles map)) (when (setq header (cadar map)) (mm-url-insert (mail-header-xref header)) (caar map)))) -(defun nnweb-google-create-mapping () +(defun nnweb-gnu-create-mapping () "Perform the search and create a number-to-url alist." (with-current-buffer nnweb-buffer (erase-buffer) - (nnheader-message 7 "Searching google...") + (nnheader-message 7 "Searching...") (when (funcall (nnweb-definition 'search) nnweb-search) - (let ((more t) - (i 0)) + (let ((more 0) + (i 0) + link) (while more (setq nnweb-articles - (nconc nnweb-articles (nnweb-google-parse-1))) + (nconc nnweb-articles (nnweb-gnu-parse-1))) ;; Check if there are more articles to fetch (goto-char (point-min)) (cl-incf i 100) (if (or (not (re-search-forward - "<a [^>]+href=3D\"\n?\\([^>\" \n\t]+\\)[^<]*<img[^>]+src=3D[^>]+next= " + (format "<a +href=3D\"\\(/archive/cgi-bin/namaz= u.cgi?[^>]+&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 <unique string> 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 --=-=-=--
bug-gnu-emacs@HIDDEN
:bug#76196
; Package emacs
.
Full text available.Received: (at 76196) by debbugs.gnu.org; 24 Feb 2025 02:50:51 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 23 21:50:51 2025 Received: from localhost ([127.0.0.1]:37686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tmOYV-0000yN-BY for submit <at> 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 <jimjoe@HIDDEN>) id 1tmOYR-0000y5-0O for 76196 <at> 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@HIDDEN; 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 <jimjoe@HIDDEN> To: Andrew Cohen <acohen@HIDDEN> Subject: Re: bug#76196: Obsoleting gnus/nnweb.el In-Reply-To: <87zficjinb.fsf@HIDDEN> (Andrew Cohen's message of "Mon, 24 Feb 2025 08:22:48 +0800") References: <CADwFkmnAxjUbRwhS9zRTHcJ-QV1d=DJ+xG2ng22AnDO6xOETSw@HIDDEN> <864j10y6eg.fsf@HIDDEN> <87pljo5a69.fsf@HIDDEN> <CADwFkmm87CQKnzsEi5+f4ydq51128mt5aTKSHyxwSR=5qNtcMA@HIDDEN> <87zficjinb.fsf@HIDDEN> Date: Mon, 24 Feb 2025 08:20:22 +0530 Message-ID: <87seo49hu9.fsf@HIDDEN> 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+5JYKMcqXKz7R9GGM422RC1BXeZhZEYEV1BdPeJVAB1ggGsD7OV1 xdYgOHvnu3n1fFwSQ9zlNQC2ipzb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76196 <at> debbugs.gnu.org, Stefan Kangas <stefankangas@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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) --
bug-gnu-emacs@HIDDEN
:bug#76196
; Package emacs
.
Full text available.Received: (at 76196) by debbugs.gnu.org; 24 Feb 2025 00:23:03 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 23 19:23:03 2025 Received: from localhost ([127.0.0.1]:37457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tmMFT-0002VW-Ch for submit <at> 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 <acohen@HIDDEN>) id 1tmMFQ-0002Uh-9F for 76196 <at> 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 <acohen@HIDDEN> To: Stefan Kangas <stefankangas@HIDDEN> Subject: Re: bug#76196: Obsoleting gnus/nnweb.el In-Reply-To: <CADwFkmm87CQKnzsEi5+f4ydq51128mt5aTKSHyxwSR=5qNtcMA@HIDDEN> References: <CADwFkmnAxjUbRwhS9zRTHcJ-QV1d=DJ+xG2ng22AnDO6xOETSw@HIDDEN> <864j10y6eg.fsf@HIDDEN> <87pljo5a69.fsf@HIDDEN> <CADwFkmm87CQKnzsEi5+f4ydq51128mt5aTKSHyxwSR=5qNtcMA@HIDDEN> Date: Mon, 24 Feb 2025 08:22:48 +0800 Message-ID: <87zficjinb.fsf@HIDDEN> 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: =?us-ascii?Q?afi/SINl4gCZeAmcrxJwv5o6kSfeAp3MyOzgEH7q2VA8BXOecHfaELUVxYjU?= =?us-ascii?Q?31KNCESY9Y0gp4LEJxZjDHiA1UlI6WuJUJ5a1mNzKNWWr+c2PS14Rl5xnJJO?= =?us-ascii?Q?Qev4I1s+1kLZe0NBUuUC3VkXkxhRW3srQay+aSIBzpgP2UuY9zw2X0qarBqm?= =?us-ascii?Q?1N55pVRoSLSpzqHSSt7XQolNXP2UlYm73DhcNecke000yE0u88KdPkuWTl5X?= =?us-ascii?Q?ehcCsF2NPpr70xpLXqf6FKqJ1fnQqgI3yX2OoV6ak2tZK7kaMwAtnepCoN//?= =?us-ascii?Q?Gqj/pPEaioH+42zl37hwJRdXYbympun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yZ3tMRvDyNSiXvs+bWFYVIyD2o1GsWiLAePSa+uo3sO6A?= =?us-ascii?Q?ZPRIB+LSmBwbn2uXvDm7p/cpAu5jmCi4L+TcZOyPD8nOYSTetV2Y4QuQocWZ?= =?us-ascii?Q?DzHr5Yg2OuGgJeVRD+/i3pYK86t5VcVnT0RqcuRd5yzeGf8Xh7FGeuRQ7rhr?= =?us-ascii?Q?70/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: =?us-ascii?Q?0DIgzEEFZjq7f0nK+hz3/zsQ49zvZO60KGsmeFpdvCp2KDOv+NhzC36tXsjO?= =?us-ascii?Q?avQdhPTAYarC0Xd2bdrDB7OPOXMq5nNsxMq3ZqulLHWh60wV+NGSrSOapgk6?= =?us-ascii?Q?dIH+z7v7SjAEoAM1VvGVm1yYSR7W8Z5WoIZmatW2xtuWd6jZ0kDRiH2bDhQo?= =?us-ascii?Q?hQS4TS6/qqBdQSOc+eYIbFoEQoFFHlOEbBDMN0DcgkM0AGBGZnAuMa7v0MT7?= =?us-ascii?Q?BX/w6/T8HWHXPjtX+vEkQVkodPopgWRb7hXFCJ9jmkCgQ7N+5oy6nHam6Ehk?= =?us-ascii?Q?m6B5KNo8NmybWQIRZQhdMVXL8ZhD/Ho346bpG9GfZj1xfINt0+0e1PjxP5Xa?= =?us-ascii?Q?20A/lj1qJKnQnZnHvqxxT6RhJ+xtx1gsaJHCmio9SmD0YLdq89ZvQlulGQvr?= =?us-ascii?Q?mHGkjEsFPPWUKsoz7z7XAxu0zu55NackZldsxCm7D+JDrKPgRbKbqEqXN+zN?= =?us-ascii?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u4ZLRS9hCpejI8?= =?us-ascii?Q?okjt3WAzVl3Ef+B3L5hdzF2F2scFfpke+UgEN+7H/7qMJ1CO60poY1nvMjZz?= =?us-ascii?Q?oAfA1ZUrlijCEiJf026i4k/cbYZNY/FeDRU/lGHeBduI2wAczA5an601p8IX?= =?us-ascii?Q?dhBNNgGfU8THKqg4dG76dT0ErqbvtbipfH7ZMujqF2yiCnmeDSidPa8D6eD7?= =?us-ascii?Q?rXiRSRzJ3GtKCTmDWmWE7I7ms9v4x8MBHC/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-Debbugs-Envelope-To: 76196 Cc: Eric Abrahamsen <eric@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 76196 <at> debbugs.gnu.org, James Thomas <jimjoe@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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
bug-gnu-emacs@HIDDEN
:bug#76196
; Package emacs
.
Full text available.Received: (at 76196) by debbugs.gnu.org; 11 Feb 2025 13:10:06 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 11 08:10:05 2025 Received: from localhost ([127.0.0.1]:54975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1thq1c-00014P-MH for submit <at> 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 <eliz@HIDDEN>) id 1thq1Z-00013W-4B for 76196 <at> 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 <eliz@HIDDEN>) 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@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Stefan Kangas <stefankangas@HIDDEN>, Andrew Cohen <acohen@HIDDEN>, Eric Abrahamsen <eric@HIDDEN> In-Reply-To: <CADwFkmnAxjUbRwhS9zRTHcJ-QV1d=DJ+xG2ng22AnDO6xOETSw@HIDDEN> (message from Stefan Kangas on Mon, 10 Feb 2025 22:57:09 -0800) Subject: Re: bug#76196: Obsoleting gnus/nnweb.el References: <CADwFkmnAxjUbRwhS9zRTHcJ-QV1d=DJ+xG2ng22AnDO6xOETSw@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 76196 Cc: 76196 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Stefan Kangas <stefankangas@HIDDEN> > 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.
bug-gnu-emacs@HIDDEN
:bug#76196
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 11 Feb 2025 06:57:23 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 11 01:57:23 2025 Received: from localhost ([127.0.0.1]:53809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1thkCw-0006TV-Q7 for submit <at> 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 <stefankangas@HIDDEN>) id 1thkCt-0006TC-7X for submit <at> 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 <stefankangas@HIDDEN>) id 1thkCn-0000p2-1l for bug-gnu-emacs@HIDDEN; 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 <stefankangas@HIDDEN>) id 1thkCl-0002GI-DP for bug-gnu-emacs@HIDDEN; Tue, 11 Feb 2025 01:57:12 -0500 Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-ab7483b9bf7so761575966b.3 for <bug-gnu-emacs@HIDDEN>; 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 <stefankangas@HIDDEN> MIME-Version: 1.0 Date: Mon, 10 Feb 2025 22:57:09 -0800 X-Gm-Features: AWEUYZlr_vp1oN42iB3eoqwjjjrI3gdrrJc_FTwYeRmxKdD6myDtIn8tvkSw-8o Message-ID: <CADwFkmnAxjUbRwhS9zRTHcJ-QV1d=DJ+xG2ng22AnDO6xOETSw@HIDDEN> Subject: Obsoleting gnus/nnweb.el To: bug-gnu-emacs@HIDDEN Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::62a; envelope-from=stefankangas@HIDDEN; 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-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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
Stefan Kangas <stefankangas@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#76196
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.