From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#47599: 28.0.50; Feature request improve/update isearch Date: Mon, 5 Apr 2021 04:07:25 +0200 Message-ID: <20210405020725.ob7bewlin7cid4pa@Ergus> References: <20210405020725.ob7bewlin7cid4pa.ref@Ergus> Reply-To: Ergus Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6393"; mail-complaints-to="usenet@ciao.gmane.io" To: 47599@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 05 04:08:12 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 1lTEew-0001WD-3T for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Apr 2021 04:08:10 +0200 Original-Received: from localhost ([::1]:46014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTEeu-0005tC-JL for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Apr 2021 22:08:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTEeo-0005sv-C6 for bug-gnu-emacs@gnu.org; Sun, 04 Apr 2021 22:08:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53362) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTEeo-0004dv-4u for bug-gnu-emacs@gnu.org; Sun, 04 Apr 2021 22:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lTEen-0001Yp-Ti for bug-gnu-emacs@gnu.org; Sun, 04 Apr 2021 22:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ergus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Apr 2021 02:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47599 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16175884755985 (code B ref -1); Mon, 05 Apr 2021 02:08:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Apr 2021 02:07:55 +0000 Original-Received: from localhost ([127.0.0.1]:36675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTEeg-0001YT-IX for submit@debbugs.gnu.org; Sun, 04 Apr 2021 22:07:55 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:47624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTEec-0001YJ-Bf for submit@debbugs.gnu.org; Sun, 04 Apr 2021 22:07:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49120) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTEec-0005sL-49 for bug-gnu-emacs@gnu.org; Sun, 04 Apr 2021 22:07:50 -0400 Original-Received: from sonic305-3.consmr.mail.bf2.yahoo.com ([74.6.133.42]:45095) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTEeZ-0004UT-Km for bug-gnu-emacs@gnu.org; Sun, 04 Apr 2021 22:07:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1617588466; bh=I+vkzMsnPsLsPLGA+UkyHqePfnTgkiOxv42n14/XkmM=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=tdbp4ymSzWX4XL7NerhZ8wmUVWIQZ2/q+s18WXTpBCyU9SBr+OuSvZsdASwAODfwCDoiFQF393DkXgjaXesAZS0pGygVMtszxFJC/iQqLWTEmsmiQR6bRtUDA9ByykWyK4zxQYcFZ3mUrcjl5J65F/iTSMrMny9cknouOMmTZB+x431OTKG2ea2/lhAwwMiXXCsG6MRvZRP+zOwwOSZ+3GvC+9YX5FW8PQO4Tbay7knEj9jTx17+eOUxr/Kk8QXrSQUgwCoLdDzdyht2e65Q7wC1A0nIN+DUn01WqTVZHIHm1jKBfq6cJn19kBGNJxE1lY9mHV+dQQw3ueRhOb74NQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1617588466; bh=4l15jlVaa1HipO7kUB03/rJTO8eAOsUQnnOtJZbhKcB=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=GXk0aFMqN/6eoTHSnngUAyqdcLvlAOmhEZVQFeabb/ZEK0wtwKWka4hYXnp1Yz9boDVpDQQ+ZpqV/STusiXNLiXYilvFg+xC1edLs10iS+chokZjyg6MyX41S3JhI0jAKjWbenyACVENqFLb3iaA0byA8XTPqikiODEMcdKGxFxojokJ/2k+IgSIhb2V2wix8JUmANGkJuoWPVtK3UclqGZ543J98HXihMJVlQ01ui6i74O/IV2l8/jaGpDEBIe8vx3C304KTYNPrgM9X2Fn3JUANLcM+q6g8OSsIVLglbQFDkeTotBs2fCTovcWJKVRdO5gUc+IH+yoB4zbiOBnVQ== X-YMail-OSG: pBhfrbcVM1moVSc2Frr2_DGohUlXDganzzTtpnZ7HiDJR0oAa0FvjWOyKwA6KjT .HYLsDiKIr140eIJSMq.xaMVx80Pov.dPhKwu4dlIqNGbvbGq_TAeXpFZtUsL4grSYGevOI_KZpb TxHJNA22_OuKEjuRJRWTSZfpwFg7t1bbiT_pWLtCJvxV0qCYNmg4gnjCL8UFwdNw_Z9zJtPxdJId Cb3k24fqVU6uxehoHzvEc0bYN5FM2_zNmMswBVIN3E2XYllZLWFuF3WRTzDQG5atRXf1CjtOC._I ._iEBgvwhsWDAwTU6aBuit3gigLBb.Sujyo29kbiInw_rPdK_kchfB1BtgrSsVpDEShazqIV0VJJ epd5EnpIzantks_lLlMucorA9HfYm_R9FuOep2F_fx.hU0pslYTUS_.cJzjY4WLKxVk11_3sy7A0 X7o2IzxBM0tww9dMSBNrB67gCJ3_J8J3cHD8Z8nNsGmy.2_ifQHhOx.gHi5L0703TOFXtAGxdmrb kcrxgpMHKXEQj8FaA0L6NKY1mZalBWDVzNj.NijagMi3eZM6UtrtC3eV_Q3pvC.VAoc8tTOek.Kk OXIxMwbF2zkcNbFXX6the8KYgCvRePOw08GEa2g3lYacRmSWZMHujhwgRy77DMTGqv10nneXyYqi goqIyGPW5DRtwaduYmW_VfsHLll1mFFD_5VAOofv3zyN1Rsuj4GZusNVGD3Nx.7aJmhKraKNaG8Y _z_XZVO6Gq.dF2gOHxlIb1spX4KspVB09r2y8pnlj2uhEmfkKrLtu7P7dNQnaXI598pChzV7ILNb 3Bzc1.prLuYkSWHGSB5Yzcr4QXn5FiC4.bCtEltGyW X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.bf2.yahoo.com with HTTP; Mon, 5 Apr 2021 02:07:46 +0000 Original-Received: by kubenode517.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 7bc32b712e72c22bcc95f68a393fe027; Mon, 05 Apr 2021 02:07:43 +0000 (UTC) Content-Disposition: inline X-Mailer: WebService/1.1.17936 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Apache-HttpAsyncClient/4.1.4 (Java/16) Received-SPF: pass client-ip=74.6.133.42; envelope-from=spacibba@aol.com; helo=sonic305-3.consmr.mail.bf2.yahoo.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:203578 Archived-At: Hi: Just to follow this: https://lists.gnu.org/archive/html/emacs-devel/2021-04/msg00080.html I open a feature request to suggest some updates in the isearch code and the addition of some simple functionalities like: 1) Option or command to automatically go to the other end on exit. 2) Convert isearch-wrap-function, isearch-push-state-function, isearch-filter-predicate into customs instead of use defvar, improve a bit their documentation and provide some handy options. 3) Make some general refactor of isearch code to simplify and remove some redundant or useless checks, vars and code. Update the code to use some useful modern api like define-minor-mode or easy-mmode-defmap. There are some external packages that reimplement the isearch functionalities or hack it to produce some of these functionalities/behavior and maybe (as an extra) we could consider add some customs to make isearch behave like a bit like that; because most of them are not very different to what isearch already does now. Example: https://github.com/raxod502/ctrlf Some of the differences where mentioned already here: https://lists.gnu.org/archive/html/emacs-devel/2021-04/msg00108.html