From: Sam Steingold <sds@gnu.org>
To: ding@gnus.org
Subject: Re: hackernews & gnus-summary-browse-url
Date: Wed, 09 Mar 2022 14:41:03 -0500 [thread overview]
Message-ID: <lzilsmoqwg.fsf@3c22fb11fdab.ant.amazon.com> (raw)
In-Reply-To: <87a6dz72nm.fsf@gnus.org>
> * Lars Ingebrigtsen <ynefv@tahf.bet> [2022-03-09 13:04:29 +0100]:
>
> Sam Steingold <sds@gnu.org> writes:
>
>> If you use it yourself, would you mind if I apply this patch?
>
> [...]
>
>> + "v" #'gnus-summary-browse-all-urls
>
> I'm not sure that's generally useful enough to have as its own
> command -- people will want to open different subsets of URLs in these
> cases, and you kinda have to write some code for that.
Right, but sometimes you want to open _all_ URLs, and this is a simple
way.
I can add bells and whistles (e.g., open _matching_ URLs), but that's an
overkill for now.
>> -(defun gnus-summary-browse-url (&optional external)
>> +(defun gnus-summary-browse-url (&optional _external)
>> "Scan the current article body for links, and offer to browse them.
>>
>> Links are opened using `browse-url' unless a prefix argument is
>> -given: Then `browse-url-secondary-browser-function' is used instead.
>> +given: then `browse-url-secondary-browser-function' is used instead.
>
> And why are you removing the EXTERNAL logic?
I am NOT!
I am merely moving this logic to browse-url-button-open-url where it has
been since it has been introduced!
--
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.2113
http://childpsy.net http://calmchildstories.com http://steingoldpsychology.com
https://jij.org https://memri.org https://www.dhimmitude.org
There are two ways to win an argument with a woman. Neither works.
next prev parent reply other threads:[~2022-03-09 19:41 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-07 21:44 Sam Steingold
2022-03-07 23:40 ` Eric Abrahamsen
2022-03-08 15:05 ` Sam Steingold
2022-03-08 15:23 ` Lars Ingebrigtsen
2022-03-08 15:56 ` Eric Abrahamsen
2022-03-08 15:58 ` Lars Ingebrigtsen
2022-03-08 20:50 ` Sam Steingold
2022-03-09 12:04 ` Lars Ingebrigtsen
2022-03-09 19:41 ` Sam Steingold [this message]
2022-03-09 19:50 ` Eric Abrahamsen
2022-03-09 21:20 ` Sam Steingold
2022-03-12 17:38 ` Lars Ingebrigtsen
2022-03-08 16:35 ` dick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=lzilsmoqwg.fsf@3c22fb11fdab.ant.amazon.com \
--to=sds@gnu.org \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).