From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#47599: 28.0.50; Feature request improve/update isearch Date: Wed, 7 Apr 2021 13:20:50 +0200 Message-ID: <20210407112050.uewsibrpxtn3p6ho@Ergus> References: <20210405020725.ob7bewlin7cid4pa.ref@Ergus> <20210405020725.ob7bewlin7cid4pa@Ergus> <87mtubrzp3.fsf@mail.linkov.net> <3ec7e2e58a163e5f05c8@heytings.org> Reply-To: Ergus Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14059"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47599-done@debbugs.gnu.org, Juri Linkov To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 07 13:22:11 2021 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 1lU6GA-0003Y1-VQ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Apr 2021 13:22:11 +0200 Original-Received: from localhost ([::1]:41900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lU6G9-0002Dz-WD for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Apr 2021 07:22:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37170) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lU6G2-0002De-GQ for bug-gnu-emacs@gnu.org; Wed, 07 Apr 2021 07:22:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59924) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lU6G2-0004l2-8t for bug-gnu-emacs@gnu.org; Wed, 07 Apr 2021 07:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lU6G2-0005oz-4n for bug-gnu-emacs@gnu.org; Wed, 07 Apr 2021 07:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ergus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Apr 2021 11:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47599 X-GNU-PR-Package: emacs Original-Received: via spool by 47599-done@debbugs.gnu.org id=D47599.161779448522322 (code D ref 47599); Wed, 07 Apr 2021 11:22:02 +0000 Original-Received: (at 47599-done) by debbugs.gnu.org; 7 Apr 2021 11:21:25 +0000 Original-Received: from localhost ([127.0.0.1]:43237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lU6FR-0005ny-AM for submit@debbugs.gnu.org; Wed, 07 Apr 2021 07:21:25 -0400 Original-Received: from sonic306-1.consmr.mail.bf2.yahoo.com ([74.6.132.40]:39695) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lU6FO-0005nj-PB for 47599-done@debbugs.gnu.org; Wed, 07 Apr 2021 07:21:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1617794476; bh=gl2flSJRcYYlMyTl4qAQHSk8+MYxlElQup9+SumytyY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=WwGRXWViDcqjOZ3mGI3WaYqMoTl4XVbNP/mBQfVFi6IvqWUbaDNAqkgbqF+Z/b15c+dFwZPIx5oCJbzT1knIhoHJq96/NShbuUIV2KNkYKAvoUc253aElhPTIjD9R26pZO2kbxMHfhCVdqcMhS/mubwMqrJ7BpgBCbRAlo+0MO1tGPPSPgJTvOzpg7uh663vSpwgdpDHeawRtYHXZR9fpySmQNcPbvTowswparaWrxaHJdPEpp3pqKDXtUJc52QBfF4k3ryGSDDKmliOnVvtR07CKtBIiWfKKsXlEf99aCt36HgKMcTzaMoOL5q9F9cFrF7NUFc1sNedkCz9jeEMhA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1617794476; bh=pfyENgAbnQwHErB+W85gg/t6MIxbhrCds1fHx/UaFy2=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=J9DbYAHH42fX2+qymriLckSEfoy1+koHH2+HxCHQyrqHOlWkCks+sv2h3OhparXKq6IyXWcisCVtHn2WFNpMeULQyPkpvBPwGEyBeJCA7fkLZijekDm9slspgBRtv9UBmPQOL5d+PpwhEi2cxrAxbJwGOHjXG9I8AqplOPQ0ihXcJwEJvcWNEqe2BoGju0ujLuCvif6U7Jey1X5E7CK2Snq/0/LqQE5m68KtudStrNyoS6oyeaksL7fCWvGdfshL03NmeCDkE21v79jTwGZugwTd12xjeJ8VmE6ONwxFsrpuooUcnxzUkKaq3Uh1neHK2p4W+rERpx+X240FnjmsoQ== X-YMail-OSG: .hGFuGQVM1khI9O4L.qmCbPq5FWIvUXoyuonDJAsD3VF2_iNcWsHGqmWvvXN9b5 uRU5Nzr7gTcR_5gFki6YXTUolYmjpY4DXVPp1DpcbffSZam05GxuYYcQvuAjyRQ.hgEOBaib6SP_ gqQoAITR6CmO8mogffTgqo58sr1LywFSk.8ca8n0d6OzcMGFbYTQWJxPqHGNrQ6W7bQPcRKJrrdQ Em6.7_9fr1P0jHIqL5uhSp5FgsenTlJlbP8uuKxJuYgVuSY3TIZ73L5nK6Cd8Zz_9Ac3p2EFzOS_ NTbZ4Le35y6kLlKkHGiBX.7vFcS7ldK8rP79w2RunjkmeNDDqoIefJP1VsMHTZZ1f.b9KN9tgiwG YJu2rY0OIkv1pKM00WIY_1RiR_CPEExQ4i07EjfE57LYnALfcW1RNDQDMbsMAQDJHVi2XhVuAoge 4ZL7TVyYVHt3vFlCRrIlxeCdBf3SL.OvtSWLx98xE7m5YY6fRFpVhW8iL7kG2H6663CmZdSzYUWR LeI8FXYQh.VsK0uhypEc80Mc2Z3bbHjl3GId0dRI07ssUntQi2pV3gFBVbMIEM_kNXonvGs9D4Dj QtBG1W0.NsoiYu4pT7ChKSGccMAJ0CeOOCuuv6pkYcHx4i1y8jUVk7I7oZ2_mT6bM2DQ1.HGw2vo QAs8jhUwW7iOJMixnLkrD1kdsN_cl9XQGQn7gVx1zwMza7oMGygLa4q_vQ.aFrWxOm8leko_vS4d J5lCaRcSx6O2Hrtp_bkF7fO4L9MMhhzwxQSjbr8HL5B2zRYlWnTemnzjdcLF2eZT8wmcycz9YdKn r4VtEFX6vs_xr9x1jvZiAzJvAJNMFvDfwXOsSUH.9s X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.bf2.yahoo.com with HTTP; Wed, 7 Apr 2021 11:21:16 +0000 Original-Received: by kubenode538.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID df1f8f5f988ca1e27fe69d4f29b58432; Wed, 07 Apr 2021 11:21:10 +0000 (UTC) Content-Disposition: inline In-Reply-To: <3ec7e2e58a163e5f05c8@heytings.org> X-Mailer: WebService/1.1.18033 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Apache-HttpAsyncClient/4.1.4 (Java/16) 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" Xref: news.gmane.io gmane.emacs.bugs:203678 Archived-At: On Wed, Apr 07, 2021 at 10:44:23AM +0000, Gregory Heytings wrote: > >>>>1) Option or command to automatically go to the other end on exit. >>> >>>It seems the conclusion was that it should not be an option. As >>>for a command, there were objections against binding it to a key, >>>but without a keybinding such command has little sense. >> >>I attach a patch which implements these two "options" in isearch-exit. >> > >And here is an updated patch which adds three options 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. Hi Gregory: Maybe I am wrong but I think it makes no sense to add C-u RET for this; because it is not better than C-r RET. Same applies to the other two commands. I am only interested in the first one really; and for that case I would prefer something shorter like M-RET and for the others maybe C-M-@ (just to mention random examples that are shorter, free or "similar" somehow to what happens outside isearch). We can consider things like M-s RET; M-@ and so on too... But IMO the C-u C-u C-u is not the way we should go.. Does it makes sense? Ergus?