GNU bug report logs - #73723
31.0.50; Add copy/kill/mark commands to isearch

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Phil Sainty <psainty@HIDDEN>; Keywords: patch; dated Wed, 9 Oct 2024 20:37:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) patch. Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 22:05:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 10 18:05:00 2024
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>
To: Phil Sainty <psainty@HIDDEN>, "73723 <at> debbugs.gnu.org"
 <73723 <at> debbugs.gnu.org>
Subject: RE: [External] : bug#73723: 31.0.50; Add copy/kill/mark commands to
 isearch
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: =?us-ascii?Q?6R0QcDSxODPfKfr99CY8d8roMw5b+9SNku8eiMWPPQqPb9fDrcgHavtt8G56?=
 =?us-ascii?Q?gHSqbCareHQc18QLz6C0ArGk2MkgkHWKPvdfYGq1wLCgYTVxyczlbfGkjAPw?=
 =?us-ascii?Q?7e12IzCuAn3poHAfBI3JV86vq6JbkXRwtDZtHhZq1FbIuq1UMbf/kF3MlJFf?=
 =?us-ascii?Q?UqLINVoz384zPvXrsmCHU+mAl+sSFYKamGiOwQKtQ7wnPFnWiGp7KTqfaX2Q?=
 =?us-ascii?Q?0GdvXMFRdXvw0GRSiC7ud3tiZuICG4V77b43/4IRVmE378xCTCtKCQfFlXhL?=
 =?us-ascii?Q?CefMrj69uwn7Eb3X3KlH57VfD6AKHKH0RUR2AMH2PWN7PHcgH1AJN3mLVChO?=
 =?us-ascii?Q?EXsKM7iF9KFacb75dHuntDQmy4skOlSXyXJrsPxfS3rxToAT+Q7SI0JTw0a8?=
 =?us-ascii?Q?fIrBuu2p7G6ZGgAwLhnpmQpiZhxrDfUkx24DtgcDcZXC5dw1brZ5kmJGok++?=
 =?us-ascii?Q?qFMCJyb8dYsoBiiy65ShWlkHGyKrqBd5fJbrvRk3s+H15Ig3bnpcQSwAAvEW?=
 =?us-ascii?Q?rww95rFrKlnphCn66Fn5/Obbv3/mfHfTENcscZ5o6F9qrVV9mWHCaJoy0nZD?=
 =?us-ascii?Q?N7h3N6+7lzRz06F6CgMCG2Z86t+JDMHIUxD3nFFFAygI115CMefP2OPIWZlJ?=
 =?us-ascii?Q?8wAaUSzyhcUTQk3HU7ySyZvlngJJjowcB5iiVkkCmR7vTCLWZJGQ4vunBtm0?=
 =?us-ascii?Q?w0wXwrc9HJEj/Jb6DO6f5kJwy3azBEy3ToZPKs7uh3xM9l2eSZHSp4Ruu/2H?=
 =?us-ascii?Q?igS1B/kIEt9lmtol5NzsLDTMshIQ2VMjLiBX+eVUoRPQnla/rnQT9zAJCGMd?=
 =?us-ascii?Q?/BsaxkBWRYfthTAUZ73KkkCmenSLi9GbU/rWOffuwyDkhmDZQtRcb4IOoaEw?=
 =?us-ascii?Q?Hk+ATAjw9Ryo+WVdwSlUl2hQRkR7bLU6eu3iPgmdl5+pJgkiuVL5KbUoScFG?=
 =?us-ascii?Q?q7cJYhLohYuiF+cg20ge7NgTGhelGtwFfLMR2ZKiMERt0tdG2V57RiEx8WAN?=
 =?us-ascii?Q?UOv5ghsUr/eX6+afXLtrrYZ49W1zkaO9D73Eeh2PmBBptA2es6QAgb6xRDOm?=
 =?us-ascii?Q?1uZhgjWHfpkv7QeEqu0dhX29Wtj38nSDVou2fY5WPUPpE9hxNt4Zyo+07ktQ?=
 =?us-ascii?Q?kc0No5Itx7pwoy/9arlWQ5j8mLvp+aoIYlxRxbIBSCZsA9DTQ8jes+snxdoV?=
 =?us-ascii?Q?WWWDA0bvfWepP2x+ly3+LTG6llW9QqhvIsTuXld5R+kSytBvppfFJh7uLdlj?=
 =?us-ascii?Q?zeH48HCMhqkbhtnhFsHN52fq4fS9NAoTOmWms1GEiAWnxT0Flk6Tnpxk10o9?=
 =?us-ascii?Q?K2UrWi0uml8EEREzGvI9DdY7?=
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: =?us-ascii?Q?OKZxX4ZVENOTjdf9s16NxewcXM2s4NMDmRlyi4sk9GRMX7zHHBeQo1jNIajo?=
 =?us-ascii?Q?2XXKtyfRL5rEBN5dzGCbAUquNLYODCm/EqhXkL9Sv9QREGuVhxNtNQSp79Pw?=
 =?us-ascii?Q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4E9Ybwb4nmQyTGWJmFULfaV6/McKvON3Lt2fuxQTOY?=
 =?us-ascii?Q?uyD2s+qnJE1GU/7iKYOQJFI60CAHQQ2caGy4LVzmViDUyJnDFE5bvlGh8k/C?=
 =?us-ascii?Q?iDoqxGTya0ROkQ3fn3WM8goV4xxAo6aDNqv39uWJ4uXMlvG/wFPKfRmRZiGH?=
 =?us-ascii?Q?icYJtHDBUgszLlNadS7UmHO+9l0No5IwXlobqS27trmKsP76YnuW+xMHNyoP?=
 =?us-ascii?Q?juWuL68Fl9VKHXg/Z+S05HxgIykhq5zEV5+KuP8wlpsRIZOLOJ+wjZH4YBsJ?=
 =?us-ascii?Q?KNvU6l0wGWXpy0IbRtVDxYbGc/3DGHvc/syyUZHwhenUqn8GMKEMJN0P1ymI?=
 =?us-ascii?Q?3oZVwCIqatNhvWn9qivlcv+o8ECjDOpC1jkiMtIpxHananzr/rGwiYdlVmSW?=
 =?us-ascii?Q?bmFIRmKUIMHKqHCvfXtonwyQiaASwr8PEe1msNMLd+TTblzlYAtLcVoBaaNC?=
 =?us-ascii?Q?PToB7FEQiO5xqcDX9dk3y1Vk9isBkP0M7Mg/1Se2PJfb9Ne3BzkuUaUO2u4M?=
 =?us-ascii?Q?vhQbPVxOv/HvKZ4PafIrAKfG72GjOj8vpthC3EMN/bYUxocptCme/bNlTBqD?=
 =?us-ascii?Q?7E10bZPzkhe0NGyzIcVTcQ7xPT8XJWiuuqO0FwZu?=
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-Debbugs-Envelope-To: 73723
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)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#73723; Package emacs. Full text available.

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


Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 18:54:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 10 14:54:42 2024
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>
To: Juri Linkov <juri@HIDDEN>
Subject: RE: [External] : bug#73723: 31.0.50; Add copy/kill/mark commands to
 isearch
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: =?us-ascii?Q?P35wYInkjR68q+Wj5ks6s/DPTYTJq64GBOr5luYT2ZZZNzwOxGubL6Z7WPVu?=
 =?us-ascii?Q?FZ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nWf9qXvILMlYD99dN86WwDjProqvM4NZAFFnWHCzaMSh6M?=
 =?us-ascii?Q?FtvFZBt3qZnN0klzMjW3UZkXZHVUq+MwJ7GoEbmAwiesKZlVGCQMWoHBSTpq?=
 =?us-ascii?Q?fsLtiLpNeyYjvlJNRPe2a6HtIAmYPYYCheNY4JGdDsFHsU7m+H1WJsYVLPgR?=
 =?us-ascii?Q?KJ/S7m8gCySW5Bmev5qB0IRBAehcSI/y5QRkcRvpX1dto6FcsLNX5eAn9GCc?=
 =?us-ascii?Q?5Do2W9aIrxXmhqSlOLyqG0gXWJsw1dHSNmYQmAMl8IlES2hfrm/vn6QMfS4/?=
 =?us-ascii?Q?n6mgwbfkKC7BOJYr7fAIGTiQ7q+uJk8BPX5NSRAxMXs/Q4OGX7omDsoowI17?=
 =?us-ascii?Q?LmgxAiq8EyPGNqCsXRuJS4Lkz5L95r/kfLWeUn32mMIKcE5uuuHvfYReAiRd?=
 =?us-ascii?Q?jCHrTZmXxBSSXMaQoOfrLWlFVQ7cVknOQ//MGyjlg/2z1w=3D=3D?=
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: =?us-ascii?Q?6C7fGPl/M7OHoUlN9xeSf0LKvoxz9phVMN358kNU+QsPKlLMf6atVlUiTKT/?=
 =?us-ascii?Q?hs1Uc9ADnhBazkhE9a1hipAUtH8jJoXcMlIXj0DLsPKKd71o63JW0wZeRJqu?=
 =?us-ascii?Q?63YVPv/lXeERKybzgNTGvG7X5ohV9Qxa03xTj9SaNvTVJH/UJe6h5ze5oLFI?=
 =?us-ascii?Q?pZCcJU4mb5MN7WWEhkCgzGvrLzjFkqNfQxHVql/hVBHHK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dO5XB?=
 =?us-ascii?Q?sV8M7+WhqV+98bVMHvisXpko8S+PhNLe87vIfI4oIBn3S3AsO58KHe8AJ6bl?=
 =?us-ascii?Q?mKw9C9h4FE4B5a73vRBX2pjDQjK0hW7zCA7fN8Ft9GdG6XYpPtAPYXoWnohk?=
 =?us-ascii?Q?kF4gdoRoAxOxurJ6z1tPHefITO4qEwWIphhgNlqJ4AW1r94C/3+AUSFx5SiO?=
 =?us-ascii?Q?3B1q+mIgYm4YcDja0jQnrgd827QboXaQ5rAg361+okMk45fEvhgK3lWyRR4n?=
 =?us-ascii?Q?wNpzhS9Ymnk1QhfQt5FoTePS43jjSVqaQppyfRNokvfcAAsMrHqIFHapvDm2?=
 =?us-ascii?Q?ZjX2geXU7ILAyZuHEyt2WwiAFvdZ9fIMpKY2qrWy9LCW/HkfqnaQnybYVgJ3?=
 =?us-ascii?Q?XT6EVa5GOSNN/GryBnTtD8xRR0DM5tEw2Th9KrXSEPsBjYg7jhLSUwplygs6?=
 =?us-ascii?Q?x1+nOH0dUgk6m18i+Zp59ZPNILkfBmJ0qMpSErIR1+ML8OaWvq5+LUA1dd65?=
 =?us-ascii?Q?NTW+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-Debbugs-Envelope-To: 73723
Cc: Phil Sainty <psainty@HIDDEN>,
 "73723 <at> debbugs.gnu.org" <73723 <at> debbugs.gnu.org>
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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#73723; Package emacs. Full text available.

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


Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 18:43:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 10 14:43:39 2024
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>
To: Drew Adams <drew.adams@HIDDEN>
Subject: Re: [External] : bug#73723: 31.0.50; Add copy/kill/mark commands to
 isearch
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-Debbugs-Envelope-To: 73723
Cc: Phil Sainty <psainty@HIDDEN>,
 "73723 <at> debbugs.gnu.org" <73723 <at> debbugs.gnu.org>
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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#73723; Package emacs. Full text available.

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


Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 18:43:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 10 14:43:23 2024
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>
To: Drew Adams <drew.adams@HIDDEN>
Subject: Re: [External] : bug#73723: 31.0.50; Add copy/kill/mark commands to
 isearch
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-Debbugs-Envelope-To: 73723
Cc: Phil Sainty <psainty@HIDDEN>,
 "73723 <at> debbugs.gnu.org" <73723 <at> debbugs.gnu.org>
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'.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#73723; Package emacs. Full text available.

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


Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 18:31:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 10 14:31:46 2024
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>
To: Drew Adams <drew.adams@HIDDEN>, Juri Linkov <juri@HIDDEN>
Subject: RE: [External] : bug#73723: 31.0.50; Add copy/kill/mark commands to
 isearch
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: =?us-ascii?Q?AMw1k8PQu8F7q2Of2smgcJFS8iCApUREYUd5/UuErBoSH/SWG5YbkfHFcwIk?=
 =?us-ascii?Q?SZzyX0u5l1Qu9xpcJah3wpmTRtUkNibK7+VBFUklgZkAf8QwXos/LccWmCKo?=
 =?us-ascii?Q?VGnvTWwbFNjZYZypjPcZvm0P9V/TIDX/Q+7yY/ByiK8RiueEIFoE8EfoK/Ca?=
 =?us-ascii?Q?XL9TGnntz/zOh/w4LB4Wi/uUTIpeAchlwE4NmrEjBVW8hZ/AuzZPzCt7CCBp?=
 =?us-ascii?Q?u/U+Bo9Icj95RuQqI/QFvcQP9jsmop1PsECzhGO/waeryDN+iCAcVdgYaaOK?=
 =?us-ascii?Q?usp5eEdkWGvRbg5mDl7WY7vOFvWaLNb2ayIcR5bmFwqqY8pAh/rSoKxl6Psd?=
 =?us-ascii?Q?BUdtxItfULrQeld4Ld5ELtw2sfotr0MfCED1c2rtkOEiR4Hxug6W5SJK2Dk9?=
 =?us-ascii?Q?u9bM6btq5jw8n/929IqoMwY18X2zRD7xj7zT0a6RQNt/liMfi7lvs5fXt8Ol?=
 =?us-ascii?Q?rI8u+UcYrYhO4JTmH69XSlF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C3oELwHVg=3D=3D?=
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: =?us-ascii?Q?2DtR/Cc5Oabjf/agy2kmgSufAuXIEpZ1cKTelQMF9inLgQNCKva3PcWktCIr?=
 =?us-ascii?Q?uh8zRBs1/vCZGX4CSd8cwVVObLBBTsQZU3fz4PjXZENiCg5HJzT5KCtXe6V9?=
 =?us-ascii?Q?5NfaHpOSrloRChSO0AcIfKPULklnyCrHjhLx7KhTjaDHA/+Mz4UqI+1HFaVO?=
 =?us-ascii?Q?kKwGANSFuGX4pDTobFgrsEtSuqaTWvfSfURX3+eUbSMowZ8D6iafS8o2nSxK?=
 =?us-ascii?Q?oL9jGP/lKFgxldxbOVEOxtZQ7NVx7FYvTmHVMZCRWEvAZtEqQy+GDh1QE/VD?=
 =?us-ascii?Q?XIzhYAleVCT7GDt68xg5iElj2RKyChvFeoKmF2Ls7WX9a8+87ijJDablnV2c?=
 =?us-ascii?Q?wBGIfiHpin4gDHvvH6tw8UDMLBQaZ16wX4zwCpdJeURaZn3L4oaSd3mccKAp?=
 =?us-ascii?Q?mX81fcTDiICQGvwKk4O8U7uOfRWyZvnczUcxOEOoLpP+1mX6coZA8blS3jPM?=
 =?us-ascii?Q?118SQA3aZgzoRB+MVd2ONdPhwggZLz1lzZ4+3y/WF42KJ7HHPq08/KCx1RML?=
 =?us-ascii?Q?u9N0QH6xYPpbzB8sJR+Ttg5ubmBkHykqj5T+OuKyT58K+p+J2BY5ATbWC0HI?=
 =?us-ascii?Q?L+ibu6wX3vNYnySZ/tGYurh69MZeahJOEpiwWtj0bM0ZNgKIMyelZB2MD5p6?=
 =?us-ascii?Q?MdtB5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C7a617f9kPD7Sogn5ypLUzDPoy59j+5U06iOQF/RHSHe?=
 =?us-ascii?Q?X0bauZb9YkRRC6+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-Debbugs-Envelope-To: 73723
Cc: Phil Sainty <psainty@HIDDEN>,
 "73723 <at> debbugs.gnu.org" <73723 <at> debbugs.gnu.org>
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').




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#73723; Package emacs. Full text available.

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


Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 18:20:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 10 14:20:35 2024
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>
To: Juri Linkov <juri@HIDDEN>
Subject: RE: [External] : bug#73723: 31.0.50; Add copy/kill/mark commands to
 isearch
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: =?us-ascii?Q?jJeoOo1qsRoNSwNUY90iAtCxp1+qW+Wwxn/nIXEAA7N3DyLby1H4e3DqQeow?=
 =?us-ascii?Q?+via2bpnkjkbgRUfX+SHb0xUjLn6s3/xkKB9SRZ2qV3EN3BWkULINJ5ZUe+g?=
 =?us-ascii?Q?km9IPz7VDCTPw8y5ZmP4KqTdbyHIY5wrV4OlegAWllNiOfQQdHmiEcHmtJo3?=
 =?us-ascii?Q?VYxOofRAzUtf7ABM1y6HkuAlZrJXgdwKIsDAlYx80Q3QJbVuSktlUWY6CLoK?=
 =?us-ascii?Q?f6A7XX1OGzGIF9yOO0KT6xYFLZDxQDH817oy3/Kx2/B5jyxNSoeHwF09oZWg?=
 =?us-ascii?Q?MJ1ivkeFJToPilx2TfdqHAm0kjPfOSKeKyW4itLSvzMtWsGlFLeOw4pRaQkv?=
 =?us-ascii?Q?cyKSeDxWscI2rVykjpCFWp/JfBISeYPB9wMAXl1z+wErUUBSCs/jvPmvlrqm?=
 =?us-ascii?Q?5+35Jyn1JAelHxe9Tj3WakAhfO3Q7lJHVe49ZSqJVnAtd/AdVgfbjgYI/g0B?=
 =?us-ascii?Q?CMPIfaZ2oqouwbiWOX0ovpsrbV0A1TrYJEDJD7CxCfz9bkIYFiFXOnOrJX4v?=
 =?us-ascii?Q?Ipl6ElFY6/+aIGW9Ix0IigOAnoYl4vP8e9rOz0KgjlvqQeNhgYeNLXrV/z9r?=
 =?us-ascii?Q?hW9wTDM0rR2TJb9zBxlCq4kFgx0lSVRmeFPXexrXobFN9wRdnHdZX1y8PVsJ?=
 =?us-ascii?Q?ZpORKXXV1rEWUtYFaEtMqA03NxPTB90OFmiKmRepC5vJwjkNnhCQJfT9cK/l?=
 =?us-ascii?Q?rXle6y0PEiEdXs4DBb/sFLVsyyfHS7gkY/fdFYD3YRCHwaee92Wy7IjaRWw1?=
 =?us-ascii?Q?rdAL9DWKl1vkXP0f73+1T6qTd5U8zHSxZ0GdFlwsmXp/vHvSQVF2YqYGjHLa?=
 =?us-ascii?Q?1JjdT/VoEKJGjeyp7QL78YSuHSv5xB1cHiUznjxBLLpTCZVDAGZs/ulmfHy6?=
 =?us-ascii?Q?2PBwMdi1q2kliUidedhaffSFO3c2zcDJHWYIAyiNR65RFdNUt9YbEBeqxwiU?=
 =?us-ascii?Q?q9HLcipb1n1zw+h5pZ6/zEhOaDnwZXCxiigpZwkbb1yInXSukvpXHazrPeVS?=
 =?us-ascii?Q?lSuBwqD+FHZkl/1Lxt6qUoQuxNUpyUA3fqn+9Bji+9hajyFN/3LQmur5xc1Y?=
 =?us-ascii?Q?B3P9boKF7u7Jk+qK8CjE7LgyU+jUeaJLThJMLMJzcHi/ejcZOeoO/fsxhYf4?=
 =?us-ascii?Q?SQpfIa1N5eLDEwgXhqYiXXEHye5VXizI0Tynty7Inni7HKKMsRDg/qK188dc?=
 =?us-ascii?Q?iZI89xhS45uwVXXcpBwhhYrQp4mXnTSAjmHxI8JQBpwXijE9Uu6bURFtwapU?=
 =?us-ascii?Q?KHO2DHuHzF5iIHzvA2Yv9QM3EJ9jf/uXm1rv9XCWDw=3D=3D?=
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: =?us-ascii?Q?dS86/EH4gHeSgSm/veipE4PIZw5Rw5Gcw+UDAaT5U8pyFnoHVMnxysqMko6K?=
 =?us-ascii?Q?LLCwrIA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G99dzhwc2tV3hYn15SMoFLT3V0Xv9U1uZWqp5EOXf+Z?=
 =?us-ascii?Q?FC3mNn5na+YTJdwXqyly/nushMwb/UpgY3Z2ZNlYeXVmbrEdvsxnYilOfr8t?=
 =?us-ascii?Q?6uUMJiANNwWnTn3EQ+Yieyy+xDiFr0L+Q8SY9Pz8m9n1QMxvr3ua0URUjtZ5?=
 =?us-ascii?Q?Lc1uKdTf1RS8fEkrnUEj2E3K81gp8tomDLheoMJvfO6Cwo8MJEjqkLAfou51?=
 =?us-ascii?Q?PrTYN10ZPcrynioj84wnAfitIGLigNgqHfVxHBrMNjhD1TWLMss3yZTy2uAy?=
 =?us-ascii?Q?+XuunfAfl5+yQQR2gtTK+4jCceWu0Ri28VqayDkCNj6VQpo4EMPFnjC5ynYT?=
 =?us-ascii?Q?oxlDLZonqLMUDqCd7T7JV1/rVSiUS8CPPdQuLYT9HzG9xRS24WiulC9np9qf?=
 =?us-ascii?Q?PJFpnkML7JFf+mHB5mmgkk1rivyNfBCE6rK/3n4a9gNu2KHBc7ocApQJKSO0?=
 =?us-ascii?Q?sInPASV0nJ11qFg8T8fd0TeH9evABPP4eKcN1A50sfKAoOoUgurfDyvhohzC?=
 =?us-ascii?Q?Bo8IfBH3E7pTYaKTojCRHPZ1sFnLAWwuq1av7812DXI5hHjLn6WlT8oKzPIb?=
 =?us-ascii?Q?ePTJ40NllPfLo/iAwfvH9HYxOc9nnMfEffhr/P9+flgIesddOe3AZReGCoyT?=
 =?us-ascii?Q?cJc1iQKqMDmd+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-Debbugs-Envelope-To: 73723
Cc: Phil Sainty <psainty@HIDDEN>,
 "73723 <at> debbugs.gnu.org" <73723 <at> debbugs.gnu.org>
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).




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#73723; Package emacs. Full text available.

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


Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 17:37:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 10 13:37:46 2024
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>
To: Drew Adams <drew.adams@HIDDEN>
Subject: Re: [External] : bug#73723: 31.0.50; Add copy/kill/mark commands to
 isearch
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-Debbugs-Envelope-To: 73723
Cc: Phil Sainty <psainty@HIDDEN>,
 "73723 <at> debbugs.gnu.org" <73723 <at> debbugs.gnu.org>
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'.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#73723; Package emacs. Full text available.

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


Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 17:37:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 10 13:37:24 2024
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>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#73723: 31.0.50; Add copy/kill/mark commands to isearch
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-Debbugs-Envelope-To: 73723
Cc: psainty@HIDDEN, 73723 <at> debbugs.gnu.org
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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#73723; Package emacs. Full text available.

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


Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 16:58:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 10 12:58:31 2024
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>
To: Juri Linkov <juri@HIDDEN>, Phil Sainty <psainty@HIDDEN>
Subject: RE: [External] : bug#73723: 31.0.50; Add copy/kill/mark commands to
 isearch
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: =?us-ascii?Q?T5T4RYiMhZ92hlXeSDoFuV1gtdXvk0blleyX25nRlgK8z1mnq7qDOgqILuCJ?=
 =?us-ascii?Q?4wuK5Dd4k3vUyANwrq2AbXbEJnqaK1c5dPchGQtiBb/BSjuv+MPwcVZdJHpj?=
 =?us-ascii?Q?nwuEnH/d0BPqCmhXHybTT+WK6YIC91YZROtijBzbqgidZwurgu707tXUbEsm?=
 =?us-ascii?Q?IH4aK7UFzAckqunhZgjlmWOCBqexFUtifRHQVxT3oYR23Veq5OV62koagG3F?=
 =?us-ascii?Q?3OfQ0Jln5O0/8t3KVsOjxPHmbrSymX1xJWcX/GlO566I1elcCzg7d8T2aR8G?=
 =?us-ascii?Q?/vne6WnFiZPG1sN4gSfBVn46ZTAGJiLhV4XODmsOQSLLfo1yh4Cfz0GYrNTe?=
 =?us-ascii?Q?EThi94pZOFz6mbkNYG2HafGru7HqebXqYrHqZBBWBBZ8+aBQ5YtYEsi3e+u1?=
 =?us-ascii?Q?K0gq4u6VPlAearGMeZglZ63Nk+HKnZFo43xlJxyvcAaEXNMimEq6DSE6X+DK?=
 =?us-ascii?Q?1GQCqduA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MZ0/y+sRYVQ=3D=3D?=
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: =?us-ascii?Q?rNgvD0sTK5iemhgvchU5J1pTVGpDDjNAY4tNncXZmbCt/SzmIzLU4v4ZOxi6?=
 =?us-ascii?Q?KabEahrexWMEdKisd6e3MpGS8El6Vr5bpUNx7FYQO4lG5lkyQnx0We+Uyzfa?=
 =?us-ascii?Q?WCXqT7rfW3IHDiShaY27PqpouM749EYWmBe4hLViVsawruCgn2C3yAvvJvvv?=
 =?us-ascii?Q?LwF4ylL5R70g57K6Dll+0vBhM8B/LoZvTjGy2kRP3zravyldYLVa/SIpNzGU?=
 =?us-ascii?Q?KbbaMzzAm0LHTwNPyqlunU8NnboYccCr4iMcekPSrRZ9oWlIsssfCp598z4u?=
 =?us-ascii?Q?CdUHVb3jSemXQky/rEcVi6MXmIRTpBvm55MgtPKWh/smh148FYxmOhY+z79+?=
 =?us-ascii?Q?U04oodcQkDSTp7hKZsu6F653tl34TZg7e4xQhUR9gCmSQ3Q9sd6//jMiNBMb?=
 =?us-ascii?Q?K4han1CYN3+n+XHKikRnxnIN1qZewpvSSZVZgy0bEwdIFQ6E6uy4QbN9iXwK?=
 =?us-ascii?Q?CKP1VXTUFbf+i8cpBcV/6WZ9cuK/47ejKxzZLSZWPUdt6BpeGr5kxIWoMHIb?=
 =?us-ascii?Q?gWfuh2blHQgkLGkgkGX81w8w0+ImJcnLoJkFLtdBNenfk2T2rhaaipngWhb6?=
 =?us-ascii?Q?o/KYGrQvNSc+upxgoRL9c9FOC7dRVAucoQi/kYRG9rAM2HKhCP075CTQgA7r?=
 =?us-ascii?Q?GrqC/Kp3nyzl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bXaGkiROcCMXbzG7ApVl?=
 =?us-ascii?Q?3yTizuy7cvyNvCUySqlUUVqbYhs1UC7C6z8Lz1hP?=
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-Debbugs-Envelope-To: 73723
Cc: "73723 <at> debbugs.gnu.org" <73723 <at> debbugs.gnu.org>
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))




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#73723; Package emacs. Full text available.

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


Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 12:10:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 10 08:10:58 2024
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>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#73723: 31.0.50; Add copy/kill/mark commands to isearch
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-Debbugs-Envelope-To: 73723
Cc: 73723 <at> debbugs.gnu.org
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





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#73723; Package emacs. Full text available.

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


Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 07:41:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 10 03:41:21 2024
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>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <86a5fc5uq6.fsf@HIDDEN> (message from Juri Linkov on
 Thu, 10 Oct 2024 09:37:37 +0300)
Subject: Re: bug#73723: 31.0.50; Add copy/kill/mark commands to isearch
References: <194a0202fd0c9b752d2f6e4f3ff642d8@HIDDEN>
 <86a5fc5uq6.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 73723
Cc: psainty@HIDDEN, 73723 <at> debbugs.gnu.org
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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#73723; Package emacs. Full text available.

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


Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 06:39:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 10 02:39:55 2024
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>
To: Phil Sainty <psainty@HIDDEN>
Subject: Re: bug#73723: 31.0.50; Add copy/kill/mark commands to isearch
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-Debbugs-Envelope-To: 73723
Cc: 73723 <at> debbugs.gnu.org
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?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#73723; Package emacs. Full text available.

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


Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 04:48:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 10 00:48:30 2024
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>
To: Phil Sainty <psainty@HIDDEN>
In-Reply-To: <194a0202fd0c9b752d2f6e4f3ff642d8@HIDDEN> (message
 from Phil Sainty on Thu, 10 Oct 2024 09:33:41 +1300)
Subject: Re: bug#73723: 31.0.50; Add copy/kill/mark commands to isearch
References: <194a0202fd0c9b752d2f6e4f3ff642d8@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 73723
Cc: 73723 <at> debbugs.gnu.org
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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#73723; Package emacs. Full text available.

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


Received: (at 73723) by debbugs.gnu.org; 9 Oct 2024 23:49:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 09 19:49:15 2024
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>
Subject: Re: bug#73723: 31.0.50; Add copy/kill/mark commands to isearch
To: Phil Sainty <psainty@HIDDEN>, 73723 <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73723
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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#73723; Package emacs. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 9 Oct 2024 20:36:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 09 16:36:23 2024
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>
To: bug-gnu-emacs@HIDDEN
Subject: 31.0.50; Add copy/kill/mark commands to isearch
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-Debbugs-Envelope-To: submit
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)





Acknowledgement sent to Phil Sainty <psainty@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#73723; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
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.