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: Simple isearch concerns Date: Fri, 09 Apr 2021 11:37:17 +0300 Organization: LINKOV.NET Message-ID: <87blanbzcq.fsf@mail.linkov.net> References: <20210403001539.x4rb55dvh46rmhb3.ref@Ergus> <20210403001539.x4rb55dvh46rmhb3@Ergus> <878s5wmsjp.fsf@mail.linkov.net> <87mtubz4ls.fsf@mail.linkov.net> <8735w22s9b.fsf@mail.linkov.net> <3ec7e2e58a3733a48ae9@heytings.org> <878s5tc0rn.fsf@mail.linkov.net> <3ec7e2e58a49d4f0ec99@heytings.org> <878s5t9p1i.fsf@mail.linkov.net> <9ff81b52fad2911cc740@heytings.org> <87im4w1tgw.fsf@mail.linkov.net> <9ff81b52fa878cb35a86@heytings.org> <87pmz4zgn5.fsf@mail.linkov.net> <9ff81b52fa72c1233122@heytings.org> <83czv47z99.fsf@gnu.org> <940751cee5bc247768d3@heytings.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4509"; 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: Eli Zaretskii , spacibba@aol.com, emacs-devel@gnu.org To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 09 11:10:41 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 1lUnA1-000123-2b for ged-emacs-devel@m.gmane-mx.org; Fri, 09 Apr 2021 11:10:41 +0200 Original-Received: from localhost ([::1]:47206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUnA0-00044H-3U for ged-emacs-devel@m.gmane-mx.org; Fri, 09 Apr 2021 05:10:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUn8w-0003HA-4q for emacs-devel@gnu.org; Fri, 09 Apr 2021 05:09:34 -0400 Original-Received: from relay2-d.mail.gandi.net ([217.70.183.194]:62573) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUn8t-0002Eg-RB; Fri, 09 Apr 2021 05:09:33 -0400 X-Originating-IP: 91.129.96.157 Original-Received: from mail.gandi.net (m91-129-96-157.cust.tele2.ee [91.129.96.157]) (Authenticated sender: juri@linkov.net) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 261F04000B; Fri, 9 Apr 2021 09:09:27 +0000 (UTC) In-Reply-To: <940751cee5bc247768d3@heytings.org> (Gregory Heytings's message of "Fri, 09 Apr 2021 07:20:14 +0000") Received-SPF: pass client-ip=217.70.183.194; envelope-from=juri@linkov.net; helo=relay2-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:267697 Archived-At: >>> +@vindex isearch-allow-match-scroll >> >> IMO, the name of this variable (and the corresponding property) is not >> the best one. "Scroll" is the wrong term here, and "match-scroll" >> doesn't help understanding what it does. How about >> isearch-allow-motion-commands instead? > > I tend to agree with you, but I'm not sure. There is already an > 'isearch-allow-scroll' and its corresponding 'isearch-scroll' property, > which changes the behavior of motion commands: it becomes possible to > scroll (recenter, scroll-up, scroll-down, ...) but without changing the > current match. This patch does something related, but different: it > becomes possible to scroll among the matches. Indeed, the name is not worse than 'isearch-allow-scroll'. Maybe it's possible to find a better name? What about 'isearch-allow-repeat' with the meaning that it repeats the search after moving point.