Subject: RE: [External] : bug#60190: 29.0.50; Improve `Info-goto-node-web'

From: Drew Adams <[email-masked]>
Date: Mon, 19 Dec 2022 17:23:07 +0000

> I am extremely happy because of `Info-goto-node-web', but it would be
> even better if two changes were made.
> 
> 1. It could work in "An Introduction to Programming in Emacs Lisp" and
> Org mode manual, too.
> 
> 2. It could put the URL on the kill ring when called with a prefix
> argument.

FWIW:

The command is originally from Info+ (see bug #44895).

There, a prefix arg reverses the effect of the current
value of option `browse-url-new-window-flag', which
decides whether a new browser window is used instead
of the current one.
___

A prefix arg could (1) do that or (2) use a separate
browser tab, and also (3) do what you ask, depending
on its value (e.g., plain C-u, plain -, =< 0, >= 0).

Or there could be separate commands
(*-other-tab|window|frame), since vanilla Emacs
doesn't like to let a prefix arg do multiple things.
___

And an option could decide whether by default the URL
is copied to the kill-ring (prefix arg here flipping
that behavior).

And maybe the option should cover not only this
command but also commands that read a URL - IOW,
maybe it should be a general user preference
whether to add URLs (that you choose interactively)
to the kill-ring.
___

I agree with Eli that it would be good for any list
of manuals to use to be the value of a (user)
variable, as opposed to being hardcoded.

Its default value should come (at runtime) from the
manuals you get by default in your context (it can
vary a lot).  E.g., ` info--manual-names', which
can be limited to the manuals currently visited.
___

https://www.emacswiki.org/emacs/InfoPlus