From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.devel Subject: Re: Simple isearch concerns Date: Fri, 30 Apr 2021 09:07:28 +0200 Message-ID: <87bl9wcksv.fsf@gmail.com> 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> <20210403174508.xwr5uc36dzityitn@Ergus> <87wnsurdr7.fsf@gmail.com> <87fszij6to.fsf@mail.linkov.net> <87v98asulc.fsf@gmail.com> <87pmyimiwd.fsf@mail.linkov.net> <87bla11u5q.fsf@gmail.com> <87lf937hgk.fsf@mail.linkov.net> <87y2d1ksga.fsf@mail.linkov.net> <87r1it7zfw.fsf@gmail.com> <87v98466it.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10626"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: Philip Kaludercic , emacs-devel@gnu.org, Manuel Uberti , Gregory Heytings , Ergus To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 30 09:11:43 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 1lcNJO-0002fm-OT for ged-emacs-devel@m.gmane-mx.org; Fri, 30 Apr 2021 09:11:42 +0200 Original-Received: from localhost ([::1]:59688 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcNJN-0007wn-RC for ged-emacs-devel@m.gmane-mx.org; Fri, 30 Apr 2021 03:11:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcNFO-0003y6-9A for emacs-devel@gnu.org; Fri, 30 Apr 2021 03:07:34 -0400 Original-Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]:38889) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcNFM-0005g2-M9 for emacs-devel@gnu.org; Fri, 30 Apr 2021 03:07:34 -0400 Original-Received: by mail-ej1-x634.google.com with SMTP id r12so103702450ejr.5 for ; Fri, 30 Apr 2021 00:07:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=EQ/X05E/A1X60PI46ed9mI4NNBWhkV/27NEjMfswQfk=; b=J1jhnSG8wSFHvVatyTNpJKYfZbXTcIch37Q/rbBH+JLM0pMitPblbo3B25GWgn504i aV4nngUD+XI/3IK5qsDNVWUR1pspVw8rDSsgyTRK4wwfHVNFanMeB0Iz6PHRzuT1X/fP 2DSGkwYAdGVvQ2jwM+QIvlGF/fvnLDuqqOmBER8naNnc6ZGuVeFx8Tl8AyJ9RO0qdsIn cFBU/LTwt/fN6ghxu/1nRkYcx2NZtAM7pqNsv5OcSKQxjywS+lSTyiueft7GQ/vsRVWK w/GnHg1h9AiSzYqqG5gX4swlTiLoiHifMYq7GtlH/+YlaG5swO3ft12HgleHcSPi7L4n NezA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=EQ/X05E/A1X60PI46ed9mI4NNBWhkV/27NEjMfswQfk=; b=A+sofMc3vHvbNb7icwINFG5R5WiZ5zphnVSX39LmnS3dFPwdMYzeb3bjDIMrPu4vZL K9tnH5lvxKG+UgszFGYTJ7OyzPzz5N5VPGkqsE6viu9/DIanOz2NwBk/yfOsdalTNwtN A2qBqnbZUWwM97G/vzQVzKSCv5++2mGHZX2KgfMjLeXhB3LxckICCnRAf/6j8fsP5DJH LHRsVzt5D0NnFhuEYyzWER+djgcASRnTQ1kmAwzn9RlrZ34EJclU20HntGDco4XXi+59 RQREgvmPSGiHz59u6t9+zEqsWkfgyD0FEL3LbMPcu8f3uJngnSXMWpZZ6QBPWrxbAIhA C1+A== X-Gm-Message-State: AOAM532g0lxqkvIGb/VrV6Od0qSkKy2EI6Sl/JVeKuHkAtJmUEjbrmgp b0EffRfJEo1yRlqBpBPUTrY+tT85N1ndGw== X-Google-Smtp-Source: ABdhPJzU409GV0/BxKs9PdHmUeFruUAeFkAbIAeFrvgLNvL5AUQ8Wq3DsJMEIA9cDbwMKjHu/EAjwQ== X-Received: by 2002:a17:906:d0c5:: with SMTP id bq5mr542982ejb.340.1619766449654; Fri, 30 Apr 2021 00:07:29 -0700 (PDT) Original-Received: from ars3 ([2a02:908:2211:8540::68a]) by smtp.gmail.com with ESMTPSA id y10sm1375427ejh.105.2021.04.30.00.07.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Apr 2021 00:07:29 -0700 (PDT) In-Reply-To: <87v98466it.fsf@mail.linkov.net> (Juri Linkov's message of "Fri, 30 Apr 2021 02:00:10 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=arstoffel@gmail.com; helo=mail-ej1-x634.google.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, 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:268654 Archived-At: > Thanks for the experiment that demonstrates how it's possible > to implement this feature for all Emacs versions. > > Now the question is whether it's worth to have this feature > in isearch.el where adding it will allow simplifications. Agreed. I don't have a formed opinion yet. If it's decided against changing isearch.el in this direction, I would like to submit isearch-mb as an ELPA package. > What would be good customization options for that? I imagine > a new boolean option 'isearch-buffer-local'. Maybe later > it would require a new value to support even multiple isearch > sessions in different buffers. In this case, all state variables > like isearch-cmds, isearch-lazy-highlight-overlays etc. could be made > buffer-local. I don't understand why `isearch-buffer-local' should be a user customization, since it doesn't change the external behavior of Isearch, but simply improves the implementation. It might break third-party code that hacks into isearch.el, though.