GNU logs - #73723, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#73723: 31.0.50; Add copy/kill/mark commands to isearch
Resent-From: Phil Sainty <psainty@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 09 Oct 2024 20:37:02 +0000
Resent-Message-ID: <handler.73723.B.172850618322324 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 73723
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 73723 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.172850618322324
          (code B ref -1); Wed, 09 Oct 2024 20:37:02 +0000
Received: (at submit) by debbugs.gnu.org; 9 Oct 2024 20:36:23 +0000
Received: from localhost ([127.0.0.1]:57751 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sydPy-0005nz-Rs
	for submit <at> debbugs.gnu.org; Wed, 09 Oct 2024 16:36:23 -0400
Received: from lists.gnu.org ([209.51.188.17]:38908)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <psainty@HIDDEN>) id 1sydPu-0005nl-L7
 for submit <at> debbugs.gnu.org; Wed, 09 Oct 2024 16:36:22 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <psainty@HIDDEN>)
 id 1sydNb-0005SB-9V
 for bug-gnu-emacs@HIDDEN; Wed, 09 Oct 2024 16:33:57 -0400
Received: from smtp-3.orcon.net.nz ([60.234.4.44])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <psainty@HIDDEN>)
 id 1sydNZ-0000KD-2q
 for bug-gnu-emacs@HIDDEN; Wed, 09 Oct 2024 16:33:55 -0400
Received: from [10.253.37.70] (port=35504 helo=webmail.orcon.net.nz)
 by smtp-3.orcon.net.nz with esmtpa (Exim 4.90_1)
 (envelope-from <psainty@HIDDEN>) id 1sydNN-0003yT-Cr
 for bug-gnu-emacs@HIDDEN; Thu, 10 Oct 2024 09:33:41 +1300
Received: from ip-116-251-164-139.as55850.net ([116.251.164.139])
 via [10.253.37.253] by webmail.orcon.net.nz
 with HTTP (HTTP/1.1 POST); Thu, 10 Oct 2024 09:33:41 +1300
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
Date: Thu, 10 Oct 2024 09:33:41 +1300
From: Phil Sainty <psainty@HIDDEN>
Message-ID: <194a0202fd0c9b752d2f6e4f3ff642d8@HIDDEN>
X-Sender: psainty@HIDDEN
User-Agent: Orcon Webmail
X-GeoIP: --
Received-SPF: pass client-ip=60.234.4.44; envelope-from=psainty@HIDDEN;
 helo=smtp-3.orcon.net.nz
X-Spam_score_int: -25
X-Spam_score: -2.6
X-Spam_bar: --
X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

I find the following useful, and sometimes see others asking for
the same thing.  Shall we add these to Emacs?

  (defun isearch-copy-match ()
    "Copy the currently-matched text to the kill ring."
    (interactive)
    (kill-new (buffer-substring (min (point) isearch-other-end)
                                (max (point) isearch-other-end))))

  (defun isearch-kill-match ()
    "Kill the currently-matched text."
    (interactive)
    (kill-region (min (point) isearch-other-end)
                 (max (point) isearch-other-end)))

  (defun isearch-mark-match ()
    "Exit isearch, marking the last match."
    (interactive)
    (set-mark isearch-other-end)
    (isearch-exit)
    (activate-mark))

  (define-key isearch-mode-map (kbd "M-s M-w") #'isearch-copy-match)
  (define-key isearch-mode-map (kbd "M-s C-w") #'isearch-kill-match)
  (define-key isearch-mode-map (kbd "M-s C-SPC") #'isearch-mark-match)
  (define-key isearch-mode-map (kbd "M-s C-@") #'isearch-mark-match)





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Phil Sainty <psainty@HIDDEN>
Subject: bug#73723: Acknowledgement (31.0.50; Add copy/kill/mark commands
 to isearch)
Message-ID: <handler.73723.B.172850618322324.ack <at> debbugs.gnu.org>
References: <194a0202fd0c9b752d2f6e4f3ff642d8@HIDDEN>
X-Gnu-PR-Message: ack 73723
X-Gnu-PR-Package: emacs
Reply-To: 73723 <at> debbugs.gnu.org
Date: Wed, 09 Oct 2024 20:37:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 73723 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
73723: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D73723
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#73723: 31.0.50; Add copy/kill/mark commands to isearch
Resent-From: Stefan Kangas <stefankangas@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 09 Oct 2024 23:50:02 +0000
Resent-Message-ID: <handler.73723.B73723.1728517755965 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73723
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Phil Sainty <psainty@HIDDEN>, 73723 <at> debbugs.gnu.org
Received: via spool by 73723-submit <at> debbugs.gnu.org id=B73723.1728517755965
          (code B ref 73723); Wed, 09 Oct 2024 23:50:02 +0000
Received: (at 73723) by debbugs.gnu.org; 9 Oct 2024 23:49:15 +0000
Received: from localhost ([127.0.0.1]:57974 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sygQc-0000FV-RM
	for submit <at> debbugs.gnu.org; Wed, 09 Oct 2024 19:49:15 -0400
Received: from mail-ed1-f48.google.com ([209.85.208.48]:45058)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1sygQZ-0000FE-SQ
 for 73723 <at> debbugs.gnu.org; Wed, 09 Oct 2024 19:49:13 -0400
Received: by mail-ed1-f48.google.com with SMTP id
 4fb4d7f45d1cf-5c42f406e29so288967a12.2
 for <73723 <at> debbugs.gnu.org>; Wed, 09 Oct 2024 16:49:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1728517680; x=1729122480; darn=debbugs.gnu.org;
 h=to:subject:message-id:date:mime-version:references:in-reply-to:from
 :from:to:cc:subject:date:message-id:reply-to;
 bh=4gA7wkXoCWYj0LIMs4ASY5v9Hkva6tIcmeIniwDWznw=;
 b=ecPDHRIcAHofTvDrM+8YdVWbEuQk3rEnN1ydhdLf9AmShuCiZleSTKilibnUuK6gbJ
 XOLs0g4EaQU4f2LpW6vlgy53Fp5HxD54Syrcnw2SmAGl9sqWQPlGbGsiLIYxFB9PQKnm
 wHEDUhiTh0v8nnZcxjYiedwc7qb0hTXlZHckYStP9ufWpdJYLFk6gAZE5p6p/l0dq71G
 zsTMRUCcRPHZFn9YsMIDehCYbnyxO8/Bla9ch5BifwC2J8/Q/sWAXVR2j64kvhIf6WL+
 h74cGrjKUv622EX4XxGlhamUVBwG2nq/QzA2dJltUbybGRLik2qoABMd7JGW3iyIkK3+
 aOyw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1728517680; x=1729122480;
 h=to:subject:message-id:date:mime-version:references:in-reply-to:from
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=4gA7wkXoCWYj0LIMs4ASY5v9Hkva6tIcmeIniwDWznw=;
 b=vVKA+4sgbaR9cu/mi/8KzMeGGmmt3vlZFBBX/XjM32zCLWNBy2xq0kUzfbjqj8jxrr
 1+Is7mvIOvsnzOf8RzbLPZG9x+22mHbcBJkGsyZmfIM7thfr/RSa85ZzDpLT5JKwuAJi
 8H2i+2pq5TYcHm+DSomn+EmAf9cAHpaWT1MKsSnQF5e7WbHunvnxWpE11o5XGey6Gz4z
 V3YeQkBjWjW5mvYef3XWekXaequhd/vtlDqDrLLi5eCnhwEC2+uatuQ4pR6HETX7+4ks
 +jK4kMalzTQk2LCx2k2csRn6y0KRnPPJAYPM0uNMKwE0Kokf31SIyvgXGxNS6pKCnp2N
 PwNQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCUz19Ldu6dhDlYhC2aPT/FJy+PZUMkZ69QAGeIA6UvV5XlymNjFFd39CX6jWjoeyHVy6GG0BA==@debbugs.gnu.org
X-Gm-Message-State: AOJu0Yy4OCRsSoB0Nu3m5651rB9WV9zvXBi9iHuMhaPH6R2YYTau0CKF
 5/NW84wX624ILiQaMz0HKkiJexaSbsZ44z02XkNoFh/kxICWC/k3rB4INImcFHrnvYW9/RXzNsT
 akcINJYvH+v9G9NdhVL7t0z8ijGI=
X-Google-Smtp-Source: AGHT+IGwWn1pTZkFBi6a9KJQiakLgYD9noCHH/6CF02QkE0baXSYUmEhtx8QQ05q4/kppX7hZKU6qErk1gA9pxeuVKk=
X-Received: by 2002:a05:6402:4301:b0:5c8:8bde:a1d3 with SMTP id
 4fb4d7f45d1cf-5c932553ec7mr1044194a12.22.1728517679173; Wed, 09 Oct 2024
 16:47:59 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Wed, 9 Oct 2024 23:47:58 +0000
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <194a0202fd0c9b752d2f6e4f3ff642d8@HIDDEN>
References: <194a0202fd0c9b752d2f6e4f3ff642d8@HIDDEN>
MIME-Version: 1.0
Date: Wed, 9 Oct 2024 23:47:58 +0000
Message-ID: <CADwFkmmjs_OPkk1vHthnPY9uV641MZmACcqoR3y=HNrryuG_hw@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Phil Sainty <psainty@HIDDEN> writes:

> I find the following useful, and sometimes see others asking for
> the same thing.  Shall we add these to Emacs?
>
>   (defun isearch-copy-match ()
>     "Copy the currently-matched text to the kill ring."
>     (interactive)
>     (kill-new (buffer-substring (min (point) isearch-other-end)
>                                 (max (point) isearch-other-end))))
>
>   (defun isearch-kill-match ()
>     "Kill the currently-matched text."
>     (interactive)
>     (kill-region (min (point) isearch-other-end)
>                  (max (point) isearch-other-end)))
>
>   (defun isearch-mark-match ()
>     "Exit isearch, marking the last match."
>     (interactive)
>     (set-mark isearch-other-end)
>     (isearch-exit)
>     (activate-mark))
>
>   (define-key isearch-mode-map (kbd "M-s M-w") #'isearch-copy-match)
>   (define-key isearch-mode-map (kbd "M-s C-w") #'isearch-kill-match)
>   (define-key isearch-mode-map (kbd "M-s C-SPC") #'isearch-mark-match)
>   (define-key isearch-mode-map (kbd "M-s C-@") #'isearch-mark-match)

It looks like a fine addition to me.  We'd need the usual documentation,
NEWS entry, etc., though.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#73723: 31.0.50; Add copy/kill/mark commands to isearch
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 10 Oct 2024 04:49:02 +0000
Resent-Message-ID: <handler.73723.B73723.172853571030778 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73723
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Phil Sainty <psainty@HIDDEN>
Cc: 73723 <at> debbugs.gnu.org
Received: via spool by 73723-submit <at> debbugs.gnu.org id=B73723.172853571030778
          (code B ref 73723); Thu, 10 Oct 2024 04:49:02 +0000
Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 04:48:30 +0000
Received: from localhost ([127.0.0.1]:58314 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1syl6E-00080M-5v
	for submit <at> debbugs.gnu.org; Thu, 10 Oct 2024 00:48:30 -0400
Received: from eggs.gnu.org ([209.51.188.92]:52658)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1syl6C-000808-Hz
 for 73723 <at> debbugs.gnu.org; Thu, 10 Oct 2024 00:48:29 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1syl5v-0007nC-Tw; Thu, 10 Oct 2024 00:48:11 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=Ta4CccZ/iCgK6Dgo8+ad6/YLRO8d+cVLyu5yHCC6j8s=; b=pmVv04zJMy8Y
 tDGlYpzjE9KIHH4jV1BYJnrW3EcyudnWy6GZnZ+y2vS7NG1MVbWVW/1Euz2UC+Qa28HvhWmIT/k9Q
 9eYkDhIUroqjjQ+NRLpcq1GVxfGBb5Le7M56Xhxll93PqjT5R8ojUhHi/sTTljlXqSiupGSeyBNOD
 /DZ+0hEg09Hrin5g/VpjWlxbSOPW5RkSpqXa+MHtpq6DM1ZhUjvc9wyxEZ0VLIio5aGiXqPaODYDv
 wAsXBlatPPqB+vWTT6hn5mZnvy8/BXXBv3qqSsU1aH3egiKhHu9ZDdmc30yadyyA4gT0fXFs0HCWK
 zVTsoJU82B/6pWokbm2QDQ==;
Date: Thu, 10 Oct 2024 07:48:10 +0300
Message-Id: <86r08o36np.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <194a0202fd0c9b752d2f6e4f3ff642d8@HIDDEN> (message
 from Phil Sainty on Thu, 10 Oct 2024 09:33:41 +1300)
References: <194a0202fd0c9b752d2f6e4f3ff642d8@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Thu, 10 Oct 2024 09:33:41 +1300
> From: Phil Sainty <psainty@HIDDEN>
> 
> I find the following useful, and sometimes see others asking for
> the same thing.  Shall we add these to Emacs?
> 
>   (defun isearch-copy-match ()
>     "Copy the currently-matched text to the kill ring."
>     (interactive)
>     (kill-new (buffer-substring (min (point) isearch-other-end)
>                                 (max (point) isearch-other-end))))
> 
>   (defun isearch-kill-match ()
>     "Kill the currently-matched text."
>     (interactive)
>     (kill-region (min (point) isearch-other-end)
>                  (max (point) isearch-other-end)))
> 
>   (defun isearch-mark-match ()
>     "Exit isearch, marking the last match."
>     (interactive)
>     (set-mark isearch-other-end)
>     (isearch-exit)
>     (activate-mark))
> 
>   (define-key isearch-mode-map (kbd "M-s M-w") #'isearch-copy-match)
>   (define-key isearch-mode-map (kbd "M-s C-w") #'isearch-kill-match)
>   (define-key isearch-mode-map (kbd "M-s C-SPC") #'isearch-mark-match)
>   (define-key isearch-mode-map (kbd "M-s C-@") #'isearch-mark-match)

Sounds useful, but "M-x M-w" is already taken, unfortunately.

For isearch-kill-match, should there also be a command to kill _all_
the matches?

Thanks.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#73723: 31.0.50; Add copy/kill/mark commands to isearch
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 10 Oct 2024 06:40:02 +0000
Resent-Message-ID: <handler.73723.B73723.172854239521442 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73723
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Phil Sainty <psainty@HIDDEN>
Cc: 73723 <at> debbugs.gnu.org
Received: via spool by 73723-submit <at> debbugs.gnu.org id=B73723.172854239521442
          (code B ref 73723); Thu, 10 Oct 2024 06:40:02 +0000
Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 06:39:55 +0000
Received: from localhost ([127.0.0.1]:58459 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1symq3-0005Zm-9Y
	for submit <at> debbugs.gnu.org; Thu, 10 Oct 2024 02:39:55 -0400
Received: from relay3-d.mail.gandi.net ([217.70.183.195]:60763)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1symq0-0005ZT-QU
 for 73723 <at> debbugs.gnu.org; Thu, 10 Oct 2024 02:39:53 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 6329D60002;
 Thu, 10 Oct 2024 06:39:12 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
In-Reply-To: <194a0202fd0c9b752d2f6e4f3ff642d8@HIDDEN> (Phil
 Sainty's message of "Thu, 10 Oct 2024 09:33:41 +1300")
Organization: LINKOV.NET
References: <194a0202fd0c9b752d2f6e4f3ff642d8@HIDDEN>
Date: Thu, 10 Oct 2024 09:37:37 +0300
Message-ID: <86a5fc5uq6.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> I find the following useful, and sometimes see others asking for
> the same thing.  Shall we add these to Emacs?
>
>  (defun isearch-copy-match ()
>    "Copy the currently-matched text to the kill ring."
>    (interactive)
>    (kill-new (buffer-substring (min (point) isearch-other-end)
>                                (max (point) isearch-other-end))))
>
>  (defun isearch-kill-match ()
>    "Kill the currently-matched text."
>    (interactive)
>    (kill-region (min (point) isearch-other-end)
>                 (max (point) isearch-other-end)))
>
>  (defun isearch-mark-match ()
>    "Exit isearch, marking the last match."
>    (interactive)
>    (set-mark isearch-other-end)
>    (isearch-exit)
>    (activate-mark))
>
>  (define-key isearch-mode-map (kbd "M-s M-w") #'isearch-copy-match)
>  (define-key isearch-mode-map (kbd "M-s C-w") #'isearch-kill-match)
>  (define-key isearch-mode-map (kbd "M-s C-SPC") #'isearch-mark-match)
>  (define-key isearch-mode-map (kbd "M-s C-@") #'isearch-mark-match)

I have a patch that I'm using for a long time every day.
It allows exiting Isearch with 'S-RET' that activates
the region on the current match.  This allows using
the standard keys afterwards: 'M-w' to copy the match,
'C-w' to kill the match, etc.  Does this eliminate the need
to add more Isearch commands?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#73723: 31.0.50; Add copy/kill/mark commands to isearch
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 10 Oct 2024 07:42:02 +0000
Resent-Message-ID: <handler.73723.B73723.17285460811572 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73723
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Juri Linkov <juri@HIDDEN>
Cc: psainty@HIDDEN, 73723 <at> debbugs.gnu.org
Received: via spool by 73723-submit <at> debbugs.gnu.org id=B73723.17285460811572
          (code B ref 73723); Thu, 10 Oct 2024 07:42:02 +0000
Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 07:41:21 +0000
Received: from localhost ([127.0.0.1]:58559 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1synnV-0000PF-BQ
	for submit <at> debbugs.gnu.org; Thu, 10 Oct 2024 03:41:21 -0400
Received: from eggs.gnu.org ([209.51.188.92]:47398)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1synnT-0000Oy-NY
 for 73723 <at> debbugs.gnu.org; Thu, 10 Oct 2024 03:41:20 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1synl3-0000d1-Sj; Thu, 10 Oct 2024 03:38:49 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=3wh5UgoLNYbs3FwPmpjEKjBGxHv1+S9vSlZSNdpmalQ=; b=WkGsh05g2nQi
 XcxxXhorheoRi+ueATUDBPKo4+SoIZDpjm9yMoQ1UBuzTh8fnQPhdC0BlyWqePr42KA0zP5b0pNyf
 CKOoAjs59rdnkrBot6cJ0THo4UZ8pVbWE3jyQwFVOXVzTfPs0kpWWSok98/xW+OKV5zWMJuTsxeTn
 IXk7wON5vEySgXt8xgSYcOkvaclMoMQGAdHLTLPh+mlb77Ez3kWxEBmGXma59s3M9AT1hTR6eYS09
 0tUNRYhd71lNdFLjj1J2L2J9iHybiL/xWWBLWTu17hRj/tF1jlsKuOM1tQnl0iafc4tpkNxgh3utL
 1Q9lQkWf8pG58t5Nz8e8GA==;
Date: Thu, 10 Oct 2024 10:38:19 +0300
Message-Id: <864j5k2ys4.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <86a5fc5uq6.fsf@HIDDEN> (message from Juri Linkov on
 Thu, 10 Oct 2024 09:37:37 +0300)
References: <194a0202fd0c9b752d2f6e4f3ff642d8@HIDDEN>
 <86a5fc5uq6.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Cc: 73723 <at> debbugs.gnu.org
> From: Juri Linkov <juri@HIDDEN>
> Date: Thu, 10 Oct 2024 09:37:37 +0300
> 
> >  (define-key isearch-mode-map (kbd "M-s M-w") #'isearch-copy-match)
> >  (define-key isearch-mode-map (kbd "M-s C-w") #'isearch-kill-match)
> >  (define-key isearch-mode-map (kbd "M-s C-SPC") #'isearch-mark-match)
> >  (define-key isearch-mode-map (kbd "M-s C-@") #'isearch-mark-match)
> 
> I have a patch that I'm using for a long time every day.
> It allows exiting Isearch with 'S-RET' that activates
> the region on the current match.

S-RET will not work on text terminals.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#73723: 31.0.50; Add copy/kill/mark commands to isearch
Resent-From: Phil Sainty <psainty@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 10 Oct 2024 12:11:01 +0000
Resent-Message-ID: <handler.73723.B73723.172856225823275 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73723
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 73723 <at> debbugs.gnu.org
Received: via spool by 73723-submit <at> debbugs.gnu.org id=B73723.172856225823275
          (code B ref 73723); Thu, 10 Oct 2024 12:11:01 +0000
Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 12:10:58 +0000
Received: from localhost ([127.0.0.1]:58937 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sys0M-00063E-6j
	for submit <at> debbugs.gnu.org; Thu, 10 Oct 2024 08:10:58 -0400
Received: from smtp-3.orcon.net.nz ([60.234.4.44]:48035)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <psainty@HIDDEN>) id 1sys0J-000635-59
 for 73723 <at> debbugs.gnu.org; Thu, 10 Oct 2024 08:10:52 -0400
Received: from [10.253.37.70] (port=44970 helo=webmail.orcon.net.nz)
 by smtp-3.orcon.net.nz with esmtpa (Exim 4.90_1)
 (envelope-from <psainty@HIDDEN>)
 id 1syrzx-00057k-0j; Fri, 11 Oct 2024 01:10:35 +1300
Received: from ip-116-251-164-139.as55850.net ([116.251.164.139])
 via [10.253.37.253] by webmail.orcon.net.nz
 with HTTP (HTTP/1.1 POST); Fri, 11 Oct 2024 01:10:28 +1300
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
Date: Fri, 11 Oct 2024 01:10:28 +1300
From: Phil Sainty <psainty@HIDDEN>
In-Reply-To: <86r08o36np.fsf@HIDDEN>
References: <194a0202fd0c9b752d2f6e4f3ff642d8@HIDDEN>
 <86r08o36np.fsf@HIDDEN>
Message-ID: <d5094399f009481f0ba87b47ed62894c@HIDDEN>
X-Sender: psainty@HIDDEN
User-Agent: Orcon Webmail
X-GeoIP: --
X-Spam_score: -2.9
X-Spam_score_int: -28
X-Spam_bar: --
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On 2024-10-10 17:48, Eli Zaretskii wrote:
>> Date: Thu, 10 Oct 2024 09:33:41 +1300
>> From: Phil Sainty <psainty@HIDDEN>
>>   (define-key isearch-mode-map (kbd "M-s M-w") #'isearch-copy-match)
>>   (define-key isearch-mode-map (kbd "M-s C-w") #'isearch-kill-match)
>>   (define-key isearch-mode-map (kbd "M-s C-SPC") #'isearch-mark-match)
>>   (define-key isearch-mode-map (kbd "M-s C-@") #'isearch-mark-match)
> 
> Sounds useful, but "M-x M-w" is already taken, unfortunately.

"M-s M-w" does have a binding to `eww-search-words' in the global 
keymap,
but I'm not sure that needs to prevent us using it here?

Certainly `eww-search-words' doesn't react to the current isearch match,
so I think there's not currently a particular reason why one would 
invoke
the global binding whilst isearching.  (You *could* set the mark and 
then
search to extend the region before calling `eww-search-words' for that
region; but you could trivially still do that simply by exiting the
isearch explicitly.)


> For isearch-kill-match, should there also be a command to kill _all_
> the matches?

Potentially, although there's a library iedit.el which provides that
kind of functionality.  It has an `iedit-mode-from-isearch' command
to invoke iedit on the matched text.  (Although to specifically kill
all matches, it looks like you'd need to follow that command by
restarting the isearch and *then* call `isearch-kill-match'.


-Phil





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#73723: 31.0.50; Add copy/kill/mark commands to isearch
Resent-From: Drew Adams <drew.adams@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 10 Oct 2024 16:59:02 +0000
Resent-Message-ID: <handler.73723.B73723.172857951118147 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73723
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Juri Linkov <juri@HIDDEN>, Phil Sainty <psainty@HIDDEN>
Cc: "73723 <at> debbugs.gnu.org" <73723 <at> debbugs.gnu.org>
Received: via spool by 73723-submit <at> debbugs.gnu.org id=B73723.172857951118147
          (code B ref 73723); Thu, 10 Oct 2024 16:59:02 +0000
Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 16:58:31 +0000
Received: from localhost ([127.0.0.1]:60400 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sywUg-0004ic-T7
	for submit <at> debbugs.gnu.org; Thu, 10 Oct 2024 12:58:31 -0400
Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:49112)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1sywUe-0004iU-Bu
 for 73723 <at> debbugs.gnu.org; Thu, 10 Oct 2024 12:58:29 -0400
Received: from pps.filterd (m0333520.ppops.net [127.0.0.1])
 by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49ABMiEQ025423;
 Thu, 10 Oct 2024 16:58:16 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=cc
 :content-transfer-encoding:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to; s=
 corp-2023-11-20; bh=DGVU+tnEkbrWeKkecafgX77drCsMOsWk9Ln9nrD0yP0=; b=
 kluPrS6Mfl9VJLbcpPXqR27NMtHCXioKGtwastWNITD8oCG325oHs3+Fc2qvjbLe
 vn4a10oerSixKK+rv4ece3g4YNPtPqynLJoavokG2RZYLj0rN86PrVnrBJWMe0t2
 JNMREzDzOlMEi6qMeaIs4LpKn84xurAXf0PF3mABSH0Exa8GevQNX4shKcXbNPb/
 UXSV/m9WVdDJbXLo7DrIMnwJZo3VA1Qp0aEf9sA12mCRoBbLktyLCoxXmJ6B+ome
 sbRdgWjzrJ0gT+rfDeuL7FCvWWeXVxQ28EIpr/ElX5wc+7iqeaNC7qfPX5zeN0GR
 t7c8lQu52SxAt74C2wn6hg==
Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com
 (phxpaimrmta01.appoci.oracle.com [138.1.114.2])
 by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 423034um9m-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 10 Oct 2024 16:58:15 +0000 (GMT)
Received: from pps.filterd
 (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1])
 by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.18.1.2/8.18.1.2)
 with ESMTP id 49AFnNKt034295; Thu, 10 Oct 2024 16:58:14 GMT
Received: from nam11-co1-obe.outbound.protection.outlook.com
 (mail-co1nam11lp2176.outbound.protection.outlook.com [104.47.56.176])
 by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id
 422uwaa6yq-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 10 Oct 2024 16:58:14 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=qYGnA5xXfZLMts+dgedU1vqBWbEVstzLE+P8EL+nKu/6rDS7jNHfmueCGkwbQuBcFG43qbLRDu6lUn34Iv7lZlDCf68fhg9KhFI+A5v43OOrRFurLuOOe4z2IUPkbV5HpqvJ9xMk/LJMhITo4nNByTesyGxdDP1qlTxcKjnirwMa4PwqbTpmMc55RrwsaxLLWV0qFnvaMtSbiNnjTKLeUfm1OvVvSv/Qqoan5Jlc8M+dMSqYM0nw5D7L4o1nF1LJ9ohGkkyywjTmNoCjc+EfHUDsNSCHd6ybJEasUjIb3aOl0Fj0U8GVo7UDDu26yBIGaLtYWQ/6bj+KQGWmgERh0Q==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=DGVU+tnEkbrWeKkecafgX77drCsMOsWk9Ln9nrD0yP0=;
 b=OODLU9nKjdNmkBC60JsMqbKPr9fF7cPncVDK2xSHwCfJtoI0HYmCv4SXwvB6j2s+E3+S0ZcOxvO5Lwyuue2N17R3yXG+y89nfpcZTrpUGv6uU7BFsZhfd1yLMU1k/9iQgEloZWNuilBr4JYJPXKssLs3WbXry634mju+nAmJWZA+LNGsZ+SNq2x1R7lcI0edblzOLa4nk20kRdNDDfd8hzml6w0Ep9BRLY8HL2nOf8FJbQ8X0h2b0vJfXCS/F9/wTer9U4qYkVyTbcaxY1TKcpI8P3okx+xWavpNDKABgnm4dPx2lxOymvqcErf0jiNXw5poZ+3z1z+G+QJvY9cP9w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com;
 dkim=pass header.d=oracle.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=DGVU+tnEkbrWeKkecafgX77drCsMOsWk9Ln9nrD0yP0=;
 b=NiNHzmQMbfmm4N5HCwrS3IaMs90ENbNVI+yDVRXQvxvFASIFNAn7swC4OiJdHxRK4ZypLwNJzKehWgHFYWu6b3imuT3jWgVcPt3JGbpSRG1yo4FhkyKcSdWb26LNkrWSQK2f6U9xvdrxDA3r+24mA5sqeyXapvD8SOJ+obRpqzo=
Received: from DS7PR10MB5232.namprd10.prod.outlook.com (2603:10b6:5:3aa::24)
 by LV3PR10MB7793.namprd10.prod.outlook.com (2603:10b6:408:1b8::22) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.16; Thu, 10 Oct
 2024 16:58:12 +0000
Received: from DS7PR10MB5232.namprd10.prod.outlook.com
 ([fe80::8303:658f:14f8:2324]) by DS7PR10MB5232.namprd10.prod.outlook.com
 ([fe80::8303:658f:14f8:2324%4]) with mapi id 15.20.8048.017; Thu, 10 Oct 2024
 16:58:10 +0000
From: Drew Adams <drew.adams@HIDDEN>
Thread-Topic: [External] : bug#73723: 31.0.50; Add copy/kill/mark commands to
 isearch
Thread-Index: AQHbGt9K9jPKmq2jskqoR6hSqYSjRLKANOGA
Date: Thu, 10 Oct 2024 16:58:10 +0000
Message-ID: <DS7PR10MB52323ECFB6193E37B99AAD00F3782@HIDDEN>
References: <194a0202fd0c9b752d2f6e4f3ff642d8@HIDDEN>
 <86a5fc5uq6.fsf@HIDDEN>
In-Reply-To: <86a5fc5uq6.fsf@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: DS7PR10MB5232:EE_|LV3PR10MB7793:EE_
x-ms-office365-filtering-correlation-id: 67c78beb-f83c-4060-678e-08dce94cb8d0
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0; ARA:13230040|376014|1800799024|366016|38070700018;
x-microsoft-antispam-message-info: T5T4RYiMhZ92hlXeSDoFuV1gtdXvk0blleyX25nRlgK8z1mnq7qDOgqILuCJ4wuK5Dd4k3vUyANwrq2AbXbEJnqaK1c5dPchGQtiBb/BSjuv+MPwcVZdJHpjnwuEnH/d0BPqCmhXHybTT+WK6YIC91YZROtijBzbqgidZwurgu707tXUbEsmIH4aK7UFzAckqunhZgjlmWOCBqexFUtifRHQVxT3oYR23Veq5OV62koagG3F3OfQ0Jln5O0/8t3KVsOjxPHmbrSymX1xJWcX/GlO566I1elcCzg7d8T2aR8G/vne6WnFiZPG1sN4gSfBVn46ZTAGJiLhV4XODmsOQSLLfo1yh4Cfz0GYrNTeEThi94pZOFz6mbkNYG2HafGru7HqebXqYrHqZBBWBBZ8+aBQ5YtYEsi3e+u1K0gq4u6VPlAearGMeZglZ63Nk+HKnZFo43xlJxyvcAaEXNMimEq6DSE6X+DK1GQCqduAxXY2SP+mt5nmojLQwkxV6/QrF2KfGpc+YAQ8a1SCHmry+nYLfhrSzbm7BDVURtF49tZsPWUco73gHsjwNw3YiqNeaU4HV4X7OEsl1wN3MmWpI28Y/rTRyibXdcWnWF2J6cMxJSvou4tMoIiGFJJc8R1IsxgV9ii6HHJarDgRzG8dU0Zios/kJzI9kYQJ2vMUsro1fbBgGcqibaCCw4Igg0ZpwW5QIVU280dcPz0ZcrsTGpI2Z+e1osSC2XaUhau8NmhGUBVmV2wc63/3nHGcLBVRPoGG4DLnPX8OD9sQuviDhp385wHeR9RJ9OClMjWFOWw4wlQlpvmhXEkP/VMz/NaefG3eVkMawA86ptJQ6+52ZmMwzRmIkibTYMIQWE8x0X79ced+NVbGEUn9fqZpWKxbZvGXTtRkgx1Nqq5oQwREDjdqHEwlOYvnzRnzchXGjOCVvwsFEH7LuJn6tKbSBhtroJGnbTRrbK4Kx87o5NDfFgx6VhKosQlfy5khX45HyWC9fAe/2jgLsu8E8382h1kGT2cEkEIIkJbThw433lHpJsnzPuU9ngNdn131hGSEDk7nj42VhS8sggW9edoBdqboEu2SaplQyYhn69HZh8nhwInW2nk9uLK59/wLKkOFla5QsvWb5nnhTgiE40mTHbRAYdPG4qdXNidFEnAZ8E12XIWlyH9tKvf061ZqdnoqHS2QDQoA2p5oVREmOCW6CiiSWm+k7CA1HCd8P8iUVTBi4vd/hVIIVexwwysVMBbEGPRzbUOwpa04AcT9nxG5slPEhreHOs3Pohc4wzaUBevWkdA07MSvEW8JdfJ57lTWpY6LcTkYhVBdjSuXR+1i1R191G/QbaMBZC4MZ0/y+sRYVQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:DS7PR10MB5232.namprd10.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(13230040)(376014)(1800799024)(366016)(38070700018); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: rNgvD0sTK5iemhgvchU5J1pTVGpDDjNAY4tNncXZmbCt/SzmIzLU4v4ZOxi6KabEahrexWMEdKisd6e3MpGS8El6Vr5bpUNx7FYQO4lG5lkyQnx0We+UyzfaWCXqT7rfW3IHDiShaY27PqpouM749EYWmBe4hLViVsawruCgn2C3yAvvJvvvLwF4ylL5R70g57K6Dll+0vBhM8B/LoZvTjGy2kRP3zravyldYLVa/SIpNzGUKbbaMzzAm0LHTwNPyqlunU8NnboYccCr4iMcekPSrRZ9oWlIsssfCp598z4uCdUHVb3jSemXQky/rEcVi6MXmIRTpBvm55MgtPKWh/smh148FYxmOhY+z79+U04oodcQkDSTp7hKZsu6F653tl34TZg7e4xQhUR9gCmSQ3Q9sd6//jMiNBMbK4han1CYN3+n+XHKikRnxnIN1qZewpvSSZVZgy0bEwdIFQ6E6uy4QbN9iXwKCKP1VXTUFbf+i8cpBcV/6WZ9cuK/47ejKxzZLSZWPUdt6BpeGr5kxIWoMHIbgWfuh2blHQgkLGkgkGX81w8w0+ImJcnLoJkFLtdBNenfk2T2rhaaipngWhb6o/KYGrQvNSc+upxgoRL9c9FOC7dRVAucoQi/kYRG9rAM2HKhCP075CTQgA7rGrqC/Kp3nyzlNfrzjatKe9k+pIS4Yl0Xi9i8MqqIZVhmuWXBqC+gCn54YZorgYD9YuB4Suuqw1McX1NfQSoiJRe1hVEFl+MdHnH0Jsft46DN+abpp0Aefmpec6IwFefXjKwQWQwC7NHjwAyEPUbz0Ja3KNZuB7RkJMkYSn3REiDunVqCcHOqNCVY3EU9UjndHWg4iIT3X/PyGFq0+JEG1iwFbnu/xFvXzW7VTOryT27Gx0QZXUbG2/jmQikJMCpyV8LRs9L4B016EuZjafy+CNYqiMSqZqmUXa5diNJhePYvVXbsOVQqwint6L7YF70HQbzkNBZ9lwAvaQW4uZ28ztFT1H5Ym35tylr1b9hiWTnfZ3wQkap2zDmsvd/KpRC+yXarp06uZQThJxbhDcdu2dT308cwCmSsqvbI2n0tIMGu3YJFwXoDLKxcJwdZBGax6uowd3LOW+kn67wTqq6o9jIX7tcAuan/NRuCWyWqvOQPNpOsgIrOn3lsOnqT8Vp7172sRp0ZULrX2guPwRgKF1TUmEik5VhCHrGQRWLiTSHv95PQ9mfG8Chcc9N6nDkymRUv+5hPidBwk6frFigUV76QKOAHSN4oOk+Og00ALbCyJ+vTAMciRj4/rF9hFpty7QhEauzQNgZi/727kuxkRMjAuWE+HLNsBa2IloUkF1KOXkxeTpWTyuCPKSEGuCF+ptCxRjBVIoY68L6hE4nfyawEEydcaWJgHF8zDN9DTxVP1AIvb399BM4He8c9it11O4iTLjBiGNWKpNphnOXkzDEqXP1VdDE1Zbd8btmYas8rBfW830f8cFwfz2D8GJRTDg/+MnyVGyVc7A7sWAF3anfC1M5K5WE+coTnUieeevCdKWSFbXaGkiROcCMXbzG7ApVl3yTizuy7cvyNvCUySqlUUVqbYhs1UC7C6z8Lz1hP
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: Hw4iEBeg1YBgM3hSi1yKp18gyR+Fq9B6Cl28uiY0pBHklaZCNdsBhdzzxIENovA3PfNB9oBBbX9SytgT5pTbGcBPSXOnBPbYbEgOGMuCMsbG+4bcZKFEjJn0jDyggxCUkYclFrCNdog06MeZsdLXUYOMWLY2pQ+1wdZJfd3zW7B26ilV5PmgF/yyG91eLV5iW4UJRg/Pasyc9OgCpKrJtcodqlWNa3FriRGHSM1MbCqjQRUhSI86a7Lj4kI57KmP6z2sNzqEM7EKEZM4t5yMdNcX4JgyJwIaR0S/lqcs0KxLeyX2vGkbwWRU8avueomjUb3+tA8FtzJ7I33PSpXJNlJPf9O7sGWS4jXo+NGfrIUxIW7IEVkeRUhTcsniNJOON07ERWnnVSN1Y2yeJWUVU5Mhwbn3Z4hGylHU17xewyTARvuzGhBWc1cM/R8VriONipEhOCTBPB7aSQxG/Ciwss8jysoBsa5bq/gtkEkSIPFQnuf4fLXuUQE7DF20QBGb1kMvTQhfqvOT7dCyVxNMiM9E+X3tcGWNuVPKSeaRLz9vHr3jlho0QvCBFiC+3jfJcNamENDppgEqI0aP90HGXvA+eEwOmmpKsA7y2OFLJ2E=
X-OriginatorOrg: oracle.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DS7PR10MB5232.namprd10.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 67c78beb-f83c-4060-678e-08dce94cb8d0
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Oct 2024 16:58:10.7059 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: E4ELYWdYxdFrHZHT3/PV0eiNoSDKYUhGpikxM64pJfLq65UPkKm5BCqkG236OCk5H34D4bs5XTlqyiWOsUzYKQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR10MB7793
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.293,Aquarius:18.0.1051,Hydra:6.0.680,FMLib:17.12.62.30
 definitions=2024-10-10_11,2024-10-10_01,2024-09-30_01
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=854
 adultscore=0
 phishscore=0 mlxscore=0 suspectscore=0 bulkscore=0 spamscore=0
 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.12.0-2409260000 definitions=main-2410100111
X-Proofpoint-GUID: IUy8A2QlmEjnx5g7dsj4zA5s2f8mcs3f
X-Proofpoint-ORIG-GUID: IUy8A2QlmEjnx5g7dsj4zA5s2f8mcs3f
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> > I find the following useful, and sometimes see others asking for
> > the same thing.  Shall we add these to Emacs?
> >
> >  (defun isearch-copy-match ()
> >    "Copy the currently-matched text to the kill ring."
> >    (interactive)
> >    (kill-new (buffer-substring (min (point) isearch-other-end)
> >                                (max (point) isearch-other-end))))
> >
> >  (defun isearch-kill-match ()
> >    "Kill the currently-matched text."
> >    (interactive)
> >    (kill-region (min (point) isearch-other-end)
> >                 (max (point) isearch-other-end)))
> >
> >  (defun isearch-mark-match ()
> >    "Exit isearch, marking the last match."
> >    (interactive)
> >    (set-mark isearch-other-end)
> >    (isearch-exit)
> >    (activate-mark))
> >
> >  (define-key isearch-mode-map (kbd "M-s M-w") #'isearch-copy-match)
> >  (define-key isearch-mode-map (kbd "M-s C-w") #'isearch-kill-match)
> >  (define-key isearch-mode-map (kbd "M-s C-SPC") #'isearch-mark-match)
> >  (define-key isearch-mode-map (kbd "M-s C-@") #'isearch-mark-match)
>=20
> I have a patch that I'm using for a long time every day.
> It allows exiting Isearch with 'S-RET' that activates
> the region on the current match.  This allows using
> the standard keys afterwards: 'M-w' to copy the match,
> 'C-w' to kill the match, etc.  Does this eliminate the need
> to add more Isearch commands?

FWIW, in isearch+.el I define `isearchp-kill-ring-save'
and bind it to `M-w'.
This has been the case since 2013.

(defun isearchp-kill-ring-save () ; Bound to `M-w' in `isearch-mode-map'.
  "Copy the current search string to the kill ring."
  (interactive)
  (kill-new isearch-string)
  (let ((message-log-max  nil)) (message "Copied search string as kill"))
  (sit-for 1)
  (isearch-update))




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#73723: 31.0.50; Add copy/kill/mark commands to isearch
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 10 Oct 2024 17:38:02 +0000
Resent-Message-ID: <handler.73723.B73723.172858184426134 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73723
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: psainty@HIDDEN, 73723 <at> debbugs.gnu.org
Received: via spool by 73723-submit <at> debbugs.gnu.org id=B73723.172858184426134
          (code B ref 73723); Thu, 10 Oct 2024 17:38:02 +0000
Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 17:37:24 +0000
Received: from localhost ([127.0.0.1]:60430 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1syx6J-0006nS-Lr
	for submit <at> debbugs.gnu.org; Thu, 10 Oct 2024 13:37:24 -0400
Received: from relay7-d.mail.gandi.net ([217.70.183.200]:55053)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1syx6H-0006nB-3U
 for 73723 <at> debbugs.gnu.org; Thu, 10 Oct 2024 13:37:21 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 7EB5820007;
 Thu, 10 Oct 2024 17:37:00 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
In-Reply-To: <864j5k2ys4.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 10 Oct
 2024 10:38:19 +0300")
Organization: LINKOV.NET
References: <194a0202fd0c9b752d2f6e4f3ff642d8@HIDDEN>
 <86a5fc5uq6.fsf@HIDDEN> <864j5k2ys4.fsf@HIDDEN>
Date: Thu, 10 Oct 2024 20:32:41 +0300
Message-ID: <865xpz281u.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> >  (define-key isearch-mode-map (kbd "M-s M-w") #'isearch-copy-match)
>> >  (define-key isearch-mode-map (kbd "M-s C-w") #'isearch-kill-match)
>> >  (define-key isearch-mode-map (kbd "M-s C-SPC") #'isearch-mark-match)
>> >  (define-key isearch-mode-map (kbd "M-s C-@") #'isearch-mark-match)
>>
>> I have a patch that I'm using for a long time every day.
>> It allows exiting Isearch with 'S-RET' that activates
>> the region on the current match.
>
> S-RET will not work on text terminals.

I see that S-left and S-right arrows work on text terminals
via 'this-command-keys-shift-translated', but S-RET
doesn't set 'this-command-keys-shift-translated'.

Then isearch-exit could support a prefix argument to
activate the region on exit like Gregory proposed in
https://debbugs.gnu.org/47599#34
with three values of prefix arguments to isearch-exit:
C-u  RET moves point to the other end,
C-u C-u RET activates region around match,
C-u C-u C-u RET moves point to the other end
                and activate region around match.
But then Ergus proposed M-RET or M-s RET.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#73723: 31.0.50; Add copy/kill/mark commands to isearch
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 10 Oct 2024 17:38:02 +0000
Resent-Message-ID: <handler.73723.B73723.172858186626173 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73723
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Drew Adams <drew.adams@HIDDEN>
Cc: Phil Sainty <psainty@HIDDEN>, "73723 <at> debbugs.gnu.org" <73723 <at> debbugs.gnu.org>
Received: via spool by 73723-submit <at> debbugs.gnu.org id=B73723.172858186626173
          (code B ref 73723); Thu, 10 Oct 2024 17:38:02 +0000
Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 17:37:46 +0000
Received: from localhost ([127.0.0.1]:60433 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1syx6g-0006o4-3f
	for submit <at> debbugs.gnu.org; Thu, 10 Oct 2024 13:37:46 -0400
Received: from relay1-d.mail.gandi.net ([217.70.183.193]:57287)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1syx6e-0006nq-Lj
 for 73723 <at> debbugs.gnu.org; Thu, 10 Oct 2024 13:37:45 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id EEEA2240002;
 Thu, 10 Oct 2024 17:37:04 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
In-Reply-To: <DS7PR10MB52323ECFB6193E37B99AAD00F3782@HIDDEN>
 (Drew Adams's message of "Thu, 10 Oct 2024 16:58:10 +0000")
Organization: LINKOV.NET
References: <194a0202fd0c9b752d2f6e4f3ff642d8@HIDDEN>
 <86a5fc5uq6.fsf@HIDDEN>
 <DS7PR10MB52323ECFB6193E37B99AAD00F3782@HIDDEN>
Date: Thu, 10 Oct 2024 20:35:39 +0300
Message-ID: <86cyk7zx7w.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> It allows exiting Isearch with 'S-RET' that activates
>> the region on the current match.  This allows using
>> the standard keys afterwards: 'M-w' to copy the match,
>> 'C-w' to kill the match, etc.
>
> FWIW, in isearch+.el I define `isearchp-kill-ring-save'
> and bind it to `M-w'.
> This has been the case since 2013.
>
> (defun isearchp-kill-ring-save () ; Bound to `M-w' in `isearch-mode-map'.
>   "Copy the current search string to the kill ring."
>   (interactive)
>   (kill-new isearch-string)
>   (let ((message-log-max  nil)) (message "Copied search string as kill"))
>   (sit-for 1)
>   (isearch-update))

Since `M-w' can't be used according to the comments in
https://old.reddit.com/r/emacs/comments/1fzvwig/copy_search_string_to_killring/
what remains is `M-s M-w'.

OTOH, `S-RET M-w' is shorter than `M-s M-w RET'.
But since `S-RET' is not available on text terminals
what remains is still `M-s M-w RET' or `M-s RET M-w'.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#73723: 31.0.50; Add copy/kill/mark commands to isearch
Resent-From: Drew Adams <drew.adams@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 10 Oct 2024 18:21:02 +0000
Resent-Message-ID: <handler.73723.B73723.17285844352716 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73723
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Juri Linkov <juri@HIDDEN>
Cc: Phil Sainty <psainty@HIDDEN>, "73723 <at> debbugs.gnu.org" <73723 <at> debbugs.gnu.org>
Received: via spool by 73723-submit <at> debbugs.gnu.org id=B73723.17285844352716
          (code B ref 73723); Thu, 10 Oct 2024 18:21:02 +0000
Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 18:20:35 +0000
Received: from localhost ([127.0.0.1]:60506 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1syxm6-0000hi-QH
	for submit <at> debbugs.gnu.org; Thu, 10 Oct 2024 14:20:35 -0400
Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:33346)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1syxm4-0000hW-CT
 for 73723 <at> debbugs.gnu.org; Thu, 10 Oct 2024 14:20:33 -0400
Received: from pps.filterd (m0333520.ppops.net [127.0.0.1])
 by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49AHtaI9029321;
 Thu, 10 Oct 2024 18:20:19 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=cc
 :content-transfer-encoding:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to; s=
 corp-2023-11-20; bh=OstdvxyIvJDwbcXi/FDPgK8AIKCT0hE+KiSQRI61JEE=; b=
 fiDTkpuZ8ZdrIUOELUHPcpmQWg7plhy2JzlJEvPpqgiEwkIuEx3TXmk72O4wMBZW
 S/zTR4xgh9cTm0ScICCw5EW+RPF0tkK1rJmp4byce83gdpbGYVu0CijJgK+JSWM5
 1JxeELb6rO8rWwGKZoLYRP66vNpSIsni/yCXLtrInqbCwgeKO6uisck59tJfegV1
 CaCam5/KwL0I4HtMtPIBNhPqsNWftzhzRc69dsxsTyUjlUrehLDFbn+ZHHjimAj3
 Lo++Gdnru6O0L6gZ6IOuHRmkOMbJvskT9ntgxytbqw5oKC50QXvdhIJBB7Pl7onE
 bG5ym5iZDn527newfmFqyQ==
Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com
 (phxpaimrmta03.appoci.oracle.com [138.1.37.129])
 by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 423034ut6r-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 10 Oct 2024 18:20:19 +0000 (GMT)
Received: from pps.filterd
 (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1])
 by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.18.1.2/8.18.1.2)
 with ESMTP id 49AHGXvp009072; Thu, 10 Oct 2024 18:20:18 GMT
Received: from nam04-bn8-obe.outbound.protection.outlook.com
 (mail-bn8nam04lp2043.outbound.protection.outlook.com [104.47.74.43])
 by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id
 422uwadawk-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 10 Oct 2024 18:20:18 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=KwoW8sHtiYbMqtrkhEBjlTXupkI+PcK9lu86or8CPlac67SrRca/rAbEC7t4IfH0u8GY1rBcx+bjH16BSi7afDLWBFWfONiw/Qr/HUbf7Q3c3/3YpJ+fH5i+OVFYK0VaO4dDyvKCGjrNzyB/MgggQvq2ImY6c0eLsMIcKiiaxjx8HOxxYs0WRmLoOTMbaLWiNelUSUIyGjL9b80GJv7kjpdXfWvWG2KyUIz0/M7nOyxNJ4d6EGQjdZQiM5g2S561l3zzGdzkk9UiKgQJ4n6sPx1aRJyUdIxhMVvCOHtYNUQj9PQW95Vt4kTCRJXvRM/8OxE83jHii3Bm0AEC9AEwPw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=OstdvxyIvJDwbcXi/FDPgK8AIKCT0hE+KiSQRI61JEE=;
 b=RLupU8/LehJSdyTK9wjgNomKQUw0p+pj9dXMr5kS6EgJlU9bOIdGiNlPZerg341OnRtFvdsOC1jl5Zqwcw2BaqA5/k0x2y7NutJS/HZOUiITCbMZmxpNfM7NCAt/JBlfkZMgbxD5gVU9hf/a9ye+6lK4Nj6nLtHg8lfMkDdijfzBBMQOTQ/Y9zfNx6+8wxrdf0pZ/xadImNZxfmiW3MwoeeGrevIIhmeb7elbLA9n0ZommkSRZ4BNqLYkley3vQPWInIVI7Ts5BVNghJ+Z6D6X3yJvZrh1z+2zu0DndRPWj9M1pB+UugHKNLu9FN3PrYVmvIWtwgr6qgl6iP5XUkzw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com;
 dkim=pass header.d=oracle.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=OstdvxyIvJDwbcXi/FDPgK8AIKCT0hE+KiSQRI61JEE=;
 b=dYw/ageSzVquNXGHRvdF8wirbFm5QNysCty/YI35mFvxpwBQLAdDZ95dDX0aB0QC6SXAeJMeHfwY9SiHaXe4kq1Mr6zdzyg4E33NnTaW88Tja/MvsFWSsM1fAQThK1GGIZRDYYNkwrAYkbxCkFy5ixLHdY9ONzb1WCHCDGreDW4=
Received: from DS7PR10MB5232.namprd10.prod.outlook.com (2603:10b6:5:3aa::24)
 by PH0PR10MB5871.namprd10.prod.outlook.com (2603:10b6:510:149::8) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.23; Thu, 10 Oct
 2024 18:20:15 +0000
Received: from DS7PR10MB5232.namprd10.prod.outlook.com
 ([fe80::8303:658f:14f8:2324]) by DS7PR10MB5232.namprd10.prod.outlook.com
 ([fe80::8303:658f:14f8:2324%4]) with mapi id 15.20.8048.017; Thu, 10 Oct 2024
 18:20:15 +0000
From: Drew Adams <drew.adams@HIDDEN>
Thread-Topic: [External] : bug#73723: 31.0.50; Add copy/kill/mark commands to
 isearch
Thread-Index: AQHbGzsdtrMtgjzYEUqCFQS7AUI4FLKAQJSQ
Date: Thu, 10 Oct 2024 18:20:15 +0000
Message-ID: <DS7PR10MB52327ED8230372CEB9CA1EEBF3782@HIDDEN>
References: <194a0202fd0c9b752d2f6e4f3ff642d8@HIDDEN>
 <86a5fc5uq6.fsf@HIDDEN>
 <DS7PR10MB52323ECFB6193E37B99AAD00F3782@HIDDEN>
 <86cyk7zx7w.fsf@HIDDEN>
In-Reply-To: <86cyk7zx7w.fsf@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: DS7PR10MB5232:EE_|PH0PR10MB5871:EE_
x-ms-office365-filtering-correlation-id: ae008c9a-f255-4b6a-cd57-08dce9583021
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0; ARA:13230040|376014|1800799024|366016|38070700018;
x-microsoft-antispam-message-info: jJeoOo1qsRoNSwNUY90iAtCxp1+qW+Wwxn/nIXEAA7N3DyLby1H4e3DqQeow+via2bpnkjkbgRUfX+SHb0xUjLn6s3/xkKB9SRZ2qV3EN3BWkULINJ5ZUe+gkm9IPz7VDCTPw8y5ZmP4KqTdbyHIY5wrV4OlegAWllNiOfQQdHmiEcHmtJo3VYxOofRAzUtf7ABM1y6HkuAlZrJXgdwKIsDAlYx80Q3QJbVuSktlUWY6CLoKf6A7XX1OGzGIF9yOO0KT6xYFLZDxQDH817oy3/Kx2/B5jyxNSoeHwF09oZWgMJ1ivkeFJToPilx2TfdqHAm0kjPfOSKeKyW4itLSvzMtWsGlFLeOw4pRaQkvcyKSeDxWscI2rVykjpCFWp/JfBISeYPB9wMAXl1z+wErUUBSCs/jvPmvlrqm5+35Jyn1JAelHxe9Tj3WakAhfO3Q7lJHVe49ZSqJVnAtd/AdVgfbjgYI/g0BCMPIfaZ2oqouwbiWOX0ovpsrbV0A1TrYJEDJD7CxCfz9bkIYFiFXOnOrJX4vIpl6ElFY6/+aIGW9Ix0IigOAnoYl4vP8e9rOz0KgjlvqQeNhgYeNLXrV/z9rhW9wTDM0rR2TJb9zBxlCq4kFgx0lSVRmeFPXexrXobFN9wRdnHdZX1y8PVsJZpORKXXV1rEWUtYFaEtMqA03NxPTB90OFmiKmRepC5vJwjkNnhCQJfT9cK/lrXle6y0PEiEdXs4DBb/sFLVsyyfHS7gkY/fdFYD3YRCHwaee92Wy7IjaRWw1rdAL9DWKl1vkXP0f73+1T6qTd5U8zHSxZ0GdFlwsmXp/vHvSQVF2YqYGjHLa1JjdT/VoEKJGjeyp7QL78YSuHSv5xB1cHiUznjxBLLpTCZVDAGZs/ulmfHy62PBwMdi1q2kliUidedhaffSFO3c2zcDJHWYIAyiNR65RFdNUt9YbEBeqxwiUq9HLcipb1n1zw+h5pZ6/zEhOaDnwZXCxiigpZwkbb1yInXSukvpXHazrPeVSlSuBwqD+FHZkl/1Lxt6qUoQuxNUpyUA3fqn+9Bji+9hajyFN/3LQmur5xc1YB3P9boKF7u7Jk+qK8CjE7LgyU+jUeaJLThJMLMJzcHi/ejcZOeoO/fsxhYf4SQpfIa1N5eLDEwgXhqYiXXEHye5VXizI0Tynty7Inni7HKKMsRDg/qK188dciZI89xhS45uwVXXcpBwhhYrQp4mXnTSAjmHxI8JQBpwXijE9Uu6bURFtwapUKHO2DHuHzF5iIHzvA2Yv9QM3EJ9jf/uXm1rv9XCWDw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:DS7PR10MB5232.namprd10.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(13230040)(376014)(1800799024)(366016)(38070700018); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: dS86/EH4gHeSgSm/veipE4PIZw5Rw5Gcw+UDAaT5U8pyFnoHVMnxysqMko6KLLCwrIAXB6bQTK5pJXszbVww8uTJeJpJhpyr8AcZazYZm/OGCUR8YprBRVfvBBf+vztIzc7aZt55tB5Cxm7eGBeTUodINWzqsyNJTlN3F3DHfbzmT2+g7aGDJt4wKZP5mQQG9vCGsrOdaHnT+k02mfbnwPBOEQ2xZfCbuhW8BMx7UNAOi80kUP+KuLvl0UnqowJi9zAh6Gk/sWbWhy5GPSIzNe0nOmTQeGpEb9jFFdyXCSjPPtna8Sj0Ol5bPqrE2OquXmF0IS1+dUFfG9p+Ar4ShKV/11yoRx6M7uQTOYdXjQ0yzLH4S5q0TLmYEW3nZct7tD8aTf/2kEiy1qwt75OsCohTfuuvPd1FnI4ejWIPg+uIgYWRJqJQEIovGoneg5rpg8VIUB4m7t6CtdCTpXAGrILvqi+1c8o+wkw5/yO6LFrWBKEIOy6R8ZXbFXXi1MzuSgOkNS/3I0wJDJNlnh9twaNimkzehDulihtpvf+/P0DOz4OKoBD19YOeymnJetAxDEEeL2ELsY9I8GU6TSkeYR7m4JywNwOvVs/2hjRfdx26W4lRMVuizMKR2AwOA73kfy1ukmlXe9sw2I0lplX0Sp44eoHUK1YidF08sCnwE/EaPzG1intAkXYfwjIEy7240Hudo3C6eCxRl7KTu6K074B2nx+xo/NfyjdV3h1vNHTYlaOWUApdJUUwtm7Axdh7jB3gR3hkQBvDjOF4Px5EyQBAy19mtyyAyGS2H8Q3stbVYmcagOGuqVNEDAGCTRCi+xtFMzjq48QZAS+ZpwGb1aGvnVs/O0TR/uUGCGJGsT57mwQQM7sIm42wqAkc6QBsBl9GEuf1SuW+mFgvrgdSJG99dzhwc2tV3hYn15SMoFLT3V0Xv9U1uZWqp5EOXf+ZFC3mNn5na+YTJdwXqyly/nushMwb/UpgY3Z2ZNlYeXVmbrEdvsxnYilOfr8t6uUMJiANNwWnTn3EQ+Yieyy+xDiFr0L+Q8SY9Pz8m9n1QMxvr3ua0URUjtZ5Lc1uKdTf1RS8fEkrnUEj2E3K81gp8tomDLheoMJvfO6Cwo8MJEjqkLAfou51PrTYN10ZPcrynioj84wnAfitIGLigNgqHfVxHBrMNjhD1TWLMss3yZTy2uAy+XuunfAfl5+yQQR2gtTK+4jCceWu0Ri28VqayDkCNj6VQpo4EMPFnjC5ynYToxlDLZonqLMUDqCd7T7JV1/rVSiUS8CPPdQuLYT9HzG9xRS24WiulC9np9qfPJFpnkML7JFf+mHB5mmgkk1rivyNfBCE6rK/3n4a9gNu2KHBc7ocApQJKSO0sInPASV0nJ11qFg8T8fd0TeH9evABPP4eKcN1A50sfKAoOoUgurfDyvhohzCBo8IfBH3E7pTYaKTojCRHPZ1sFnLAWwuq1av7812DXI5hHjLn6WlT8oKzPIbePTJ40NllPfLo/iAwfvH9HYxOc9nnMfEffhr/P9+flgIesddOe3AZReGCoyTcJc1iQKqMDmd+OBmwvFJV7maDP68OQxRvtf59/3U
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: GBCxswdbosvCXfdVMz3GO2dpbbDrtJZjpIOWGWydu6OWssMpjYsPbI2cPqQYfL9xagwQ9xY4GzJfI9gxYR4c2GKtWc2VRZcJepCoFtK4D4Xmdh9PbG1peM8ksZVnMeYJ3m+LIRunhlMN0Y0iWg13Cibzfu/oIjDGBIuSc24KzixSQS3S/7HD8irhRk4RP+1sTOvkAsi8nftzI8Dh9pRUt+k01Ql9Mjc7BjWN9e2g1uH+TUOgLxQPRfyvETxUcOMi56WKGb20uFTNgGxa6kR3VXEdmgsv69QYGu7v1qciErZXfs+5WZRU81HQoniaev+obapW4n9q1k1tnK287JihtR9bsdDiNPAp0Lf0mkRoowGvID95sXoIfHKVEMDKdHRkptxjXe13wY891/so+Q2g3jl+TZOU3i9x4cIoWTFVe4ziUjy6ItDbMGQF+6jXGtkOmSxCd+sXhsBuvPVncrU/111nOXbUsUY4J13QUP5z+wKtwKlJ7R7AW4XN49T1dnVbvojOjW7ShcEoELdcLFy9DpeGFB+LhKJ9/8zIKM8XGAMeb6CQ/mpRPMC1cO5Md+v/xSWUGb1KYp81EjHTEDwkwMH2Iwiw51+WAp4/Yy/D7e0=
X-OriginatorOrg: oracle.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DS7PR10MB5232.namprd10.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: ae008c9a-f255-4b6a-cd57-08dce9583021
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Oct 2024 18:20:15.3063 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 3Ckf/Eg+dh5zgjt24K0YibZqtYpk8jNlZv1C+Ks6mDzMO7+PKYjIosEnVtpuq2RrJtIuEzxNCjc1/HVWfloSeA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB5871
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.293,Aquarius:18.0.1051,Hydra:6.0.680,FMLib:17.12.62.30
 definitions=2024-10-10_13,2024-10-10_01,2024-09-30_01
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0
 adultscore=0 mlxscore=0
 spamscore=0 phishscore=0 bulkscore=0 suspectscore=0 mlxlogscore=999
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2409260000
 definitions=main-2410100121
X-Proofpoint-GUID: YQjCp6PXWfZE5eInHippW37L2XIpDJrp
X-Proofpoint-ORIG-GUID: YQjCp6PXWfZE5eInHippW37L2XIpDJrp
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> >> It allows exiting Isearch with 'S-RET' that activates
> >> the region on the current match.  This allows using
> >> the standard keys afterwards: 'M-w' to copy the match,
> >> 'C-w' to kill the match, etc.
> >
> > FWIW, in isearch+.el I define `isearchp-kill-ring-save'
> > and bind it to `M-w'.
> > This has been the case since 2013.
>=20
> Since `M-w' can't be used according to the comments in
> https://urldefense.com/v3/__https://old.reddit.com/r/emacs/comments/1fzv
> wig/copy_search_string_to_killring/__;!!ACWV5N9M2RV99hQ!L5HGxhm07QP4heBq
> z0oZG6Hs1DF2e5hty8aAHJG_sxr39y7pRCFJPoP2E_m9P8iyv-lGni4NgqrGZg$

I don't see anything there that says why `M-w' can't
be used.  What's the reason you think is given there?
Is it this?

  "I have muscle memory for pressing M-w to end the
   search and save the region from where point was
   before starting isearch to the location where the
   search string was found."

?

There are other ways to get the region to be from the
initial position to the end (if forward) or the start
(if backward) of the search match.

In any case, we are (should be) talking about default
key bindings (in `isearch-mode-map').  Both copying
the search match as a kill and setting the region to
origin-to-search-end are useful, and they can both have
default key bindings.  Which should be `M-w' by default
is something to decide.

You know what my recommendation is: copy the match.
IME, if someone wants to set the region from the initial
position they usually know that _before_ searching - in
which case it's enough to do `C-SPC' before searching.

* `M-w' _during_ search should copy the search match
because it can be done anytime _during_ a search.  It
can even be done multiple times _during_ a search, and
for the _same or different search patterns_.  It's a
very useful, versatile operation.

* `M-w' _after_ a search is something else, whether or
not you want to extend the region to initial position.

It makes no sense to use a key to set the region from
the initial position more than once during a search.
At most once per search is all you need, for that.

The question is whether to have a `isearch-mode-map'
key to _set the mark_ at the initial position (instead
of someone setting mark there before searching).

If we have such a key, then `M-w' _after_ the search
is just the _normal_ `M-w': `kill-ring-save'.  IOW,
we need not have a search-map key to set that region,
since that's done after searching (and once only).

To implement a command to _set mark_ at init position
during search we can always let-bind that position at
the outset, and then use it only when a user hits the
key to set the mark there (and that key shouldn't be
`M-w'.)

> what remains is `M-s M-w'.

Lots of possibilities remain.  But you might want to
use `M-s M-w' not for copying search matches but for
setting mark at the initial position.

Why?  See above: You only do that once, and you might
want to copy multiple (different) search matches to
the kill ring during the same search.  The key for
copying search matches should be `M-w' (IMO).




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#73723: 31.0.50; Add copy/kill/mark commands to isearch
Resent-From: Drew Adams <drew.adams@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 10 Oct 2024 18:32:02 +0000
Resent-Message-ID: <handler.73723.B73723.17285851064977 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73723
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Drew Adams <drew.adams@HIDDEN>, Juri Linkov <juri@HIDDEN>
Cc: Phil Sainty <psainty@HIDDEN>, "73723 <at> debbugs.gnu.org" <73723 <at> debbugs.gnu.org>
Received: via spool by 73723-submit <at> debbugs.gnu.org id=B73723.17285851064977
          (code B ref 73723); Thu, 10 Oct 2024 18:32:02 +0000
Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 18:31:46 +0000
Received: from localhost ([127.0.0.1]:60544 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1syxwv-0001I7-NF
	for submit <at> debbugs.gnu.org; Thu, 10 Oct 2024 14:31:46 -0400
Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:49404)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1syxwt-0001Hx-Qe
 for 73723 <at> debbugs.gnu.org; Thu, 10 Oct 2024 14:31:44 -0400
Received: from pps.filterd (m0333520.ppops.net [127.0.0.1])
 by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49AHtaZR029326;
 Thu, 10 Oct 2024 18:31:31 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=cc
 :content-transfer-encoding:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to; s=
 corp-2023-11-20; bh=PjNICxB2Ai2/8MZKtTsaWvAxTOfELq48GjcaUP06Df0=; b=
 HAiKyYOiXTu0aO2wRz09v0Bk3BSao+8MbzNI6racHYBa7jm0vaftcLgHR6OYt4VB
 hP+BycSQHcXzA8bMTzwIbXbEWj1/2T70+VWIPN0b7mcNzMJlPQJVkwMVOZa0YXAC
 J2FQSDXKptneMrGDxgyVWj/343HMdsVOXMrlH1ZHJ5C3GtDVu2Dkdv8zcZX5uZiN
 MvJ+Edo6FyuWstB7rDC4udD0O8jcvn0p00Xs+Bl53sVk5fUv17hIh83dJ2sbdnVm
 wj0Hpkqp43feJbPJulDsukhlr3zt+z7QL1+VEVSVxiId5jEKsRQWx3it+96DbVap
 7AbYqwQVTnad2Q7xegkunw==
Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com
 (phxpaimrmta02.appoci.oracle.com [147.154.114.232])
 by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 423034uu13-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 10 Oct 2024 18:31:31 +0000 (GMT)
Received: from pps.filterd
 (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1])
 by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.18.1.2/8.18.1.2)
 with ESMTP id 49AHGHQT027789; Thu, 10 Oct 2024 18:31:30 GMT
Received: from nam11-dm6-obe.outbound.protection.outlook.com
 (mail-dm6nam11lp2174.outbound.protection.outlook.com [104.47.57.174])
 by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id
 422uwaf314-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 10 Oct 2024 18:31:30 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=NF0St9t1MVa/gHpHfm2KRy20gSWsY32C7oC+1ZMpyz0rjwmh7k59lalEqT4eNxzXL6Mj8nSmxfYaAuZO9Ugj5m4UXEJJQvjtvaNgYhczbT1mYoOU14OCH7QJTZ72sYHSjD83HBupqK4dXtuUDTbZ+Kjkpct2ciOYci5Eei0HStsnGR6KEartrTw1dqj8yYGwc/V2xZzUKKafUba7FPMNETSHOkOpArusgixMX7/AsVk+j0EeCCadFQdRXR/RB1AAN1czLRDmfyeFDty+/hGyzHqxdpPXgRiZhrLLs1nkY11I6EWbtxrBmlRZx5LlMR+bbeTbYT28Fq8M1fQz+PDPmA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=PjNICxB2Ai2/8MZKtTsaWvAxTOfELq48GjcaUP06Df0=;
 b=xgxjiLEADQFjnQKdPzNGkKxgpskJButZsfvIgqZGZglVvO3BPmNiYxloU2g7ZjumXkAV1h1kBd9/N34+OYVCzV9Bo0N51/xpR5lnZvuBWMOajBaETpOjHC7llG6PCl1YgvmoTMRALba4LUArwaionuZ96e8NUoJeIcZH6F8N7S43Iekb24/VE0A3K4aReDqB4odX7HxTxYrBl+4BJ6BOh42jlnpIPREixN5Gik54HdGSLd3RF11BjRc4AffgmyoAiaA2X3+gpQ8oy7Ds9zPkCXOIkjPV9pih/SsfQ/ueug9k5aWsh1eNwds58uCZME/IrdDAOEH0G5ulqB11Gw37Pw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com;
 dkim=pass header.d=oracle.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=PjNICxB2Ai2/8MZKtTsaWvAxTOfELq48GjcaUP06Df0=;
 b=ieNiXYw2K/2CjpdujtPR7mYbhEps4MgJ8P/wFZQ23ZV0iLcARidRjZYdCo+nNwX/ETR5tSHEXeGjeU0JTv/hq1wrk7vl6oswHXtMjafWDgTg7GMKSO84oVCBTkvwBIYq9pcCcpTREW4IdylkDfkkohnUWy9UCfm+lbIaSO5wpO8=
Received: from DS7PR10MB5232.namprd10.prod.outlook.com (2603:10b6:5:3aa::24)
 by CO6PR10MB5618.namprd10.prod.outlook.com (2603:10b6:303:149::15) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.18; Thu, 10 Oct
 2024 18:31:27 +0000
Received: from DS7PR10MB5232.namprd10.prod.outlook.com
 ([fe80::8303:658f:14f8:2324]) by DS7PR10MB5232.namprd10.prod.outlook.com
 ([fe80::8303:658f:14f8:2324%4]) with mapi id 15.20.8048.017; Thu, 10 Oct 2024
 18:31:27 +0000
From: Drew Adams <drew.adams@HIDDEN>
Thread-Topic: [External] : bug#73723: 31.0.50; Add copy/kill/mark commands to
 isearch
Thread-Index: AQHbGzsdtrMtgjzYEUqCFQS7AUI4FLKAQJSQgAAMgmA=
Date: Thu, 10 Oct 2024 18:31:27 +0000
Message-ID: <DS7PR10MB52328ED87B179836E7658FD2F3782@HIDDEN>
References: <194a0202fd0c9b752d2f6e4f3ff642d8@HIDDEN>
 <86a5fc5uq6.fsf@HIDDEN>
 <DS7PR10MB52323ECFB6193E37B99AAD00F3782@HIDDEN>
 <86cyk7zx7w.fsf@HIDDEN>
 <DS7PR10MB52327ED8230372CEB9CA1EEBF3782@HIDDEN>
In-Reply-To: <DS7PR10MB52327ED8230372CEB9CA1EEBF3782@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: DS7PR10MB5232:EE_|CO6PR10MB5618:EE_
x-ms-office365-filtering-correlation-id: 54d635a0-b119-4e09-e60d-08dce959c07e
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0; ARA:13230040|376014|366016|1800799024|38070700018;
x-microsoft-antispam-message-info: AMw1k8PQu8F7q2Of2smgcJFS8iCApUREYUd5/UuErBoSH/SWG5YbkfHFcwIkSZzyX0u5l1Qu9xpcJah3wpmTRtUkNibK7+VBFUklgZkAf8QwXos/LccWmCKoVGnvTWwbFNjZYZypjPcZvm0P9V/TIDX/Q+7yY/ByiK8RiueEIFoE8EfoK/CaXL9TGnntz/zOh/w4LB4Wi/uUTIpeAchlwE4NmrEjBVW8hZ/AuzZPzCt7CCBpu/U+Bo9Icj95RuQqI/QFvcQP9jsmop1PsECzhGO/waeryDN+iCAcVdgYaaOKusp5eEdkWGvRbg5mDl7WY7vOFvWaLNb2ayIcR5bmFwqqY8pAh/rSoKxl6PsdBUdtxItfULrQeld4Ld5ELtw2sfotr0MfCED1c2rtkOEiR4Hxug6W5SJK2Dk9u9bM6btq5jw8n/929IqoMwY18X2zRD7xj7zT0a6RQNt/liMfi7lvs5fXt8OlrI8u+UcYrYhO4JTmH69XSlFam9+wJThLL7kxb80m2W9UYxxjcDXZZ0nyJpaMQHezgpTAiZf6eAp420ScCW+MQYXSSNCw9B81AmUWR4+wmEY32M1cU1xgu4VwNm3XgcheF1bgeOqqG54LLnu7qx1HTchTlTjEoeAzPhLVIiwgFjv/qzv3h8/J629FhUbY/Ed5ux2a9QDfGeOEn0UUdR+ccsdd6tF+VdCQc5ZcrruB+2VXloE5RaRNU8hr5VkPb68m6wxI0w/Ce/0boz9zhF4Z4GuVJFvGZ52Xv2KKsYpwS1/+c9w/WR7/+ynL9uR2zf7+QtopMgJ2jQdhFU2uRhEh1DcjrBpZ2nvhow827jsXREm1XuqKGQ5H8b7VCmp/j8dF4r6VaWlLiAO1yt4rtdl4xnAgwF7QKhQvax4fMf3le1EbJe0cKlE0pDbIAUQfD9WPmSmzoTAAR6wopntb+hjvY1hYHmFxF5PIT1BQLEcxvAHc8QNrG4lL1Fds7bcaEqrVDovJA1l5+JnY6CM3JEW399EbctyUC7+OTEMq+jb500JvFCVGL+lYa4CUdlQgt9Qw7xavwUb1JOmtzifN64FRLaid3dJ0cOv1nXhmyfmb1mnVrDremQqVGsLrxTZIv1B13l+gEttEmK7pjzvKVxjPIn5IuAevig+z4wJNLvE52IaeOODm+BLIgBb6zbG+mPl362wjuXc5xPuteD6tat4E6QbGVXMJXsn5gu6ij79YQyNyK2bpsjvCbWPVPGvJFwaxW3auUPiZEzX2zGbskhlb/Tm6PRNKW6MU01f2jA7nBK/oBAyBC09cpNlLAiZeN+b4wCDoT6xd8keB+7PUJRGq7gk0bZN+nqD1hR6PW8iH0bSGiC3oELwHVg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:DS7PR10MB5232.namprd10.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(13230040)(376014)(366016)(1800799024)(38070700018); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 2DtR/Cc5Oabjf/agy2kmgSufAuXIEpZ1cKTelQMF9inLgQNCKva3PcWktCIruh8zRBs1/vCZGX4CSd8cwVVObLBBTsQZU3fz4PjXZENiCg5HJzT5KCtXe6V95NfaHpOSrloRChSO0AcIfKPULklnyCrHjhLx7KhTjaDHA/+Mz4UqI+1HFaVOkKwGANSFuGX4pDTobFgrsEtSuqaTWvfSfURX3+eUbSMowZ8D6iafS8o2nSxKoL9jGP/lKFgxldxbOVEOxtZQ7NVx7FYvTmHVMZCRWEvAZtEqQy+GDh1QE/VDXIzhYAleVCT7GDt68xg5iElj2RKyChvFeoKmF2Ls7WX9a8+87ijJDablnV2cwBGIfiHpin4gDHvvH6tw8UDMLBQaZ16wX4zwCpdJeURaZn3L4oaSd3mccKApmX81fcTDiICQGvwKk4O8U7uOfRWyZvnczUcxOEOoLpP+1mX6coZA8blS3jPM118SQA3aZgzoRB+MVd2ONdPhwggZLz1lzZ4+3y/WF42KJ7HHPq08/KCx1RMLu9N0QH6xYPpbzB8sJR+Ttg5ubmBkHykqj5T+OuKyT58K+p+J2BY5ATbWC0HIL+ibu6wX3vNYnySZ/tGYurh69MZeahJOEpiwWtj0bM0ZNgKIMyelZB2MD5p6MdtB5cW/GtepyuxYaRohoYrKrWTFrX/T/SevzZTK2mikYQp8RKy+T6HPD0fCUSOtmS6y6W4Fqx3vBEFHQnW6il2SP2Jqq5zizJ/aFgdsF1HakTu0BU/F2zZFaNoqzcuPO1QrvXIfe6sidTnsIHsLWKAgrAAH2Fkb04S8CBVn7wGgJVEfcOIg17G57WC9Gxsxkcurv+vyA7Iw87nbejfVq9u2tWN+YG2bs8/EOSk/ZC7298AWugXIUtIDsG4t62aykxxVzyIU2KG8dL30z7wYxu8vys20DmrMOFAGhtZD9BcLMMZtlF3V7s83MZgQmbb52yHDR9Kco3lejW+F+HMtqq3i9nh8KGmpu+BdWrgbYky9jXMAzAxVYnVsrVyn+qNWov39YWA+CuoEjHK/EjG8dcQBOOaCapk5RWjPPaYQkYE0OtML1VMFb2BdebyH6qGZ+3z9d2dAA+NwwLbGCa7Jyjxh1HQ1Qh/25CQfDl8R4qyQEIeQeGijfxwd9j3sHPY03scOwCMpHn+UbSSv1R4n4EXk8TxJnQM/8SZwGm98YaVrCL3287ukp2l+qKybw2WFD8fGX4HSK11x3xKRwfQiH2Gjv6rMeqL7XfCvvIGOhi6IOTJNAFS1w7UifZ3dYfaYXesRNAw9+FUkgZGJ8eKynWaUUbs9eUA03CS3z1IgfBV2REeZL87KAWYdob8qjbuuRO3OYC42IUuxQWBNY5c5I8PT7Q/a0coLTUPJPmrxaza8SSCsXGdujki0GjksRcBF7uZ2rB3kE+J8W6c5OQh0TSWxXc2NjGMWUDLM92Tgg84AtccRppToRzU7/otCtMQM2KbupzxesKQtj+VVvuaP2k2kC7a617f9kPD7Sogn5ypLUzDPoy59j+5U06iOQF/RHSHeX0bauZb9YkRRC6+jlxLOX8V3CSc54u9CRjAnLO4n
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: 3UYWafhrLkLg7tyizFXCB0uxI5oeWkoNwSCpa05ppFmaz+T3fmLlL3ZsIZgoIxdfZ4t1KT37uRq/xVj80QQuuqBqo+ZU7jWL5FQnS6UxgZrH+r/dS/f4l9xCnlRYAmiJaPpmBQGyq2UwPq1G1f/vmtw1OlMHI8rfkaC+w8WuwJXUdOuBKL10cUESqNwq6yyj/yE0NBiLhj0LPbx24Pd/yjkbIDGxEXuVQefUarDeQLPwN0jMGrurVC6nWXuYpdHh1Y2ebVE+BZ2VHxsl8UWEQ8ICZSDR0Uq30+oINYtfa5gVl7T83C9C/ju06rzLBR50tEGqyclGLpVyRAyHBHod710+Z+bjMcujOcyrtp6oIyxL1QVwyDQrxuHmKR1JWyBPl6zCr93UklzLG0EevuumI6VmF0u6QwldEdBES3HMpM7CpH9MGX7thzyMWm+XCd/7/z8GLFiYWbVvF4KchdhcMtnZ7gRuRYW6xabQdjpIsQlhosko8PhmZzRFRFqFlvr6E/rHIJAlfcq3NWOEQFcIvzOHCHLRWhYZBGvXH5jlIMV4rW/0KKU7cWglRgmny3YWY7hY0ki4a3bkQ4/vSnB/boAEeFRCG01lg6Iy6P+XPic=
X-OriginatorOrg: oracle.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DS7PR10MB5232.namprd10.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 54d635a0-b119-4e09-e60d-08dce959c07e
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Oct 2024 18:31:27.0367 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: v1JJX7gY5R+q/49f7jfzOfTABGlwQ3wBYvaYvOT8SGxHy29/Y5Q4LLUiNo0vA9MUppLYuXz76AwY0+IYXl/+lA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR10MB5618
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.293,Aquarius:18.0.1051,Hydra:6.0.680,FMLib:17.12.62.30
 definitions=2024-10-10_13,2024-10-10_01,2024-09-30_01
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0
 malwarescore=0
 mlxlogscore=999 mlxscore=0 suspectscore=0 adultscore=0 phishscore=0
 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.12.0-2409260000 definitions=main-2410100122
X-Proofpoint-GUID: vzexsng6J1EAXe1K6-rC-G8tV4dqRvQ3
X-Proofpoint-ORIG-GUID: vzexsng6J1EAXe1K6-rC-G8tV4dqRvQ3
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Sorry, I misspoke.  I was thinking that my `M-w'
copies the current search _match_, but it copies
the search string (input pattern), `isearch-string'.

The argument that it's better to use `M-w' during
search for that because you can use it multiple
times still holds, but only because you can change
the search pattern (during search) - not _also_
because the same pattern can match different text.

It probably makes sense to also have a command
that copies the current search match.  And maybe
that's the best candidate for `M-w' (not a command
that copies `isearch-string').




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#73723: 31.0.50; Add copy/kill/mark commands to isearch
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 10 Oct 2024 18:44:01 +0000
Resent-Message-ID: <handler.73723.B73723.17285858037157 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73723
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Drew Adams <drew.adams@HIDDEN>
Cc: Phil Sainty <psainty@HIDDEN>, "73723 <at> debbugs.gnu.org" <73723 <at> debbugs.gnu.org>
Received: via spool by 73723-submit <at> debbugs.gnu.org id=B73723.17285858037157
          (code B ref 73723); Thu, 10 Oct 2024 18:44:01 +0000
Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 18:43:23 +0000
Received: from localhost ([127.0.0.1]:60568 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1syy8B-0001rN-Fi
	for submit <at> debbugs.gnu.org; Thu, 10 Oct 2024 14:43:23 -0400
Received: from relay8-d.mail.gandi.net ([217.70.183.201]:47033)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1syy89-0001r8-3s
 for 73723 <at> debbugs.gnu.org; Thu, 10 Oct 2024 14:43:22 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 5707D1BF206;
 Thu, 10 Oct 2024 18:43:00 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
In-Reply-To: <DS7PR10MB52328ED87B179836E7658FD2F3782@HIDDEN>
 (Drew Adams's message of "Thu, 10 Oct 2024 18:31:27 +0000")
Organization: LINKOV.NET
References: <194a0202fd0c9b752d2f6e4f3ff642d8@HIDDEN>
 <86a5fc5uq6.fsf@HIDDEN>
 <DS7PR10MB52323ECFB6193E37B99AAD00F3782@HIDDEN>
 <86cyk7zx7w.fsf@HIDDEN>
 <DS7PR10MB52327ED8230372CEB9CA1EEBF3782@HIDDEN>
 <DS7PR10MB52328ED87B179836E7658FD2F3782@HIDDEN>
Date: Thu, 10 Oct 2024 21:41:49 +0300
Message-ID: <86ttdjx0k2.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> Sorry, I misspoke.  I was thinking that my `M-w'
> copies the current search _match_, but it copies
> the search string (input pattern), `isearch-string'.

But it's easy to copy the search string with just
'M-e C-a C-k'.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#73723: 31.0.50; Add copy/kill/mark commands to isearch
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 10 Oct 2024 18:44:02 +0000
Resent-Message-ID: <handler.73723.B73723.17285858197189 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73723
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Drew Adams <drew.adams@HIDDEN>
Cc: Phil Sainty <psainty@HIDDEN>, "73723 <at> debbugs.gnu.org" <73723 <at> debbugs.gnu.org>
Received: via spool by 73723-submit <at> debbugs.gnu.org id=B73723.17285858197189
          (code B ref 73723); Thu, 10 Oct 2024 18:44:02 +0000
Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 18:43:39 +0000
Received: from localhost ([127.0.0.1]:60571 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1syy8Q-0001rt-QT
	for submit <at> debbugs.gnu.org; Thu, 10 Oct 2024 14:43:39 -0400
Received: from relay5-d.mail.gandi.net ([217.70.183.197]:48499)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1syy8P-0001rd-5k
 for 73723 <at> debbugs.gnu.org; Thu, 10 Oct 2024 14:43:38 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 09A211C0004;
 Thu, 10 Oct 2024 18:42:56 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
In-Reply-To: <DS7PR10MB52327ED8230372CEB9CA1EEBF3782@HIDDEN>
 (Drew Adams's message of "Thu, 10 Oct 2024 18:20:15 +0000")
Organization: LINKOV.NET
References: <194a0202fd0c9b752d2f6e4f3ff642d8@HIDDEN>
 <86a5fc5uq6.fsf@HIDDEN>
 <DS7PR10MB52323ECFB6193E37B99AAD00F3782@HIDDEN>
 <86cyk7zx7w.fsf@HIDDEN>
 <DS7PR10MB52327ED8230372CEB9CA1EEBF3782@HIDDEN>
Date: Thu, 10 Oct 2024 21:40:15 +0300
Message-ID: <864j5jyf74.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> > FWIW, in isearch+.el I define `isearchp-kill-ring-save'
>> > and bind it to `M-w'.
>> > This has been the case since 2013.
>> 
>> Since `M-w' can't be used according to the comments in
>> https://urldefense.com/v3/__https://old.reddit.com/r/emacs/comments/1fzv
>> wig/copy_search_string_to_killring/__;!!ACWV5N9M2RV99hQ!L5HGxhm07QP4heBq
>> z0oZG6Hs1DF2e5hty8aAHJG_sxr39y7pRCFJPoP2E_m9P8iyv-lGni4NgqrGZg$
>
> I don't see anything there that says why `M-w' can't
> be used.  What's the reason you think is given there?
> Is it this?
>
>   "I have muscle memory for pressing M-w to end the
>    search and save the region from where point was
>    before starting isearch to the location where the
>    search string was found."
>
> ?

Yes, I meant exactly this feedback.

> There are other ways to get the region to be from the
> initial position to the end (if forward) or the start
> (if backward) of the search match.

Like 'C-x C-x' etc.  But 'C-x C-x' can't activate the region
on the last match.  Therefore we need another key binding.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#73723: 31.0.50; Add copy/kill/mark commands to isearch
Resent-From: Drew Adams <drew.adams@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 10 Oct 2024 18:55:01 +0000
Resent-Message-ID: <handler.73723.B73723.17285864829271 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73723
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Juri Linkov <juri@HIDDEN>
Cc: Phil Sainty <psainty@HIDDEN>, "73723 <at> debbugs.gnu.org" <73723 <at> debbugs.gnu.org>
Received: via spool by 73723-submit <at> debbugs.gnu.org id=B73723.17285864829271
          (code B ref 73723); Thu, 10 Oct 2024 18:55:01 +0000
Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 18:54:42 +0000
Received: from localhost ([127.0.0.1]:60589 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1syyJ8-0002PT-DR
	for submit <at> debbugs.gnu.org; Thu, 10 Oct 2024 14:54:42 -0400
Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:25196)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1syyJ6-0002PH-69
 for 73723 <at> debbugs.gnu.org; Thu, 10 Oct 2024 14:54:41 -0400
Received: from pps.filterd (m0246629.ppops.net [127.0.0.1])
 by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49AHtdOo013526;
 Thu, 10 Oct 2024 18:54:27 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=cc
 :content-transfer-encoding:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to; s=
 corp-2023-11-20; bh=rUF2VPHddLpUj8zPtVYtizLODa1lYhbPReZJKzrmd18=; b=
 XhPJ0s739s0CZVNHabdfPbRPIcMwuiNqdtK5Rd4D1z7mNhqfsl9eU9dE1NIvGIPv
 oR5R7sypaRqNi+6lFIOtQsQ5onAtMEOrLdvSwAfrbjSSM+ZCFG6C9po5/a/mUqvo
 zErKp/sDYgTfTBJpNuLQvNzEImi5/hTlux0nLLhNwoUTizx1hN9CtEfIR4woGGnr
 uP0KEyqIPW5+Ct4jIFLI2QnUQqypSOuHjzy9/I+8BCkuXCZYl8bkv4fhacsJmPow
 ebAXRLxRCrycu5B4dHvT+PEDWbrI0exIv15hNOY9e3ef1AJkfwhhX07v1W4Ntn42
 1GQ1CMGiB0jElQPLyYU0LA==
Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com
 (phxpaimrmta01.appoci.oracle.com [138.1.114.2])
 by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 42302pkav5-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 10 Oct 2024 18:54:27 +0000 (GMT)
Received: from pps.filterd
 (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1])
 by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.18.1.2/8.18.1.2)
 with ESMTP id 49AIqHBr034315; Thu, 10 Oct 2024 18:54:26 GMT
Received: from nam11-co1-obe.outbound.protection.outlook.com
 (mail-co1nam11lp2169.outbound.protection.outlook.com [104.47.56.169])
 by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id
 422uwaf54d-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 10 Oct 2024 18:54:26 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=hAers9I37hwxjnTIiNKswy7j2secC/rp1p2nD6fJm47AFZTMIMerPffmP/mlwoeu8QVmsFMPCLhuHyiDxFb+ZWr1s7IDR9COP6ViZrLRbZ73j+XXl3j9vAii6K15hi/sesVgaKdfwhMi9tqzxHuB58BtA5SUv+ViHMKo3S5Okh8taXSCkRVp78mMMV8xhWXLBDT6uuH5bP3UYHIhiX1d6wmZy27tZz5W9uc1K8N7AZM0I1nbd3BYynUrbOOPjm5Nw/yz56SVwa8IDCEJFD9ybS621UcYYNfPhQJH3gwOLvst8NtQyZPxTB45MWkHrJ0dC9jrCSNkw2PRjRl6Lsk8UQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=rUF2VPHddLpUj8zPtVYtizLODa1lYhbPReZJKzrmd18=;
 b=t+UPdJUw0BfBTn8+A2QIVz7e1RNwmjDY6X8HyVOax3BWkIt0DRIb+Wq9zaUI1TPQBrIzGkkVLqMMYku6XLaEjc1cXlyf+Z52ywSYe0SL3cluI311DKbg9Q09SNEWWEYnjPZ1AX6V4WD3UN1dsrYrotOi/djcf7tEZij7qTmzL/EmoSPA/qbM41eQ9H+swLVXnLFPwMypY8wNom/Nz6r1ETmqr8uMhExpxFEBNcarcjJoajuNPZlu3XNJhghtg26my3YJAohKCf8faXjxr6hPxrwv4dnz5W2w9oWI3xWhCEQ8OerPakrLbULNRtQYpbJY2k68VymblJZ1Uxtos1MRCQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com;
 dkim=pass header.d=oracle.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=rUF2VPHddLpUj8zPtVYtizLODa1lYhbPReZJKzrmd18=;
 b=rQr78daPrkIPq/pMSaDhX93fhiF+erQGtCQaza77GRQTNaCcWjvDKDJtJ4ewzj0q8nyHVooc8043ahMpoC6pK/opvgbBo3v7nrhyeNh5/MbMxTqaDkRM5y2uU/GvRaSD39jyZ2epuI4gM5k/re0FZMFu8EMbEqv3yY/YsAHGCxE=
Received: from DS7PR10MB5232.namprd10.prod.outlook.com (2603:10b6:5:3aa::24)
 by SN7PR10MB6499.namprd10.prod.outlook.com (2603:10b6:806:2a6::7) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.18; Thu, 10 Oct
 2024 18:54:24 +0000
Received: from DS7PR10MB5232.namprd10.prod.outlook.com
 ([fe80::8303:658f:14f8:2324]) by DS7PR10MB5232.namprd10.prod.outlook.com
 ([fe80::8303:658f:14f8:2324%4]) with mapi id 15.20.8048.017; Thu, 10 Oct 2024
 18:54:24 +0000
From: Drew Adams <drew.adams@HIDDEN>
Thread-Topic: [External] : bug#73723: 31.0.50; Add copy/kill/mark commands to
 isearch
Thread-Index: AQHbG0QQI8HM1MafH0mdb/61a4Vsz7KAU8cA
Date: Thu, 10 Oct 2024 18:54:24 +0000
Message-ID: <DS7PR10MB52329D16E5966ABE2E639D46F3782@HIDDEN>
References: <194a0202fd0c9b752d2f6e4f3ff642d8@HIDDEN>
 <86a5fc5uq6.fsf@HIDDEN>
 <DS7PR10MB52323ECFB6193E37B99AAD00F3782@HIDDEN>
 <86cyk7zx7w.fsf@HIDDEN>
 <DS7PR10MB52327ED8230372CEB9CA1EEBF3782@HIDDEN>
 <DS7PR10MB52328ED87B179836E7658FD2F3782@HIDDEN>
 <86ttdjx0k2.fsf@HIDDEN>
In-Reply-To: <86ttdjx0k2.fsf@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: DS7PR10MB5232:EE_|SN7PR10MB6499:EE_
x-ms-office365-filtering-correlation-id: 8f423945-43aa-48cd-ffa7-08dce95cf544
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|376014|366016|38070700018;
x-microsoft-antispam-message-info: P35wYInkjR68q+Wj5ks6s/DPTYTJq64GBOr5luYT2ZZZNzwOxGubL6Z7WPVuFZTKdFVLfzFqX4hpJRNuB5XHSkzjXgkvQKXXq9x8MdXzrW97r4yLz5PEZLc28IPnGi4nmYjC2zGaMlnji0tP6uuhKPWUYcVioVdbWWJOuFTOJBQVFUvTTvXXTNw5dTS/ebTyeCYX5n5krj/EFOrzie22ziLVkmoGUIln5WSab1bPpXuNbXyh60AXMiqSJXtm2RAMCfvJBZ30pCfmCaTiFNh3iSeRbzlRtlsaUgbFJaXR0aO3WNpA4uMvERK6gdzPRg3eHicYJbWAv6X0JruovwqNpNSSYsdQVjhgm8q2z22XA+NxvfVDVimHTyIapT+FrkVuxX+KRFO+1iYP6/4E3K9lwiC5D3Wtlc1ar+vWFZJe/e/lTl5E1uI6dY9Cfx/GwKvKfzJYlJ3JLLhA2N4oNMXO2b02xu8/nkUAi1gEzv3K1D+4jWNDQurs6PIyT3zxSv+tqJi8aP6cPXLi+9UHXCZIKbjTk9q8jBxVMgePR5D84g1NJdVJIjgrUi+wAwJhDmXrjz0AknFcSMxFadYFBnMtLR5l49Nc4SOhiNug5gDG/AqhpBRCY2sLZpTENzSfTLJn4iFoFklIwR684wBQnaintSNiOjkMRPGtBRDL8BP6U5S+sHMseLcE3DyLYzZzZ5KCcYETS2WEbqWaJ5fRKEE+sGGLUaLtpOSIe2fmv471U8P+x7elF3o7edAKUevvZ426FczDZDvhIE1jLRk2EsxFfTa1AaDqCGBFaRFz2DsJi5n9SfpxXLpQ9PGF+sBcYbVx9qRdPp2KHQyAU3az195DaR7ILZP5RXI/4Rbh32vCeT36FG1XVHC5VKrhrzlAT94foALl+Rq4kHpI0lEuYBnWf9qXvILMlYD99dN86WwDjProqvM4NZAFFnWHCzaMSh6MFtvFZBt3qZnN0klzMjW3UZkXZHVUq+MwJ7GoEbmAwiesKZlVGCQMWoHBSTpqfsLtiLpNeyYjvlJNRPe2a6HtIAmYPYYCheNY4JGdDsFHsU7m+H1WJsYVLPgRKJ/S7m8gCySW5Bmev5qB0IRBAehcSI/y5QRkcRvpX1dto6FcsLNX5eAn9GCc5Do2W9aIrxXmhqSlOLyqG0gXWJsw1dHSNmYQmAMl8IlES2hfrm/vn6QMfS4/n6mgwbfkKC7BOJYr7fAIGTiQ7q+uJk8BPX5NSRAxMXs/Q4OGX7omDsoowI17LmgxAiq8EyPGNqCsXRuJS4Lkz5L95r/kfLWeUn32mMIKcE5uuuHvfYReAiRdjCHrTZmXxBSSXMaQoOfrLWlFVQ7cVknOQ//MGyjlg/2z1w==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:DS7PR10MB5232.namprd10.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(13230040)(1800799024)(376014)(366016)(38070700018); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 6C7fGPl/M7OHoUlN9xeSf0LKvoxz9phVMN358kNU+QsPKlLMf6atVlUiTKT/hs1Uc9ADnhBazkhE9a1hipAUtH8jJoXcMlIXj0DLsPKKd71o63JW0wZeRJqu63YVPv/lXeERKybzgNTGvG7X5ohV9Qxa03xTj9SaNvTVJH/UJe6h5ze5oLFIpZCcJU4mb5MN7WWEhkCgzGvrLzjFkqNfQxHVql/hVBHHKhQZRkwZBSwJBgA2Jrob7ejmzqFGPPTHJqpFQ+1PW57/sXVHKvIuc6opb964XESTuDKxYKp9EQa6YAr5o2tCz/LLtz3U+TUgeob3TGfIgiSw9H2mbpt+5JEFkXK/3W7eryGLeTF+OvscZZOyDonrZ2CG9esH4/kIX4uqmEXcxL1DSN5M0rkpmfH+1yHQC9lUlfGfadA/YB3P6gb6noN9CltCMQkrf2qjRcJu3dhUOds3FmW4sMR4ALIJdJ5eeJvLI15nx++vbg1MGctgH/yO5UGFPXC83Om/8g2EkYiFbFych4WjCFvwnCdDMc9nT1PgudjJZ9l4hyq9INJ2PEL2EQiUln4Dv0kghR+IfRJRGxhjr3catt/NzKkv1MNypMlvE9byzOF2nZB3YxfKSREjOCHqSdAiFSqW+2DS58QcbdYOB2kzkmWeo9w2RnHL9LGntiYV7dGpBIEG/2WUeQ6HxXXjp3ZQziSfLQVJAfgzWngYy6rE6FDzbgXh0r4LcFtRdZ7wBAuJlv6+cH611MtUgGA/vxRKHuxOCPs0DHZJj16rp6r54FL11TwZ3vk8XDjRVnv0ZfhWvb4Tb8A8fk5AkRQAhuc7ivhwEcYtYwPVgNJzritUWtYlQ3/C56Q+PewF7TA9/NAVHQ6TyGs7V0AGF3hoEgWyMnWKTF7b2jR9REDSwhAHGDgdV8+HmDzid/G7GyRN1NMHW56+V5ekugaQuWKkxg+DlWJDGrFcb5t/kHYOXTB/xTzwJ2Ygg1fpZyUXeY1ksz+XWkDpoEIoIumNvmZANa4CNgcvJIYu95keLq2q9RMl2OcZW9d+1N+oedUpOG8JK40jjpkTapJYzdTdO5XBsV8M7+WhqV+98bVMHvisXpko8S+PhNLe87vIfI4oIBn3S3AsO58KHe8AJ6blmKw9C9h4FE4B5a73vRBX2pjDQjK0hW7zCA7fN8Ft9GdG6XYpPtAPYXoWnohkkF4gdoRoAxOxurJ6z1tPHefITO4qEwWIphhgNlqJ4AW1r94C/3+AUSFx5SiO3B1q+mIgYm4YcDja0jQnrgd827QboXaQ5rAg361+okMk45fEvhgK3lWyRR4nwNpzhS9Ymnk1QhfQt5FoTePS43jjSVqaQppyfRNokvfcAAsMrHqIFHapvDm2ZjX2geXU7ILAyZuHEyt2WwiAFvdZ9fIMpKY2qrWy9LCW/HkfqnaQnybYVgJ3XT6EVa5GOSNN/GryBnTtD8xRR0DM5tEw2Th9KrXSEPsBjYg7jhLSUwplygs6x1+nOH0dUgk6m18i+Zp59ZPNILkfBmJ0qMpSErIR1+ML8OaWvq5+LUA1dd65NTW+iqaVXBD9svxzLGM4vykLRxZBHmmFCspAP7VP
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: NRaAOVkrkgU3mXRbz8taT44LOMQHW/FPR5wa4mwOwdHi9S2XMottvU2yHl3zB3didf8d25gx0vsRLI/FpBtCuL0oWVi85AZJWocJPhamizEU97i8KM/SObRveSqhI3xh/lXwK2r912kaVARAcGmmXN28ISXkg3+i9eCNkPZ0gbtlV+H8mW23jjkMxEdFDoFNP00BcHMMuPMg/PeanUlk3vnbd9o/rJnx7hnGLcGbKxTC2BIC9J/HSI8ErcDuBsEhH/6xyCqohFZR1EonUNHqHU8vBaQdS5bUb58huA80TMxM9ZcKXcevCQsfoNet+DI4Uwn2PGKzz70Egwudp0GYRXaUlTJL7pV5rbytFv8caIYspgHxXTSc4tP0KAKPk0MBW5LZXh3GU52+afxrkUOG6Jq+tDbYiYTW7waRfMJV0G0V/7Mtofq4juQfU9baFHUx2v8G4T8yenQaH2Q2MBBduUGYKcbc9p0cGUaXu5gb9yAmkzPsyvpfpam+PICG92hRFn7+Pbs3iCudZtUu9iV+QLA+1nIhbHDMJUL5RKoy+TiOLEG3ievWeABvXgHh/4c42GBYrPOOJtvilkEtD/V/CjANEPEYx7pR/NoouvzPl7w=
X-OriginatorOrg: oracle.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DS7PR10MB5232.namprd10.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 8f423945-43aa-48cd-ffa7-08dce95cf544
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Oct 2024 18:54:24.0700 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: LRqD/ZKDXph3qWsTVVpEPP/Ax/EIctmGssOksg2sHosDfvTZhf+sETMkmSBwU55CH83Ct3vsUDKlp672YsKSCQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR10MB6499
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.293,Aquarius:18.0.1051,Hydra:6.0.680,FMLib:17.12.62.30
 definitions=2024-10-10_13,2024-10-10_01,2024-09-30_01
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=964
 adultscore=0
 phishscore=0 mlxscore=0 suspectscore=0 bulkscore=0 spamscore=0
 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.12.0-2409260000 definitions=main-2410100125
X-Proofpoint-ORIG-GUID: IrfHdKUwwOweieOau3AjjIZXiLLV6WJz
X-Proofpoint-GUID: IrfHdKUwwOweieOau3AjjIZXiLLV6WJz
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> > Sorry, I misspoke.  I was thinking that my `M-w'
> > copies the current search _match_, but it copies
> > the search string (input pattern), `isearch-string'.
>=20
> But it's easy to copy the search string with just
> 'M-e C-a C-k'.

Not as easy as `M-w'.

But I do think it makes sense to _also_ have a key
to copy the current _match_.  Both of those should
be short keys.

The use case of wanting to set mark at the initial
position, so you can get back there or activate the
region back to there (actions that take place when
you're _done_ searching), can be on a longer key
sequence.  Why?  Because it's useful at most _once_
during search.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#73723: 31.0.50; Add copy/kill/mark commands to isearch
Resent-From: Drew Adams <drew.adams@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 10 Oct 2024 22:05:01 +0000
Resent-Message-ID: <handler.73723.B73723.172859790014905 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73723
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Phil Sainty <psainty@HIDDEN>, "73723 <at> debbugs.gnu.org" <73723 <at> debbugs.gnu.org>
Received: via spool by 73723-submit <at> debbugs.gnu.org id=B73723.172859790014905
          (code B ref 73723); Thu, 10 Oct 2024 22:05:01 +0000
Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 22:05:00 +0000
Received: from localhost ([127.0.0.1]:60787 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sz1HH-0003sL-S7
	for submit <at> debbugs.gnu.org; Thu, 10 Oct 2024 18:05:00 -0400
Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:24872)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1sz1HG-0003sD-8t
 for 73723 <at> debbugs.gnu.org; Thu, 10 Oct 2024 18:04:58 -0400
Received: from pps.filterd (m0246631.ppops.net [127.0.0.1])
 by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49AJtae2022029;
 Thu, 10 Oct 2024 22:04:44 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=
 content-transfer-encoding:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to; s=
 corp-2023-11-20; bh=BKYxHljKKw2ygIdMqo4XPUTr1Kqt7M0KUatTvBIMLHE=; b=
 W3oklf+8dULXN1gfJj5rmneiJBMeryWvpSYDG7j/16GinNjYIxDjQmjsnQhv88Hh
 R2YL2DtJynwjgNaJlvagPlB/+gqPbd8kQBo3ei20Ly3r6yDjJV1llY2xfpAgXZJ4
 V8toL2k3QmgRv0ZmE0tuAhM/DvqchGAToCs68EyQlDkR/J/14/xD98e3ixj57zAz
 EF4OeaE3H7FJfMoulxcW6knaDPsVMhpgPYvnckHlXpobeQcqmCdNGhDR8QeSoNLH
 yPNiXsSWp3F+/sOywSxL/29RsOwA+eTzbeA1MHWePxZZn+1jjR17IiTNvz2SRyEG
 wj4vmkOuUNC0xaTsJUlAqw==
Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com
 (iadpaimrmta01.appoci.oracle.com [130.35.100.223])
 by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 42300e3xxv-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 10 Oct 2024 22:04:43 +0000 (GMT)
Received: from pps.filterd
 (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1])
 by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.18.1.2/8.18.1.2)
 with ESMTP id 49AKqIR5005782; Thu, 10 Oct 2024 22:04:43 GMT
Received: from nam12-dm6-obe.outbound.protection.outlook.com
 (mail-dm6nam12lp2176.outbound.protection.outlook.com [104.47.59.176])
 by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id
 422uwgyet5-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Thu, 10 Oct 2024 22:04:43 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=An8sp+h1cLr3cUyreCszmZKxXJ4RK6ZMLlLOExj5cPzKk4PQx+VkEieq207dUdenCn+xkD3nAfr1UtIF6z/xS3lPO2g0SqWPOgmnk9+DpcmPPBpBJDsZ82TgRSyQGW4qz48akPBoMF3+yd2kMOpdhRs+6Q2J8wfI6aaeJb7kV2lDIBZR9Y2PN1U/BQilOZtR2fHwjHI3Oy7hk97n95eGwb+kCOlYLQMp53kM7x1vw2YTfIT8oND+fzMfrl8Ruf3CTfYY79CChf9DhG9fflBj6k9LtgPp/xYySNmcDtDcgQ1r7HFT/0kURIuSBzeBOz4IQNj06EW0gGCWFbsdFsa2SQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=BKYxHljKKw2ygIdMqo4XPUTr1Kqt7M0KUatTvBIMLHE=;
 b=o238nOhaGH431PixjvbzDkYNIkTcUg9xLOW+Jab7f6LGlAdwwAbWPh0KuzKzDmfKAE8ozGHBBS1dn58di+xFJQVI4uD4N+KAvc18EIl9cjDSEFhOfkI9axfVflmMGa91F7HQem2ITabMPyrptKFKl4VZ3t2TFetWXkYckyWG/BvgaM/Dy8yXtBwXCOrL9doz+aoy/nTP0GnEBf5Ni2/nmVhF9RON2+ugMqb0TdII3SJeICzeRA464qfU/7g8i/ONWysH8lCGvIcK4Cd4ZSBqUJzIeBffauHFZkgPOdZuvq1M0veVgRkOIMRV8zDkQciliU4qdw4rrWBrfStFhLt09A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com;
 dkim=pass header.d=oracle.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=BKYxHljKKw2ygIdMqo4XPUTr1Kqt7M0KUatTvBIMLHE=;
 b=meRFw/5wHINYA2b/tLbh6ahhR7EKVsMeaxleKg02KY9WFnajpoCku+1yXr8YeCk8Mb9ScrFKh1opnN7Jz2BtSOcxC+b9gZQdGDfUwEa5VyskjGmwul1hE67hiqtafN8VtXeyU2JFUh8YQRr1OoHsvvQPWqJV0hLhnOFr0tDU0Fg=
Received: from DS7PR10MB5232.namprd10.prod.outlook.com (2603:10b6:5:3aa::24)
 by SA3PR10MB6952.namprd10.prod.outlook.com (2603:10b6:806:31b::19) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.23; Thu, 10 Oct
 2024 22:04:41 +0000
Received: from DS7PR10MB5232.namprd10.prod.outlook.com
 ([fe80::8303:658f:14f8:2324]) by DS7PR10MB5232.namprd10.prod.outlook.com
 ([fe80::8303:658f:14f8:2324%4]) with mapi id 15.20.8048.017; Thu, 10 Oct 2024
 22:04:41 +0000
From: Drew Adams <drew.adams@HIDDEN>
Thread-Topic: [External] : bug#73723: 31.0.50; Add copy/kill/mark commands to
 isearch
Thread-Index: AQHbGosgc5j7UUah/E2/7LTeUq3T2bKAglkQ
Date: Thu, 10 Oct 2024 22:04:41 +0000
Message-ID: <DS7PR10MB5232B7E9B0D704F4265FECB0F3782@HIDDEN>
References: <194a0202fd0c9b752d2f6e4f3ff642d8@HIDDEN>
In-Reply-To: <194a0202fd0c9b752d2f6e4f3ff642d8@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: DS7PR10MB5232:EE_|SA3PR10MB6952:EE_
x-ms-office365-filtering-correlation-id: 274987e5-b629-4554-afcb-08dce9778a5e
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|366016|376014|38070700018;
x-microsoft-antispam-message-info: 6R0QcDSxODPfKfr99CY8d8roMw5b+9SNku8eiMWPPQqPb9fDrcgHavtt8G56gHSqbCareHQc18QLz6C0ArGk2MkgkHWKPvdfYGq1wLCgYTVxyczlbfGkjAPw7e12IzCuAn3poHAfBI3JV86vq6JbkXRwtDZtHhZq1FbIuq1UMbf/kF3MlJFfUqLINVoz384zPvXrsmCHU+mAl+sSFYKamGiOwQKtQ7wnPFnWiGp7KTqfaX2Q0GdvXMFRdXvw0GRSiC7ud3tiZuICG4V77b43/4IRVmE378xCTCtKCQfFlXhLCefMrj69uwn7Eb3X3KlH57VfD6AKHKH0RUR2AMH2PWN7PHcgH1AJN3mLVChOEXsKM7iF9KFacb75dHuntDQmy4skOlSXyXJrsPxfS3rxToAT+Q7SI0JTw0a8fIrBuu2p7G6ZGgAwLhnpmQpiZhxrDfUkx24DtgcDcZXC5dw1brZ5kmJGok++qFMCJyb8dYsoBiiy65ShWlkHGyKrqBd5fJbrvRk3s+H15Ig3bnpcQSwAAvEWrww95rFrKlnphCn66Fn5/Obbv3/mfHfTENcscZ5o6F9qrVV9mWHCaJoy0nZDN7h3N6+7lzRz06F6CgMCG2Z86t+JDMHIUxD3nFFFAygI115CMefP2OPIWZlJ8wAaUSzyhcUTQk3HU7ySyZvlngJJjowcB5iiVkkCmR7vTCLWZJGQ4vunBtm0w0wXwrc9HJEj/Jb6DO6f5kJwy3azBEy3ToZPKs7uh3xM9l2eSZHSp4Ruu/2HigS1B/kIEt9lmtol5NzsLDTMshIQ2VMjLiBX+eVUoRPQnla/rnQT9zAJCGMd/BsaxkBWRYfthTAUZ73KkkCmenSLi9GbU/rWOffuwyDkhmDZQtRcb4IOoaEwHk+ATAjw9Ryo+WVdwSlUl2hQRkR7bLU6eu3iPgmdl5+pJgkiuVL5KbUoScFGq7cJYhLohYuiF+cg20ge7NgTGhelGtwFfLMR2ZKiMERt0tdG2V57RiEx8WANUOv5ghsUr/eX6+afXLtrrYZ49W1zkaO9D73Eeh2PmBBptA2es6QAgb6xRDOm1uZhgjWHfpkv7QeEqu0dhX29Wtj38nSDVou2fY5WPUPpE9hxNt4Zyo+07ktQkc0No5Itx7pwoy/9arlWQ5j8mLvp+aoIYlxRxbIBSCZsA9DTQ8jes+snxdoVWWWDA0bvfWepP2x+ly3+LTG6llW9QqhvIsTuXld5R+kSytBvppfFJh7uLdljzeH48HCMhqkbhtnhFsHN52fq4fS9NAoTOmWms1GEiAWnxT0Flk6Tnpxk10o9K2UrWi0uml8EEREzGvI9DdY7
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:DS7PR10MB5232.namprd10.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(13230040)(1800799024)(366016)(376014)(38070700018); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: OKZxX4ZVENOTjdf9s16NxewcXM2s4NMDmRlyi4sk9GRMX7zHHBeQo1jNIajo2XXKtyfRL5rEBN5dzGCbAUquNLYODCm/EqhXkL9Sv9QREGuVhxNtNQSp79PwxWplmDS9DgrAfmvOY6CcMr9BMOTEtazE1+FUZ9GaUpvNCrZ15AFTc9e7HSs2sq9TLW+axInxQTf+bz2Bq0FuyLUT+t5tqrGKOwWnQpNu/UfZVqts2wPybw0puYyPK91k6a5z1ptHjRhMMrYmp6YCW/Dv+AQCb0eCYmTqtqqzX3FlBi5SXgZRoG4LFh1woE+EQzEbDbt8Saw+pOcF9H7UVikx72Ugumvb6bVRN28V3tZsrj5SqP5P0pEYyEPtrlBilFV9vFRvSVMs6bb6HVxv4OE96VcA+GnC9vUff+cUtad4Tq0jUGxrNPCMeODDBhYpXa6D+wTHXUdo2CZcV6+pRpS47apAi1/B1smncgviuNDO1ET7LtmpKcxLo7LdF5L670+UjmAYV5e3mzUYY8AvJtTd768Xb9WgYY8cZPOxoUU8ieFF18d0SthqBLVS7gicyhhWjpJM5YuhyFqch+KXLKj0n+lHJ496YYA/X9S86yyBLuuOauizqrEjvw/fcgBkexfS+ANQqz8eNfAE5+lPVd32xGlaR6ggyRVnu6QJQGa81c0XCFqALel+klMK+9nWKpifSA1Cn5gTakDDhkuP0he8qpBiqiVrrj/v0pI9FdUsGQcSrgM1GP8FcIfL512ygaR0ylmfFfnhcDPE6Q1n+w7q4LPPx0DJg/BKqSfWYVxQe1PqT8JSJ/LbqjM62N5A/pYFtL6hgIih71eEqyoc46DWrpn2Tb4pYn5FBH1tlZQ2N7IdEaDub7wwcO3Isp/okrt3TyFuQk/7Fa2fXx5qXqey23obgDyKuHQSgBjzJZLyX7JHU7qjD5HBudBwHyDxkX0S09AtISx73SsC5EBMXAWPJJ4E9Ybwb4nmQyTGWJmFULfaV6/McKvON3Lt2fuxQTOYuyD2s+qnJE1GU/7iKYOQJFI60CAHQQ2caGy4LVzmViDUyJnDFE5bvlGh8k/CiDoqxGTya0ROkQ3fn3WM8goV4xxAo6aDNqv39uWJ4uXMlvG/wFPKfRmRZiGHicYJtHDBUgszLlNadS7UmHO+9l0No5IwXlobqS27trmKsP76YnuW+xMHNyoPjuWuL68Fl9VKHXg/Z+S05HxgIykhq5zEV5+KuP8wlpsRIZOLOJ+wjZH4YBsJKNvU6l0wGWXpy0IbRtVDxYbGc/3DGHvc/syyUZHwhenUqn8GMKEMJN0P1ymI3oZVwCIqatNhvWn9qivlcv+o8ECjDOpC1jkiMtIpxHananzr/rGwiYdlVmSWbmFIRmKUIMHKqHCvfXtonwyQiaASwr8PEe1msNMLd+TTblzlYAtLcVoBaaNCPToB7FEQiO5xqcDX9dk3y1Vk9isBkP0M7Mg/1Se2PJfb9Ne3BzkuUaUO2u4MvhQbPVxOv/HvKZ4PafIrAKfG72GjOj8vpthC3EMN/bYUxocptCme/bNlTBqD7E10bZPzkhe0NGyzIcVTcQ7xPT8XJWiuuqO0FwZu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: iE8+ValwFErFikcaqc+C3eHuxbR8ByZYwqMaCU6uxCrX3vPBubz1rkAmNcmMgK9maJ4niLH1LKX+CenRkC70uS7d44Ly4BEtiRnUGbq+h+CwlqVgf44Kkvn1iFaPSsViUp26KikJo0hzQ0tSUSQs+fb6+E/TX+4PrBy7Z4TV6vVGggKpBqHM50IDthITEer5wA7mtpz49pTafaJfTwOQSvpYHp+hYvoaVzG/2LIQmVfwF8us4kbYmIjRTUrizflw/35OygbtE2P2JiufDJaCp66mjEqf3F3dKXm5/PzzhLoLxNV2xq7DH2ZcFj/II9DdFw0my1YZzvwTE34O3NWRET3KGRsCRIArmv06861XwoMfpfEQO71JoRKQuVWKjUcjs5o0fNlrhzzgaMV+zS2q0/4Exck9XC4PX3Z/bXCfIoTaSjqwSet+yQ0+6W0sjrZA0E/vBroEcLH18Go/IxJoS1KzgEXTTr50djD3n7Jez4QeLum3aAlV1SbO1R5Rw5P8eMfHSw+Yll7lkwuGoVTrNMy+JsxB05ksZOWXQDJxrZMJSAGcWl7sfbzGG9tgKSmsoC4vWmTgZqkjfsFAK5Izs0WXaZZV+1h9tOT63NU44lg=
X-OriginatorOrg: oracle.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DS7PR10MB5232.namprd10.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 274987e5-b629-4554-afcb-08dce9778a5e
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Oct 2024 22:04:41.1051 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: aReegQzUeRvgSBLOPJZIxAczJ1RtsEmsG9kat2MMg3cjF4yMUTbxzbndqca5Sqtj7n1c7HR1zHfabYZkbjXNLw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR10MB6952
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.293,Aquarius:18.0.1051,Hydra:6.0.680,FMLib:17.12.62.30
 definitions=2024-10-10_16,2024-10-10_01,2024-09-30_01
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0
 phishscore=0 mlxscore=0
 malwarescore=0 bulkscore=0 mlxlogscore=849 suspectscore=0 adultscore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2409260000
 definitions=main-2410100146
X-Proofpoint-GUID: hx923s1TOioUPKbklWHC_Ng22q786O2a
X-Proofpoint-ORIG-GUID: hx923s1TOioUPKbklWHC_Ng22q786O2a
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>   (defun isearch-copy-match ()
>     "Copy the currently-matched text to the kill ring."
>     (interactive)
>     (kill-new (buffer-substring (min (point) isearch-other-end)
>                                 (max (point) isearch-other-end))))
>=20
>   (defun isearch-kill-match ()
>     "Kill the currently-matched text."
>     (interactive)
>     (kill-region (min (point) isearch-other-end)
>                  (max (point) isearch-other-end)))

Two minor suggestions:

. Neither buffer-substring nor kill-region needs the
  positions in any particular order - don't need min/max.
  E.g., just (kill-region (point) isearch-other-end)=20

. Show a message at the end of `isearch-copy-match':
  (let ((message-log-max  nil))
    (message "Copied search match as kill"))
  (sit-for 1)
  (isearch-update)




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 12 Oct 2024 14:02:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 12 10:02:05 2024
Received: from localhost ([127.0.0.1]:46224 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1szch2-0001DM-QQ
	for submit <at> debbugs.gnu.org; Sat, 12 Oct 2024 10:02:05 -0400
Received: from mail-ej1-f43.google.com ([209.85.218.43]:55349)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1szch0-0001Cu-B9
 for control <at> debbugs.gnu.org; Sat, 12 Oct 2024 10:02:03 -0400
Received: by mail-ej1-f43.google.com with SMTP id
 a640c23a62f3a-a99650da839so490139966b.2
 for <control <at> debbugs.gnu.org>; Sat, 12 Oct 2024 07:01:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1728741647; x=1729346447; darn=debbugs.gnu.org;
 h=to:subject:message-id:date:mime-version:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=TLQFg/WieQBbQpw/cdWRAuwcpqZ3/c6sszrxEObDxTY=;
 b=kz8LkN0bSEQsUM5NhtLbpNO1JYHcuQYE011XtQUkPDgry+zYCvq7O8RxQ2aAXbV//D
 3jIiSQmZ2ObNyC9yR2NIbSMa0oPrmx5j8fYBFL3koVIbtMHUaO/ghAAZCgXnOTDmvvpy
 X4StfEs75or8vB9rW6SJpG+fRzatolJul5SjjuEKPo6oFQQ8EOZ1Og45GG3d1fGoxHq8
 JEm8D0u65ve7lZmQEc2mSN3QnvoTm2Zj5mI2Ral8fH7kF5IAOZSLw2yoU/F4qgHSa35S
 j4BTbg4ZeogB//zUAJfe8ygcQ3vKizaQn9NRiI8BKTh+wix7NwQbjmGP0XqkYUKBmAo2
 tIZg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1728741647; x=1729346447;
 h=to:subject:message-id:date:mime-version:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=TLQFg/WieQBbQpw/cdWRAuwcpqZ3/c6sszrxEObDxTY=;
 b=QfhHhzLR9EazrlKNq5EuZWJrZ7FZClGbUCfHox8fomEsfSMZvDeGVynsc2E/eRk3ro
 U5t/+QAWAcXZzvAyIFXQnZKwgYqwkx64tPcZo818ncX+w/C8Mi1ejLaOcyiFd2nSb9vW
 DK4Rb/ntLRyTZ8ZY88kC3QDPBdp2RifTvF0fDe3iPY9rfYReBIVN87fN1gn0WSZ5/Js+
 rIAaQHDZoF2RaH04i4Ehpgbi7+UmLkysWhVxE605R/+74vGGe4OwwiKS57uSzVKEVFDl
 jA1npVitvrUcvb5oLKwEufTR/KJU0jTC7RU295eDruzQ7b/o6K+XAqtsZUOL9jKW+TTx
 EDLQ==
X-Gm-Message-State: AOJu0YxNYbw/OH0IdT57/8IS6LZ9gTqd6bmOcAX3SSBi5UrIti2uV3L7
 IzV0nC0RAuZ5Ir1CZG9pXbaPLQG9OVHtoNk4Sag28vS5DlJ9oeXFC/AAU0DrrwjCqhdClykjacS
 aVwbBVOfiaVEycSFA5ea9tXR9OwNfyg==
X-Google-Smtp-Source: AGHT+IFD7UxUHKOo0UVuCzqsy+2f405dlL0urO372Mndbj0w6JTppEB8FJqAfroyq2ME6ZJAWGaUDV9Hvzwqe5jXhLE=
X-Received: by 2002:a05:6402:2354:b0:5c9:5c1c:a1e5 with SMTP id
 4fb4d7f45d1cf-5c95c1ca477mr1491168a12.8.1728739989579; Sat, 12 Oct 2024
 06:33:09 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Sat, 12 Oct 2024 08:33:09 -0500
From: Stefan Kangas <stefankangas@HIDDEN>
MIME-Version: 1.0
Date: Sat, 12 Oct 2024 08:33:09 -0500
Message-ID: <CADwFkmkapv7t0+vxgEujmCufYsK_bOr0GXHfJ5Pqv+WhQK1arA@HIDDEN>
Subject: control message for bug #73723
To: control <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

severity 73723 wishlist
quit




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 1 Mar 2025 01:37:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 28 20:37:49 2025
Received: from localhost ([127.0.0.1]:55564 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1toBnY-0001Xm-LM
	for submit <at> debbugs.gnu.org; Fri, 28 Feb 2025 20:37:48 -0500
Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:55319)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>)
 id 1toBnW-0001X2-9t
 for control <at> debbugs.gnu.org; Fri, 28 Feb 2025 20:37:46 -0500
Received: by mail-ed1-x536.google.com with SMTP id
 4fb4d7f45d1cf-5ded1395213so4425328a12.2
 for <control <at> debbugs.gnu.org>; Fri, 28 Feb 2025 17:37:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1740793060; x=1741397860; darn=debbugs.gnu.org;
 h=to:subject:message-id:date:mime-version:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=HVb5BUzzy7qDXFHuPyc7l4J5WwAumfYJ6wkpplkvkEM=;
 b=YR2DVKiqbNNMSA24O5PcdxFPIOQECo8mvLWvzqxD3G4djw08BNhtUtb5Ts5yFqHz68
 qs+nsARsDGmmZS2+fkBQsCWOEGZn+cBsDCzS1kmQSUL8+kmGx7vszf9cyMP33dtFpvrN
 H0XsEPTrNZONelDavc3fw0VdCuczT8+ctGvSlE0+QXOpDe5poqUnFlBD1Y6f0zQiLnLQ
 sCeNMMUYIBjF+okOkCK82UqiVEDUogLIBGN1ulem9Qbgmwy1c9pHFRNziDF3CTFxMO6X
 gOBujVcGOpSs6vmQG78zNAT/V6t5Tb+8G9ZpX09pK/ZIhi1QT9W5hnsdcj2EEJXdMf0E
 efhQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740793060; x=1741397860;
 h=to:subject:message-id:date:mime-version:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=HVb5BUzzy7qDXFHuPyc7l4J5WwAumfYJ6wkpplkvkEM=;
 b=amKybQuC8/yHl+zji8iXjxfFI4yvQw2IySsD9XlIrfAkQPM1IcxqMEkVF0HER6hOkj
 GNjdBswUJXlAyc+U26U5Z7+jNyFT+gNanMYhvKU5p+VjtNLsgPTZXUWtYmCDvKKNnGTa
 19TTzcyWCuSIJFYU945oBjxIGvfbZwKDgM9yiEtiXrNpCYi53gbKTKbkX4C3+7FYDjXN
 nfCy9Bzk4YGZJF8WO65WGuTUIbgFfEPra3sFnd/OTEPiymkElf0/31zCaem2bdxjdf0d
 yiLjIdICN+m55gRbKM8/I7tbOVTJfLOu0nfMCccN+1DY+zxQbJzxiPZZwxCC4g7YeZF+
 PSjA==
X-Gm-Message-State: AOJu0YyPSyUka4OjvfvNpjOEKn/fXJw2EPALZXkNeeMlXHrT9PCnS7Ow
 rIq9BwVoEQGE3eHIDUiZQgTIEBqYmu37383YDN1VsRHEyW5oMkQxJIZe9yhkwnWeWKTqXPqUPuP
 uy3okaj8XoY5vKyMcUopE1ojG+hSCf7SM
X-Gm-Gg: ASbGncvML7I4nUWvaDe+eRx28+ReOEnTQDNTGk407pFr7iyUv18P0QorUOhwWhaoL88
 GDxqx1dVFNdbCz9Y5I2rr5q/ckGoabb3kXVN6p/l65CVoX74Lc6UmBqCu2OaLfWZMn7IQFgYk1r
 Iqdj4nN7yJtBY/+eyi7AWOO0q6Azo=
X-Google-Smtp-Source: AGHT+IEEp4WCaM/dmWQLHiGcj9vpwaoXtDnTdzLK2lbmigqrz9l+rhzw3gKM9SZ79ZBoeXhsXGWhdCaQi7fGZ8Mi+rU=
X-Received: by 2002:a05:6402:34d1:b0:5dc:c9ce:b022 with SMTP id
 4fb4d7f45d1cf-5e4d6ade1a5mr4280074a12.9.1740793060012; Fri, 28 Feb 2025
 17:37:40 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Fri, 28 Feb 2025 17:37:39 -0800
From: Stefan Kangas <stefankangas@HIDDEN>
MIME-Version: 1.0
Date: Fri, 28 Feb 2025 17:37:39 -0800
X-Gm-Features: AQ5f1Jo6ZVjsOsIEFzG2WP6tSQPCsNYVcfc1-yfUAHBqKMoIU4M8u_ifPPn1ajc
Message-ID: <CADwFkmmXc9mUYkwuFg8mAy4t2TqhT9vfFC_O1OOQFLsGCn_BpQ@HIDDEN>
Subject: control message for bug #73723
To: control <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

tags 73723 + patch
quit





Last modified: Sat, 1 Mar 2025 01:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.