From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: [External] : Re: Simple isearch concerns Date: Tue, 11 May 2021 20:01:40 +0000 Message-ID: References: <20210403001539.x4rb55dvh46rmhb3.ref@Ergus> <87v98asulc.fsf@gmail.com> <87pmyimiwd.fsf@mail.linkov.net> <87bla11u5q.fsf@gmail.com> <87lf937hgk.fsf@mail.linkov.net> <87y2d1ksga.fsf@mail.linkov.net> <87r1it7zfw.fsf@gmail.com> <87v98466it.fsf@mail.linkov.net> <87bl9wcksv.fsf@gmail.com> <87tunnzqci.fsf@mail.linkov.net> <87bl9tmzun.fsf@gmail.com> <87y2cwhiti.fsf@mail.linkov.net> <87h7jk75b7.fsf@gmail.com> <87k0ofyd4p.fsf@mail.linkov.net> <875yzwq4x7.fsf@mail.linkov.net> <875yzumpur.fsf@mail.linkov.net> <87v97tcyx5.fsf@gmail.com> <87k0o7n2kk.fsf@mail.linkov.net> <878s4muwdn.fsf@mail.linkov.net> <878s4l154g.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2332"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Philip Kaludercic , Ergus , "emacs-devel@gnu.org" , Gregory Heytings , Manuel Uberti , Augusto Stoffel To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 11 22:04:38 2021 Return-path: Envelope-to: ged-emacs-devel@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 1lgYcQ-0000RS-4A for ged-emacs-devel@m.gmane-mx.org; Tue, 11 May 2021 22:04:38 +0200 Original-Received: from localhost ([::1]:35292 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgYcP-0003yl-2S for ged-emacs-devel@m.gmane-mx.org; Tue, 11 May 2021 16:04:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgYZj-00030B-1E for emacs-devel@gnu.org; Tue, 11 May 2021 16:01:52 -0400 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:61800) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgYZg-00052o-Ow for emacs-devel@gnu.org; Tue, 11 May 2021 16:01:50 -0400 Original-Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 14BK0R4T003078; Tue, 11 May 2021 20:01:44 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2020-01-29; bh=Ter1CyH+NZ0TP+wqUn9K4sHRE9lAgQ7XYmQo49pAEp4=; b=p+2Hw2kBjmw4O/ihW0xcseO3HAURjiiXVLHDTeGVX6FVWcoeR9JzyVv7UhntFzXOMJzn U1DcyFWTpqBdf5XP1YPE6ibF2sEa/i2B5mdf3Fsbk26+m+FRA/i62i39Es2JEDNSfAdi v7UjjHWYxhrb+w3R/e6/PwBXK5yin3qFPWcAOhNgY7pegdHwBC8G86c1lyTz861wG54U /H6X7zTYiqygqQwqJLLu7KrKLYqCtHMh9xaKBKO4XfDLX5gD22OmGHeGyAazyTdxXTUN d8AIqeOnDR50h4kYgjbfHQACJJ5JOq6RRDU0lvGKv7g3FvJN9EOvKPJkSPhrtfT4qAuO 9Q== Original-Received: from oracle.com (userp3030.oracle.com [156.151.31.80]) by mx0b-00069f02.pphosted.com with ESMTP id 38enw7gkb0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 11 May 2021 20:01:43 +0000 Original-Received: from userp3030.oracle.com (userp3030.oracle.com [127.0.0.1]) by pps.podrdrct (8.16.0.36/8.16.0.36) with SMTP id 14BK1gx4086895; Tue, 11 May 2021 20:01:42 GMT Original-Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2172.outbound.protection.outlook.com [104.47.57.172]) by userp3030.oracle.com with ESMTP id 38dfrxt584-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 11 May 2021 20:01:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KU9xzhjZJ2FgQdGzB7YI5veYOST94x+IGY2b4tq9tSzhUqvRTroA27hEjJ5ofW+E4RXflcgOOZqXiftB8X4Nk5ROF4akM7PFdcBDdP8oJ8aTXEUrLQTLPokrHiUj48Z1A3bAaQp0rxNvSV/+9hxSPj05y6nK6ajKpddKyfGpWB+iZOfyXr6/IPii4VcEUpG7MEugqYoOURPQlbIh57VWbqS8+pxkqWdscAXqmMS9xEiX7mCM6Mr/GIsGk5oqdv3bPVSDZl3GZh2aUq+7UJ844vC6DbaOrqkNAb4PYbccGAzo+z798P2cjR122l9+LC1MFoUCg9sZIVY16kzJGT16PQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ter1CyH+NZ0TP+wqUn9K4sHRE9lAgQ7XYmQo49pAEp4=; b=gC5aw+K3uEkkYcV7mUsRZJ1CqnpgY2AtfmxUDWeGScKRaFiFFP440wqOP8qb7p6vw//NklSEEWVQGmxQbb9QLdhL9i3eQYcmEYmj8ncUDdXmmtAMaHD+VAVpuKh9kFECn1xdlu3Agc3aou2hFv1/Gw3a2coHwPzVHjNGLH0z6XUVT2PzIsBX/5bVKwJM9anIaaUSnD8aTe3eBXoEem1CVJxuhN5VinvT8sfbxyetAoF3r4k1wFVkIiouSqHbCu1R4L46GjQttjDipeWQYi5qn98WjmW/tO2v5LHaESA6c5dSd4GwcFI5WcC3I435SSfVucd2dOZ1HtXh6z/vkVTVUg== 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=Ter1CyH+NZ0TP+wqUn9K4sHRE9lAgQ7XYmQo49pAEp4=; b=iHioAHxeMguAnZYWLljkdZv0sV3acSZgnAbgJEqkvmbFgwwbC0ZQ7Z3c/+0rz6bPRL9MnQyQae+0UCzPj6fMkqFgThBewrOARxJeMr9jk2dSI67Q16IfRQIMWHo6S6GQcWY84hwFHh8xmJzKLFSPkkJ0HQvOjZb2D3wO8EhcJCM= Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SN6PR10MB2431.namprd10.prod.outlook.com (2603:10b6:805:49::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.25; Tue, 11 May 2021 20:01:40 +0000 Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::2109:9725:fd4a:6494]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::2109:9725:fd4a:6494%6]) with mapi id 15.20.4087.049; Tue, 11 May 2021 20:01:40 +0000 Thread-Topic: [External] : Re: Simple isearch concerns Thread-Index: AQHXRplK3iMsS/plAkWmqZJlFq16UarerXrw In-Reply-To: <878s4l154g.fsf@mail.linkov.net> Accept-Language: en-US Content-Language: en-US authentication-results: linkov.net; dkim=none (message not signed) header.d=none;linkov.net; dmarc=none action=none header.from=oracle.com; x-originating-ip: [73.170.83.28] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 502aa308-8e66-45f5-ec7d-08d914b7978b x-ms-traffictypediagnostic: SN6PR10MB2431: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3968; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /kuTkOyBirA+2qmsRlxMD5CEyYdh5YBCj3Y39HbOpIS2fxiJhmAiIwTjrRwFRjqwd8pWJFuywG5a6uFnPKHLLhVL1572ayNuLRPp4M/5f5SQ3vnr/rXkW6iYjCrz1kwSL/4RBvaqNeCfXKnEoQW7DVjRDoWiSXRAnixTHarzD/e84/HKkZe+Ut76zBNP5CkrmTX2oMGudbEMa/ZjPAAq+LuipBIEo44+vvmkdMO/ekeCU1+d0wgwKBLkwGpkfvE76OatOHTnmt+F9qPvlsbuqSXh5kPqay7l2dq4ZO18tA3P4UwSGdpGAQOGNI7udrYfk1m31GqU8oe+jA6jXfXPW7j9H2E6Wz8k2xr5n09hD2Gh4NmPUCaRhs/PsdcwqnjDzQVrMnfMvaQxXJEOqCpizsKcEKpuiSzB+XQxCzGZ7METsDfT0CWW4hkz9IAL47QGq+4SaqEjnRtINrcNv4Oyr9rmvsEUB3mV8Z7A+P6OZ+pOF/8Ueh/oG/gSHWU8J5uQLer+R9K1GAiKn2cg+7q9ku1+80JSfpwUVIRxDota0DWIp1nTY0OGxVfEYwvmnZwl2DoGK90tK//gPr9MZQOjNtK3X/LWBPAovCZqc57MvMc= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(39860400002)(376002)(346002)(136003)(396003)(2906002)(44832011)(5660300002)(122000001)(54906003)(52536014)(316002)(71200400001)(55016002)(8936002)(9686003)(86362001)(4326008)(38100700002)(186003)(8676002)(6916009)(76116006)(478600001)(66446008)(64756008)(7696005)(66476007)(66556008)(66946007)(83380400001)(66574015)(26005)(6506007)(33656002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?TetUr11yCgcavEppYQIBMkXiIBN7emlK1d+ELhdEkCCvKUKHS9N4qwor0Ko3?= =?us-ascii?Q?wo/1aVf6j8qrqUSGDPvhsZMCjmyANPL2cfN9Ei9fI6eA3Kxho5A5uTDEXS5U?= =?us-ascii?Q?75YFCC3mba7zx+W1lyR94kHiLwitio6JJ4fH2epkTzad4DhV7E6IdHWDFmyy?= =?us-ascii?Q?umdHbXxgbUegk4zWz4IFnFOa2ramMHSMinG4dIgyK8jrIJgbAp6RpqTSnEca?= =?us-ascii?Q?dIgKGXY6xeF0E1QusAggb50P/+H7aFf70ZhghuFMZJFWxUn8b8D3NIJM0yub?= =?us-ascii?Q?pLjQqq1+k4ZvXp20nUWxHYHIjkT1h2AJYy/jK3kZgt9CKNAumZuBhqgmtUKq?= =?us-ascii?Q?Yp1enXTEwAxqGfGy28hBBWag+odN9k5PuRlo3h3ZMs2cu4k+LGQ+A1A+oFAr?= =?us-ascii?Q?fVZQ5LJAz8Am7c+60cdhgOWyLxB/27qFlId2ZXif+ejmFV8Q6NtLXSvuAQRr?= =?us-ascii?Q?lLmCNbNKcPnrnRCPkBYEJNSzXZ4w2S6HAWQywGHOxPqg9RMEz/546iBoPIGp?= =?us-ascii?Q?0P/ao448bNwYU2a9h6NbeUQat8fQ7KhHTsOWNDV1desLHDQNvAYZABsZ7trE?= =?us-ascii?Q?M8Eco+tGXRxgDvksh5F9QuyfZ0xGmOQ9R5RORVn+WamkfNVwxXhBiQHvse7d?= =?us-ascii?Q?bnUk x-ms-exchange-transport-forked: True X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4474.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 502aa308-8e66-45f5-ec7d-08d914b7978b X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2021 20:01:40.2461 (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: +7Xpjjo6s0PXcRltfoj+gSgZPpyn1clxcsKvmj7unnOCpW++DXl01N6YtPnIqsXma7UbtCYaesso5p1N/xluVw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR10MB2431 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9981 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=960 phishscore=0 adultscore=0 bulkscore=0 mlxscore=0 suspectscore=0 malwarescore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2105110134 X-Proofpoint-ORIG-GUID: jdQEwqb920j9hQgOfPDPcMnXMLfSDyyh X-Proofpoint-GUID: jdQEwqb920j9hQgOfPDPcMnXMLfSDyyh Received-SPF: pass client-ip=205.220.177.32; envelope-from=drew.adams@oracle.com; helo=mx0b-00069f02.pphosted.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:269187 Archived-At: > >> You can edit the search string while the minibuffer is active, > >> and the search results are updated immediately. > > > > `C-s' in Emacs does that as well, no? As soon as > > you type a char in the "minibuffer" (but just as for > > a web browser, it's not really a minibuffer)... You > > can edit the search string while the "minibuffer" is > > active, and the search results are updated > > immediately. No? >=20 > No, the search in Emacs has no feature quoted above: > "You can edit the search string while the minibuffer > is active, and the search results are updated immediately." I disagree. Augusto posed an analogy with web browsers, which have no minibuffer. He put "minibuffer" in quotes, as did I. Isearch certainly lets you delete chars from the end of the search pattern, and add chars there. That's completely general, and it lets you edit the search pattern while searching. I put "minibuffer" in quotes, since clearly web browsers don't have Emacs minibuffers. For Isearch, the equivalent to "while the minibuffer is active", is "while searching". While isearching you certainly can edit the Isearch search pattern. The fact that Isearch doesn't use the minibuffer while searching doesn't change anything in the given description of the behavior: edit the search pattern while searching. But if you specify using the minibuffer _not_ as a means to do something different - in particular, something we can't do now - but only as a _requirement_, then clearly it's a vacuous truth that the proposed feature offers something new. In that case, the new thing is only that it uses the minibuffer! A vacuous QED. ___ I mentioned the Isearch+ feature that you misunderstood as just the `edit' value of `search-exit-option' for a reason in this context. Besides deleting off the end of the search pattern (which, as I say, is completely general), with option `isearchp-initiate-edit-commands' you can, e.g., use `C-b' not to exit search but to move the cursor to the left in the search pattern. Then type chars to insert them there. And so on. All you need to do is hit `C-s' again, to search with the edited pattern. IOW, yes, minibuffer for editing search patterns. But no, not minibuffer all the time. Only when you want to do something other than add/remove chars at the end of the pattern. And end-modifying actions are the most common search-pattern editing actions, _by far_.