From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#47599: [External] : bug#47599: 28.0.50; Feature request improve/update isearch Date: Tue, 06 Apr 2021 23:26:30 +0000 Message-ID: References: <20210405020725.ob7bewlin7cid4pa.ref@Ergus> <20210405020725.ob7bewlin7cid4pa@Ergus> <87mtubrzp3.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="XF2jkuYpxD" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18636"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Ergus , 47599-done@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 07 01:27:10 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 1lTv6E-0004kx-3M for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Apr 2021 01:27:10 +0200 Original-Received: from localhost ([::1]:52016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTv6C-00049E-Pr for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Apr 2021 19:27:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41382) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTv66-000493-4d for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2021 19:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59153) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTv65-0000c8-Tn for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2021 19:27:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lTv65-0004J2-QE for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2021 19:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Apr 2021 23:27:01 +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.161775159516518 (code D ref 47599); Tue, 06 Apr 2021 23:27:01 +0000 Original-Received: (at 47599-done) by debbugs.gnu.org; 6 Apr 2021 23:26:35 +0000 Original-Received: from localhost ([127.0.0.1]:42466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTv5e-0004IM-T9 for submit@debbugs.gnu.org; Tue, 06 Apr 2021 19:26:35 -0400 Original-Received: from heytings.org ([95.142.160.155]:56148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTv5c-0004IC-4w for 47599-done@debbugs.gnu.org; Tue, 06 Apr 2021 19:26:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1617751590; bh=EWiYNnH60Dvr4NW+T9YND/i8+4BRdMnf0E6ujCZnx0k=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=Fy6jWHF5iU5fuv+qZq7z2D1FlNrrDm9EvvG2GuTXqYpeylx4dH57LKbAGAVuSh5oo U4eVNFrGGwgKpUgAYQ84ifqj10DhO8sY0OCR3SMrkX1lY4tTEn2E/R9N8a0O8CkljB LnEFkEmitxnb+1qjoo2oSpEzhCKWZH+56MjT2FV2HRL2+vMafUMEi16DMgH9grNhng iFImxO+N6B6i/U/9UNhQ9fk7jchK0fQlVivx3zjLBdM1lhU3e0Y+Ewj+ni3Q7lm38+ ujJinVTAq/+1vnAbskhMorwxODDp8gb2XZjiiHccD3hfpbusXMIGOu1CdxojICFs+g Z+RT4/Q+trj7A== In-Reply-To: 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:203661 Archived-At: --XF2jkuYpxD Content-Type: text/plain; charset=us-ascii; format=flowed >>> While we're improving isearch, there is another minor change that I >>> think would improve its behavior, namely to go to the next/previous >>> match when changing the search direction, instead of hitting the same >>> match before moving to the next/previous one with the next C-s/C-r. >>> This change is so small that I'm not sure it's worth creating a >>> defcustom for it, but you might have a different opinion. >> >> Please do NOT do this. There are reasons we want to stay at the same >> search hit. > > Okay, so I have the answer to my own question: this should become yet > another user option. > And here is the corresponding patch. --XF2jkuYpxD Content-Type: text/x-diff; name=0001-User-option-to-move-to-another-match-when-changing-d.patch Content-Transfer-Encoding: base64 Content-ID: Content-Description: Content-Disposition: attachment; filename=0001-User-option-to-move-to-another-match-when-changing-d.patch RnJvbSA4Mjc2YTA4MDhhOTc4ZWIxMjRkMWE3MTYxNWE0OTk1ZTNiYzI3YmQy IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQ0KRnJvbTogR3JlZ29yeSBIZXl0 aW5ncyA8Z3JlZ29yeUBoZXl0aW5ncy5vcmc+DQpEYXRlOiBXZWQsIDYgQXBy IDIwMjEgMjM6MTk6MTkgKzAwMDANClN1YmplY3Q6IFtQQVRDSF0gVXNlciBv cHRpb24gdG8gbW92ZSB0byBhbm90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