From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/88321 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Command for browsing article URLs? Date: Tue, 08 Jan 2019 12:53:32 -0800 Message-ID: <87r2dmub03.fsf@ericabrahamsen.net> References: <878szwwdjw.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1546980766 18305 195.159.176.226 (8 Jan 2019 20:52:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 8 Jan 2019 20:52:46 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: ding@gnus.org Original-X-From: ding-owner+M36531@lists.math.uh.edu Tue Jan 08 21:52:42 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 1ggyMb-0004d2-NY for ding-account@gmane.org; Tue, 08 Jan 2019 21:52:41 +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 1ggyNn-0006sU-8Z; Tue, 08 Jan 2019 14:53:55 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.91) (envelope-from ) id 1ggyNh-0006pr-Gc for ding@lists.math.uh.edu; Tue, 08 Jan 2019 14:53:49 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1ggyNf-00052m-T9 for ding@lists.math.uh.edu; Tue, 08 Jan 2019 14:53:49 -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 1ggyNc-00075V-77 for ding@gnus.org; Tue, 08 Jan 2019 21:53:46 +0100 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ggyLS-00035v-Ry for ding@gnus.org; Tue, 08 Jan 2019 21:51:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:KNpFTt3uQE0jHPAvSJTXkx6ydzU= 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: 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 >> [...] Content analysis details: (1.5 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Spam-Score: 0.3 (/) X-Spam-Report: SpamAssassin (3.4.2 2018-09-13) analysis follows Bayesian score: 0.0419 Ham tokens: 0.000-189--7203h-0s--0d--H*M:fsf, 0.000-39--1476h-0s--0d--H*UA:Emacs, 0.000-38--1438h-0s--0d--H*u:Emacs, 0.000-30--1143h-0s--0d--H*UA:Gnus, 0.000-30--1141h-0s--0d--H*u:Gnus Spam tokens: 0.997-35247--685h-28419s--0d--H*r:quimby.gnus.org, 0.995-36251--1092h-29535s--0d--HTo:D*gnus.org, 0.994-37410--1180h-30521s--0d--Hx-spam-relays-external:quimby.gnus.org, 0.994-37410--1180h-30521s--0d--H*RU:quimby.gnus.org, 0.994-37345--1384h-30631s--0d--Hx-spam-relays-internal:quimby.gnus.org Autolearn status: no autolearn_force=no -0.5 BAYES_05 BODY: Bayes spam probability is 1 to 5% [score: 0.0419] 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.8 RDNS_NONE Delivered to internal network by a host with no rDNS List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:88321 Archived-At: 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. Thanks, Eric