unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: 60213@debbugs.gnu.org
Subject: bug#60213: [PATCH] Copy Info-goto-node-web URL as kill with prefix argument
Date: Tue, 20 Dec 2022 16:04:56 +0200	[thread overview]
Message-ID: <83cz8ecgs7.fsf@gnu.org> (raw)
In-Reply-To: <CADwFkm=6tPc-TFZGMLkQcEFMWwMhw2j1UtDmwG8gt9VP4052bw@mail.gmail.com> (message from Stefan Kangas on Mon, 19 Dec 2022 22:44:33 -0600)

> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Mon, 19 Dec 2022 22:44:33 -0600
> 
> The attached patch make `Info-goto-node-web' copy the URL as kill with a
> prefix argument, instead of opening it with `browse-url'.  I've seen
> this feature requested a couple of times now by various people.
> 
> Since `Info-goto-node-web' is new in Emacs 29, this could perhaps be
> considered safe enough for emacs-29, but master is also fine, of course.

I prefer master.  We aren't even sure how popular the new command will
be, and this addition modifies its behavior in very non-trivial ways.
I'm not aware of many command in Emacs that, given an argument, just
copy a name to the kill-ring instead of acting on that name.





  reply	other threads:[~2022-12-20 14:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-20  4:44 bug#60213: [PATCH] Copy Info-goto-node-web URL as kill with prefix argument Stefan Kangas
2022-12-20 14:04 ` Eli Zaretskii [this message]
2022-12-20 17:24 ` Drew Adams
2022-12-21  1:57   ` Stefan Kangas
2022-12-21  6:01     ` Drew Adams
2022-12-21  8:36       ` Stefan Kangas
2022-12-21 16:07         ` Drew Adams
2022-12-21  8:30     ` Juri Linkov
2022-12-21 16:05       ` Drew Adams

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83cz8ecgs7.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=60213@debbugs.gnu.org \
    --cc=stefankangas@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).