From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/88325 Path: news.gmane.org!.POSTED!not-for-mail From: Haider Rizvi Newsgroups: gmane.emacs.gnus.general Subject: Re: Command for browsing article URLs? Date: Thu, 10 Jan 2019 11:47:37 -0700 Message-ID: References: <878szwwdjw.fsf@ericabrahamsen.net> <87r2dmub03.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1547145972 10346 195.159.176.226 (10 Jan 2019 18:46:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 10 Jan 2019 18:46:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin) To: ding@gnus.org Original-X-From: ding-owner+M36534@lists.math.uh.edu Thu Jan 10 19:46:08 2019 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ghfLD-0002ZV-IV for ding-account@gmane.org; Thu, 10 Jan 2019 19:46:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.91) (envelope-from ) id 1ghfMz-0002cz-T3; Thu, 10 Jan 2019 12:47:57 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.91) (envelope-from ) id 1ghfMt-0002aA-SF for ding@lists.math.uh.edu; Thu, 10 Jan 2019 12:47:51 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1ghfMs-0003wQ-8I for ding@lists.math.uh.edu; Thu, 10 Jan 2019 12:47:51 -0600 Original-Received: from [195.159.176.226] (helo=blaine.gmane.org) by quimby.gnus.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1ghfMo-0001WG-Sl for ding@gnus.org; Thu, 10 Jan 2019 19:47:49 +0100 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ghfKg-0001vW-4M for ding@gnus.org; Thu, 10 Jan 2019 19:45:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:YYW7OW4+ER6QJpAkGC9yj0pAfcQ= X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eric Abrahamsen writes: > Haider Rizvi writes: > >> Eric Abrahamsen writes: >> >>> I'd like to have a command, call it `gnus-article-browse-url', which >>> collects all the links/URLs in the article body, and then offers [...] Content analysis details: (0.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received' headers 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (harizvi[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 0.8 RDNS_NONE Delivered to internal network by a host with no rDNS X-Spam-Score: 0.8 (/) X-Spam-Report: SpamAssassin (3.4.2 2018-09-13) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-51--1896h-0s--0d--H*M:fsf, 0.000-42--1547h-0s--0d--H*UA:Emacs, 0.000-41--1510h-0s--0d--H*u:Emacs, 0.000-33--1206h-0s--0d--H*UA:Gnus, 0.000-33--1204h-0s--0d--H*u:Gnus Spam tokens: 0.996-33367--661h-27615s--0d--H*r:quimby.gnus.org, 0.995-34348--1070h-28743s--1d--HTo:D*gnus.org, 0.994-2680--92h-2249s--0d--Hx-spam-relays-external:quimby.gnus.org, 0.994-2680--92h-2249s--0d--H*RU:quimby.gnus.org, 0.993-35322--1387h-29791s--0d--H*RT:80.91.231.51 Autolearn status: no autolearn_force=no -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (harizvi[at]gmail.com) 0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is CUSTOM_MED 1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received' headers 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 0.8 RDNS_NONE Delivered to internal network by a host with no rDNS 0.9 NML_ADSP_CUSTOM_MED ADSP custom_med hit, and not from a mailing list List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:88325 Archived-At: Eric Abrahamsen writes: > Haider Rizvi writes: > >> Eric Abrahamsen writes: >> >>> I'd like to have a command, call it `gnus-article-browse-url', which >>> collects all the links/URLs in the article body, and then offers to >>> browse one of them (choosing with completion). Bound to "K l", >>> naturally. >> >> I use two functions along these lines but not exactly what you asked >> for. >> >> 1. ace-link-gnus: I've it bound to M-o for some historical reason. In >> typical ace-fashion, it highlights all urls in the article and you use >> a key to browse the url in your browser. > > That's handy, thank you! I'm glad someone else has done the boring work > for me :) > >> 2. my-gnus-browse function: Based on the newsgroup name, it calls >> various functions to find parent url for this article from the article >> headers. For example, gwene/gmane add a Archived-at header to point to >> the original article. I had various mailing lists that I found it useful for. >> >> Let me know if you want to see the latter. > > Yes please; I think this is also useful, and on more than one occasion > I've wanted to easily follow permalinks from Archived-At headers. Maybe > there's a way to let users distinguish between links in the article > headers and links in the article body. Eric, Sorry, got busy elsewhere. I've posted snippet of my code at: https://gist.github.com/harizvi/97ee5564047206d6014301c3911d8fbb Pl take a look. --