From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#73723: 31.0.50; Add copy/kill/mark commands to isearch Date: Thu, 10 Oct 2024 21:40:15 +0300 Organization: LINKOV.NET Message-ID: <864j5jyf74.fsf@mail.linkov.net> References: <194a0202fd0c9b752d2f6e4f3ff642d8@webmail.orcon.net.nz> <86a5fc5uq6.fsf@mail.linkov.net> <86cyk7zx7w.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17705"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) Cc: Phil Sainty , "73723@debbugs.gnu.org" <73723@debbugs.gnu.org> To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 10 20:44:18 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1syy94-0004RK-6q for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Oct 2024 20:44:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1syy8g-0003VA-Kt; Thu, 10 Oct 2024 14:43:54 -0400 Original-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 ) id 1syy8c-0003UW-RL for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2024 14:43:51 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1syy8c-0002is-IU for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2024 14:43:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=9Kg+cE69qXmHnd/MyKrO6YwzGs7pzymamARtwfImG+k=; b=uHzNVOIkMlostIdRCwP43yBfK+eTFz2LDvLfuFllhODd764pIeQqoH3lqO01+lztgv9lEvhbzf/fElHlInkU5qxim7VNDZl9DcIFV0uMaBusmzcCEoGpruMKbEbKBnhIXECVai8EOO8rbVDAxXAbicD4DhWgjSzop+KJdsxtypg0Gow30kRUHVVJl9O1gblJF9qsT2YyrlopICQqOEFxUfPgkg15oOOWu/pUQ8gOIi8nx7KpKLKMivXDMGcY1DECW0cN+1Ii1JItCI8/CGgXAji2O3S4jq0Co3OeyOcZ3ncu3pBm+vEBY2DHP2Ja5P2nS76gm5ynMaqkabt/JPsI3Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1syy8o-0001sm-6p for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2024 14:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Oct 2024 18:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73723 X-GNU-PR-Package: emacs Original-Received: via spool by 73723-submit@debbugs.gnu.org id=B73723.17285858197189 (code B ref 73723); Thu, 10 Oct 2024 18:44:02 +0000 Original-Received: (at 73723) by debbugs.gnu.org; 10 Oct 2024 18:43:39 +0000 Original-Received: from localhost ([127.0.0.1]:60571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1syy8Q-0001rt-QT for submit@debbugs.gnu.org; Thu, 10 Oct 2024 14:43:39 -0400 Original-Received: from relay5-d.mail.gandi.net ([217.70.183.197]:48499) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1syy8P-0001rd-5k for 73723@debbugs.gnu.org; Thu, 10 Oct 2024 14:43:38 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 09A211C0004; Thu, 10 Oct 2024 18:42:56 +0000 (UTC) In-Reply-To: (Drew Adams's message of "Thu, 10 Oct 2024 18:20:15 +0000") X-GND-Sasl: juri@linkov.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:293310 Archived-At: >> > 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.