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.devel Subject: Re: [External] : Re: Simple isearch concerns Date: Tue, 11 May 2021 21:37:07 +0300 Organization: LINKOV.NET Message-ID: <87sg2txf6s.fsf@mail.linkov.net> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28506"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: Philip Kaludercic , Ergus , "emacs-devel@gnu.org" , Gregory Heytings , Manuel Uberti , Augusto Stoffel , Drew Adams To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 11 21:13: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 1lgXp4-0007JN-Iw for ged-emacs-devel@m.gmane-mx.org; Tue, 11 May 2021 21:13:38 +0200 Original-Received: from localhost ([::1]:44506 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgXp3-0002Sc-MI for ged-emacs-devel@m.gmane-mx.org; Tue, 11 May 2021 15:13:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgXm0-0006OY-Hs for emacs-devel@gnu.org; Tue, 11 May 2021 15:10:30 -0400 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:59089) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgXlu-00062N-T7 for emacs-devel@gnu.org; Tue, 11 May 2021 15:10:28 -0400 X-Originating-IP: 91.129.102.166 Original-Received: from mail.gandi.net (m91-129-102-166.cust.tele2.ee [91.129.102.166]) (Authenticated sender: juri@linkov.net) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 9847F2000C; Tue, 11 May 2021 19:10:16 +0000 (UTC) In-Reply-To: (Yuri Khan's message of "Tue, 11 May 2021 13:20:42 +0700") Received-SPF: pass client-ip=217.70.183.200; envelope-from=juri@linkov.net; helo=relay7-d.mail.gandi.net 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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:269180 Archived-At: >> When you type 'C-f' in a web browser, it activates the "minibuffer". >> Then you can type a search string. As soon as you type a character >> in the minibuffer, it immediately updates the search state >> in the original window. You can edit the search string >> while the minibuffer is active, and the search results are >> updated immediately. Also each browser window has own search. > > That makes sense for a web browser, because a web browser is typically > used only for viewing content and not editing. It typically also has > no point (except in form fields and editable content). (There is also > an optional accessibility feature that gives you a point which you can > move around the page and select text with the keyboard.) Such a feature as Caret Browsing (F7) in Firefox is quite convenient to reduce dependence on mouse. > Because browsing the Web is mostly a mouse-driven activity, and only a > few keys are involved, a browser can afford giving all text editing > keys to the search bar, including Home/←/→/End to move the insertion > point within the search box and any text selection and cut/copy/paste > keys. I never use the mouse for searching in web browsers because there are Isearch-like keys: C-g to repeat forward, and C-S-g to repeat backward. And additionally the search string can be edited. Even in a browser Home/End are frequently used keys outside of the search to move to the beginning/end of the window, but there is no problem to use these keys to edit the search string in search mode. So when Home/←/→/End by default quit Isearch, this is fine, but this doesn't preclude from having an option to use Home/←/→/End to edit the search string, and RET/C-g to quit the search minibuffer.