From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: Simple isearch concerns Date: Sat, 3 Apr 2021 19:45:08 +0200 Message-ID: <20210403174508.xwr5uc36dzityitn@Ergus> References: <20210403001539.x4rb55dvh46rmhb3.ref@Ergus> <20210403001539.x4rb55dvh46rmhb3@Ergus> <2599ffef-4f70-025c-5f9c-61b9ac94faf8@inventati.org> <87eefrbo9k.fsf@posteo.net> <7473b27b2b479f5686af@heytings.org> <87tuon9vf1.fsf@posteo.net> 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="6455"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Gregory Heytings , Manuel Uberti , emacs-devel@gnu.org To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Apr 03 19:46:27 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 1lSkLq-0001Xt-JR for ged-emacs-devel@m.gmane-mx.org; Sat, 03 Apr 2021 19:46:26 +0200 Original-Received: from localhost ([::1]:38236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lSkLp-0007mu-FW for ged-emacs-devel@m.gmane-mx.org; Sat, 03 Apr 2021 13:46:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSkL2-0007LX-97 for emacs-devel@gnu.org; Sat, 03 Apr 2021 13:45:36 -0400 Original-Received: from sonic304-9.consmr.mail.bf2.yahoo.com ([74.6.128.32]:35360) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lSkKz-0006ur-6M for emacs-devel@gnu.org; Sat, 03 Apr 2021 13:45:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1617471931; bh=o+kVdh0uWhTIFy8VfZrjqsCUbc8WjFANridC5MvVzKs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=j9A+UHueWVp5vrZcc6cWw88ZVOFNJWZuObkarwqui5oUpKLZUVEmKMetJEjPS8B3apTHGLbJx4pKrddMU9P4L/lmIrYUP5d9f4tGFpizrBTKUD3N6YbEsqVNwLmoS3sObLNFRxPdas3ImchNyWx9N7g1akCiGbYnm9hobWgjB0Cg0ig2tY+t5y7x9xynNHbzyl41wHnYsIcoZHIXYDqF2MX6/v37Vbm1JXPpAex4q5ZyFbqU7bMBevrvF+at1NqudgWxgthmZRqD+pyXJTTjhtgAUH9nLv60QcNcUsrxaQQkqUi+Q80RsvIl+fCJje08yD9CNTJTCIuaJaFHBo8Z8A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1617471931; bh=ad9MZoyMmIF89CT5AmrVPg6iIhNe1/nvYTvBnZH33f2=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=sWg9Ykt7g46WAlamJ1pAtS+tr3uP4Zn/DOzPpoiHBxyGZx0wHw25DGHfwUcP37/b9SF1KRjqCYiieM8GJpsxLb6wYrpd6QTFN6YgVy3j2otNZWLStboerlmgDqrvZQH7AXYGx4OiZXZcyeiC2mu0RLzH2CJ59IRajNlrj1386lle9nsp5WxD61pYChjY9gxGADNvhhbvkYXZ3jYD/w/iBlz7kIqXX1ggg29Vqa8Oi0fE5QgL020/vOmLsqPSpIQs7YxrzvtJija7d8PNs1CW8lqSDlJhjUkkkSZ/8NLpE3r4ewM5hsDKtLcdnOxcyxwgVuo2AGR4SGMoTwKZlKZ3GQ== X-YMail-OSG: uQ4z9.0VM1nc2nxoBRyduLeyyXH2RSrCAXaFIlfVdO6kWKjH5RW2gm6Q8fl_6HK IU9Frv1A1LyXGv81NnKUcPUiMhSgGIkrPVlKLYyx9JnR6mqjA92I1H6r2v0ko0PYzXvUMUVnMpfk 1_FiIxuWczJcc1vr_5twA1Ng55wXaLB0GwhUzU6XsZWkh.XEnROupvQCayT6IpFsVVVvGvQklgfW UkN9CwplcTviXYI6klmbQJ2YuHMTyGKj6lLdBoVLPZL3yipZ_mZ54fZV25sG5FV9HtmMk3iWjaPv 9AAlBJJHLYDaj5IU1l5ghrV1zIsEOd3gcz.C2gly93yaFVnwkW8ZEXvo551n3MPYfhwhldmVfSSc xyKcLCGmSbbIzNBhxSNqVvOdI7WkhHRazdkKUlm76HoPgdQ7AayaEle7KcR6BJD3TAdCJIFNIX2p jsBMQoy_T7jcf8dMeyQR5NnCSCHwN318OuaeTLfg4Kqg9qvS4lij1J6FSNUjKLvkGHu6nG0Rydap PwdA1jnbNx.ZU5gp64OC1Q9M6.Tg8ACfpBgnASWkhB2IB5lpreTJCS2AVxYTJfL2O.OO4QUMHJWA 1R4zzit2uY.idyNJptMzqjAjpiIeRi5upyoO5PJpHBX2X_LYpgWqsK5QTPArjRptJ8iw0NUCMpGM OA9uYijqE0UzpSl4e349Nka8BhXx4m61xumRW_3HMpKiydGNxYCcf.Yw8b0CcUMa9Fa6DO.qEKub EosFmh3wpknFKETCq6.DFaEglDTWvc7R7OW8.YyTuKuz8cGT72TJxO.V151LRqH1RT_ayoFF1ZYy KGmRivwiQFEyYfyAe5l_QCu6QOndXhk_bSDKcwXT3x X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.bf2.yahoo.com with HTTP; Sat, 3 Apr 2021 17:45:31 +0000 Original-Received: by kubenode512.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 76f02f6c18455bbec908db4292d8ab44; Sat, 03 Apr 2021 17:45:24 +0000 (UTC) Content-Disposition: inline In-Reply-To: <87tuon9vf1.fsf@posteo.net> 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.128.32; envelope-from=spacibba@aol.com; helo=sonic304-9.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: 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:267356 Archived-At: Yes. IMO the difference with CTRF is minimal; probably nothing that couldn't be implemented in isearch with a couple of custom variables and bindings more or less without too much effort. In any case; my initial question was more related with the fact that isearch seems to be a bit outdated compared with the rest of the emacs code. Needing a hook to go to the other end instead of having a simple custom, or rebinding a variable that is not in customs to something undocumented like #'ignore is not what a user expects from an editor at least not in 200... sorry 2021. Details like the defvars instead of customs or the lack of some basic options, or the fact that it is not using any modern api like define-minor-mode, easy-mmode-defmap, makes me think that maybe some good lisper should make some cleanup there, simplify the code, convert some defvars in documented customs and remove many redundant variables, code and checks. It is a very basic and important part of emacs, that every user will use for sure and relying on external packages for something too basic is not a good idea in my opinion (and a bad symptom). I am not asking for any change in default behavior or complex extension, or functionality. And I don't try to do this myself because a key functionality like this should be in hands of the professionals that know all the details. Should this go into a bug report as a feature request? On Sat, Apr 03, 2021 at 06:37:06PM +0200, Philip Kaludercic wrote: >Gregory Heytings writes: > >>>> Along with the package mentioned by Thierry there is CTRLF[1]. >>>> >>>> [1] https://github.com/raxod502/ctrlf >>> >>> I tried this package a few months ago, but still do not understand >>> what it does differently from isearch. >>> >> >> This is explained on [1]. I'm not sure I understand all arguments, >> but what I understood is: > >I too have read the README and have installed the package, but even >then, I cannot really notice any specific difference. Something *feels* >different, but I cannot pinpoint what it is. > >I am probably used to isearch on some more intuitive than conscious >level to really say what the difference is. > >-- > Philip K. >