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: Thu, 22 Apr 2021 09:15:40 +0200 Message-ID: <87wnsurdr7.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38424"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: Philip Kaludercic , Manuel Uberti , Gregory Heytings , emacs-devel@gnu.org To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 22 09:43:19 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 1lZTzZ-0009oU-Ug for ged-emacs-devel@m.gmane-mx.org; Thu, 22 Apr 2021 09:43:17 +0200 Original-Received: from localhost ([::1]:35092 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZTzZ-00026W-1L for ged-emacs-devel@m.gmane-mx.org; Thu, 22 Apr 2021 03:43:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56010) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZTYv-0007bs-Us for emacs-devel@gnu.org; Thu, 22 Apr 2021 03:15:45 -0400 Original-Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]:33518) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZTYu-0003Vf-7N for emacs-devel@gnu.org; Thu, 22 Apr 2021 03:15:45 -0400 Original-Received: by mail-ej1-x634.google.com with SMTP id g5so60482870ejx.0 for ; Thu, 22 Apr 2021 00:15:43 -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=o5OWuc0rwL7/O94ML2IxxKeNlGSvUCjYmxWn+/w5XHI=; b=VztXUj6iz/xVzi2jKPqHu5ly+uFRVuZeUMxb/lFZK9rCI/sq89MLVxLF/e4/YUep1/ Bs1oP50xUKnVISKdZN47jZoOm+yHTn1clptrNNdz00vKJ9LBNnzwesRjWj5WQaWQbezF wufmpCkCSXIhfPrw55CenDpszvWicZJx+0+bm4yLg0nKu3ywsx/P9Lle94jH3mFUVnPb MA3Ux1shtm0DGisxjxhBLUTQwBTvs7RI9+STLOLTxwFo8+cHeM67bVGX9BMYarMZGblk wt1rgzW12jJXtG/Wv/vCAoQHWBqe0cQ2CCDmJ84BhLHA9APW+D3KTpRqWpokTKkXB/pa rKAw== 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=o5OWuc0rwL7/O94ML2IxxKeNlGSvUCjYmxWn+/w5XHI=; b=E+/CsipwlSPmcfTKJ0B/D9BPlznbsGk1eNCpFW5fOJ4G78zzf1Z0i86WrLZbGS+3w+ 1LCpondoguYKK5YsuJYhd/gUW/RTyVUfubc+f27hwZ1a6h/BdAWwOFGXyL8CbZPbmMjG KaSMMyDREdP6nNc6H/omkJPv+ExKk6u2ZGI5YcUsQumBQdlEbwqeTkUuRP7d5+xNuUXF GeCD5JHLkv8YyJvcSOyf7mPgWs3yjqZ39co/yHdWWRisheamyBnSjwF0LoAna7/rI7GV Z2DkLEtHuSca9pk1Nnnp9yYtEHNJRx45JQNDQjhOAqW1uhveASiJHOvsjPuWz+WhUmpJ Ay6Q== X-Gm-Message-State: AOAM533h2EQ5Er1xEe/IPUjm/3IjGfZJr9+yWCI0B5i55u2YQeIWtYP9 id95LfsBz8p+XQDBXIjkXmGc8hBQtHo= X-Google-Smtp-Source: ABdhPJwslfIJirH4cxyj4acApnpZT9BmoelRvrBVc9sK/IlbyL4qPDnjJcdbnDlxjht5T6OGOw/gTg== X-Received: by 2002:a17:906:8812:: with SMTP id zh18mr1857469ejb.342.1619075742153; Thu, 22 Apr 2021 00:15:42 -0700 (PDT) Original-Received: from ars3 ([2a02:908:2211:8540::68a]) by smtp.gmail.com with ESMTPSA id bu8sm1351527edb.77.2021.04.22.00.15.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Apr 2021 00:15:41 -0700 (PDT) In-Reply-To: <20210403174508.xwr5uc36dzityitn@Ergus> (Ergus's message of "Sat, 3 Apr 2021 19:45:08 +0200") 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-Mailman-Approved-At: Thu, 22 Apr 2021 03:41:55 -0400 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:268262 Archived-At: On Sat, 3 Apr 2021 at 19:45, Ergus wrote: > 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. FWIW, I've worked on something like that a while ago: https://github.com/astoff/isearch-mb/ It's a minor mode that makes Isearch read the search string from the minibuffer instead of hijacking typed characters. This makes it easier to edit the search string and harder to quit the search. It has some advantages over Ctrlf, such as not hanging on large buffers and retaining the fancy wrapping of Info-mode. Alas, it doesn't work out of the box with every third-party Isearch extension (e.g., consult-isearch, loccur-isearch or pdf-tools). If there's interest to bring something like isearch-mb into Emacs, I'd suggest to integrate it into `isearch-edit-string'. Thus, among other things, `C-s' and `C-r' would search without quitting the minibuffer.