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: 28.0.50; Feature request improve/update isearch Date: Tue, 06 Apr 2021 21:01:48 +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="IBJE34vvzT" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30072"; 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 Tue Apr 06 23:02:11 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 1lTspu-0007hf-Jy for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Apr 2021 23:02:10 +0200 Original-Received: from localhost ([::1]:55832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTspt-0004eh-Lt for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Apr 2021 17:02:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTspl-0004e1-UH for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2021 17:02:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58576) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTspl-0008Vu-LO for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2021 17:02:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lTspl-0006ek-Jg for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2021 17:02: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 21:02: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.161774291225569 (code D ref 47599); Tue, 06 Apr 2021 21:02:01 +0000 Original-Received: (at 47599-done) by debbugs.gnu.org; 6 Apr 2021 21:01:52 +0000 Original-Received: from localhost ([127.0.0.1]:41889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTspc-0006eK-J2 for submit@debbugs.gnu.org; Tue, 06 Apr 2021 17:01:52 -0400 Original-Received: from heytings.org ([95.142.160.155]:55936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTspa-0006eB-I1 for 47599-done@debbugs.gnu.org; Tue, 06 Apr 2021 17:01:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1617742909; bh=ZTNQXHMVw7tc11Td39tkKumRhSdI6OWF2vf6bCoV9yo=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=R/PdxTefb3+/cgh2dRvD9ZLkrjg3/gYmQkTUSKnCIDkxePigG100gA2EKn21TEBR1 Xwd10Lizo+pg/1kuNNaybRPvgT7+flWtS3j07bs2z86J2H/jdzqh6yOeEGEH/pXpun lvVrU+pnN9g/ciNXgPuMuZAUvqvLEkdy7nTpx6kP5xkxmXX/O0NvwY2Vwy43RaAT/i 4fUtoLhkefrpoQpBQynG2T7xC/OUZnvvo+geK1toeUgd+QKn/aqFdYpsARWlHCRYbe PUy2voTLIqYnrziibcAFlITZ7mTMESW7MS1liGdaJPEWbQqZeT0eyT5/PrCq9FaLZ9 5MhbKBNd4eODg== In-Reply-To: Content-ID: 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:203652 Archived-At: --IBJE34vvzT Content-Type: text/plain; charset=us-ascii; format=flowed Content-ID: >>> 1) Option or command to automatically go to the other end on exit. >> >> It seems the conclusion was that it should not be an option. As for a >> command, there were objections against binding it to a key, but without >> a keybinding such command has little sense. > > I attach a patch which implements these two "options" in isearch-exit. > And of course my patch had an error ;-) --IBJE34vvzT Content-Type: text/x-diff; name=0001-Add-options-when-exiting-isearch.patch; charset=us-ascii Content-Transfer-Encoding: base64 Content-ID: Content-Description: Content-Disposition: attachment; filename=0001-Add-options-when-exiting-isearch.patch RnJvbSA3NTRmODk1M2QyNDczNGE4YTcxYmM2NzA1ZjE1NmY5OTgxZWQwNjdk IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQ0KRnJvbTogR3JlZ29yeSBIZXl0 aW5ncyA8Z3JlZ29yeUBoZXl0aW5ncy5vcmc+DQpEYXRlOiBUdWUsIDYgQXBy IDIwMjEgMjA6NTk6NDYgKzAwMDANClN1YmplY3Q6IFtQQVRDSF0gQWRkIG9w dGlvbnMgd2hlbiBleGl0aW5nIGlzZWFyY2gNCg0KKiBsaXNwL2lzZWFyY2gu ZWwgKGlzZWFyY2gtZXhpdCk6IEFkZCB0d28gb3B0aW9ucyB3aGVuIGV4a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