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.devel Subject: Re: Simple isearch concerns Date: Sat, 10 Apr 2021 23:55:50 +0000 Message-ID: <5cf18ab57c2f342d30ec@heytings.org> References: <20210403001539.x4rb55dvh46rmhb3.ref@Ergus> <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> <83r1jj7bhg.fsf@gnu.org> <940751cee5acf0f913df@heytings.org> <83eefj705i.fsf@gnu.org> <940751cee53181aedd72@heytings.org> <83a6q67gme.fsf@gnu.org> <5cf18ab57c8becad2999@heytings.org> <83pmz25sdr.fsf@gnu.org> <5cf18ab57ca5d2cc99ad@heytings.org> <8735vxbwju.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="4DD89r9v3j" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8907"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , spacibba@aol.com, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 11 01:57:08 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 1lVNTQ-0002Dm-2E for ged-emacs-devel@m.gmane-mx.org; Sun, 11 Apr 2021 01:57:08 +0200 Original-Received: from localhost ([::1]:42052 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lVNTP-00012e-2v for ged-emacs-devel@m.gmane-mx.org; Sat, 10 Apr 2021 19:57:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVNSG-0000VU-93 for emacs-devel@gnu.org; Sat, 10 Apr 2021 19:55:56 -0400 Original-Received: from heytings.org ([95.142.160.155]:37436) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVNSD-00077L-Kh; Sat, 10 Apr 2021 19:55:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1618098950; bh=QxRfV0XMbywTjJmW9MXC5j02q88dsPl87+dnxCCmKc0=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=KilzyAnMbPicZ4cENHTL91Mrhio1yH0g/TEezNpAjwnkfRAA9g3xdZaGzsfwFUYEp /aD0yhTJMuelmD6olZ88riHfo0RocTa9F+J2FoYkY9E7//QQPPQloSO3+81E0DDn4W iuDtSZttA62KNbG33xOc1uaORgYBfM5NaLftKYVw3TgvR6VykWPnOWtTiD4xZo37no hajnzFGlX4Y88xaQy1GY+4raaQyzbHSTQV7zVvbOV3QX48stDtWgCFaEGhOjS5R7gk qTHES8Q7v1kY1b54Sm55KssZfSZq1x5wQ2HEq4mykfTipGFjfzfqB6sV7VMkDzVguS pTkIBhOOkyhgQ== In-Reply-To: <8735vxbwju.fsf@mail.linkov.net> Received-SPF: pass client-ip=95.142.160.155; envelope-from=gregory@heytings.org; helo=heytings.org 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, SPF_HELO_PASS=-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:267847 Archived-At: --4DD89r9v3j Content-Type: text/plain; charset=us-ascii; format=flowed > > I get much better scrolling experience with these properties: > > (put 'scroll-up-command 'isearch-motion > '((lambda () (goto-char (window-end)) (recenter 1 t)) . forward)) > (put 'scroll-down-command 'isearch-motion > '((lambda () (goto-char (window-start)) (recenter -1 t)) . backward)) > > so only new unseen matches are highlighted. > Indeed, I tried them, and I agree with you that these properties give a better experience. >> + (when (and isearch-success (not isearch-motion-changes-direction)) >> + (unless (eq direction current-direction) >> + (let ((isearch-repeat-on-direction-change nil)) >> + (isearch-repeat current-direction)))) > > This 'isearch-repeat' is broken when the new option > 'isearch-repeat-on-direction-change' is customized to t. > Fixed. > > Also in this case the old commands isearch-beginning-of-buffer and > isearch-end-of-buffer are broken too. Maybe you need to wrap their > calls of 'isearch-repeat' with > > (let ((isearch-repeat-on-direction-change nil)) > (isearch-repeat 'forward arg)) > Indeed, it is necessary to let-bind isearch-repeat-on-direction-change to nil there, like elsewhere. I attach a separate patch, because it's not related to the isearch-allow-motion patch. --4DD89r9v3j Content-Type: text/x-diff; name=0001-New-user-options-to-move-between-isearch-matches.patch Content-Transfer-Encoding: base64 Content-ID: <5cf18ab57cb462b02947@heytings.org> Content-Description: Content-Disposition: attachment; filename=0001-New-user-options-to-move-between-isearch-matches.patch RnJvbSA0YmNjNDhlNzg2NDlkOTAzZjdjNWE5MWUzMmM4MGY3ZWZhNzEwNWYw IE1vbiBTZXAgM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2t3YXJkKSkpKQ0KKyAg ICAgICAgKGZ1bmNhbGwgZnVuY3Rpb24pDQorICAgICAgICAoc2V0cSBpc2Vh cmNoLWp1c3Qtc3RhcnRlZCB0KQ0KKyAgICAgICAgKGxldCAoKGlzZWFyY2gt cmVwZWF0LW9uLWRpcmVjdGlvbi1jaGFuZ2UgbmlsKSkNCisgICAgICAgICAg KGlzZWFyY2gtcmVwZWF0IGRpcmVjdGlvbikpDQorICAgICAgICAod2hlbiAo YW5kIGlzZWFyY2gtc3VjY2VzcyAobm90IGlzZWFyY2gtbW90aW9uLWNoYW5n ZXMtZGlyZWN0aW9uKSkNCisgICAgICAgICAgKHVubGVzcyAoZXEgZGlyZWN0 aW9uIGN1cnJlbnQtZGlyZWN0aW9uKQ0KKyAgICAgICAgICAgIChsZXQgKChp c2VhcmNoLXJlcGVhdC1vbi1kaXJlY3Rpb24tY2hhbmdlIG5pbCkpDQorICAg ICAgICAgICAgICAoaXNlYXJjaC1yZXBlYXQgY3VycmVudC1kaXJlY3Rpb24p KSkpDQorICAgICAgICAoc2V0cSB0aGlzLWNvbW1hbmQgJ2lnbm9yZSkpKQ0K ICAgICAgOzsgSGFuZGxlIGEgc2Nyb2xsaW5nIGZ1bmN0aW9uIG9yIHByZWZp eCBhcmd1bWVudC4NCiAgICAgICgob3IgKGFuZCBpc2VhcmNoLWFsbG93LXBy ZWZpeA0KICAgICAgICAgICAgICAgIChtZW1xIHRoaXMtY29tbWFuZCAnKHVu aXZlcnNhbC1hcmd1bWVudCB1bml2ZXJzYWwtYXJndW1lbnQtbW9yZQ0KLS0g DQoyLjMwLjINCg0K --4DD89r9v3j Content-Type: text/x-diff; name=0001-Fix-behavior-of-isearch-beginning-end-of-buffer.patch Content-Transfer-Encoding: base64 Content-ID: <5cf18ab57ce69e76736d@heytings.org> Content-Description: Content-Disposition: attachment; filename=0001-Fix-behavior-of-isearch-beginning-end-of-buffer.patch RnJvbSA4ZWEzOTczNjFjYmUzMDJhYzQ5NjAxNjUy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