From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Simple isearch concerns Date: Fri, 09 Apr 2021 17:56:27 +0300 Message-ID: <83r1jj7bhg.fsf@gnu.org> 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> <83eefk802u.fsf@gnu.org> <871rbjdea4.fsf@mail.linkov.net> <8335vz91en.fsf@gnu.org> <940751cee594ef1cf8a4@heytings.org> <83zgy77hep.fsf@gnu.org> <940751cee566285b8519@heytings.org> <83wntb7eli.fsf@gnu.org> <940751cee50d69f2231d@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22468"; mail-complaints-to="usenet@ciao.gmane.io" Cc: spacibba@aol.com, juri@linkov.net, 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 16:57:37 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 1lUsZl-0005hr-Cd for ged-emacs-devel@m.gmane-mx.org; Fri, 09 Apr 2021 16:57:37 +0200 Original-Received: from localhost ([::1]:40756 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUsZk-0008Es-E5 for ged-emacs-devel@m.gmane-mx.org; Fri, 09 Apr 2021 10:57:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUsYx-0007VX-NY for emacs-devel@gnu.org; Fri, 09 Apr 2021 10:56:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51916) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUsYw-0007ZU-Ne; Fri, 09 Apr 2021 10:56:46 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4767 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lUsYv-0006ol-Qy; Fri, 09 Apr 2021 10:56:46 -0400 In-Reply-To: <940751cee50d69f2231d@heytings.org> (message from Gregory Heytings on Fri, 09 Apr 2021 14:36:53 +0000) 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:267723 Archived-At: > Date: Fri, 09 Apr 2021 14:36:53 +0000 > From: Gregory Heytings > cc: spacibba@aol.com, emacs-devel@gnu.org, juri@linkov.net > > C-s isearch : you are searching forward > M-s M-> : you want to see the last occurrence (which corresponds to your search direction : forward), yet it says "Failing I-search" > M-s M-> : you are now on the first line of isearch.el > M-s M-> : "Failing wrapped I-search" After the first "M-s M->", why do you keep pressing "M-x M->"? why not C-s? > C-r isearch : you are searching backward > M-s M-< : you want to see the first occurrence (which corresponds to your search direction : backward), yet it says "Failing I-search backward" > M-s M-< : you are now on the last line of isearch.el > M-s M-< : "Failing wrapped I-search backward" > > How on earth could such a behavior be considered a feature? That's not the scenario I had in mind. But if you want the above to be useful, why not ask whoever implemented that the question about the rationale? And since when are we fixing a buggy behavior by modifying it in weird unexpected ways?