From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#71927: 29.4; ibuffer-do-isearch and ibuffer-do-isearch-regexp not prompting for input Date: Sun, 07 Jul 2024 19:59:41 +0300 Organization: LINKOV.NET Message-ID: <86sewlgmte.fsf@mail.linkov.net> References: <86ikxltzhx.fsf@mail.linkov.net> <861q49a8vt.fsf@gnu.org> <86y16h8olf.fsf@gnu.org> <878qyh79ov.fsf@gmx.net> <86zfqxqi6e.fsf@mail.linkov.net> <87v81l5aal.fsf@gmx.net> <864j9581zr.fsf@gnu.org> <87r0c957v2.fsf@gmx.net> <86y16h6llv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28401"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) Cc: basil@contovou.net, Eli Zaretskii , Stephen Berman , kickingvegas@gmail.com, 71927@debbugs.gnu.org To: Eshel Yaron Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 07 19:02:38 2024 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 1sQVHa-0007I8-OH for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Jul 2024 19:02:38 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQVH4-0002Os-Do; Sun, 07 Jul 2024 13:02:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sQVGw-0002O6-Aq for bug-gnu-emacs@gnu.org; Sun, 07 Jul 2024 13:02:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sQVGw-0000ey-2q for bug-gnu-emacs@gnu.org; Sun, 07 Jul 2024 13:01:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sQVH0-0004zG-D9 for bug-gnu-emacs@gnu.org; Sun, 07 Jul 2024 13:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Jul 2024 17:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71927 X-GNU-PR-Package: emacs Original-Received: via spool by 71927-submit@debbugs.gnu.org id=B71927.172037171019151 (code B ref 71927); Sun, 07 Jul 2024 17:02:02 +0000 Original-Received: (at 71927) by debbugs.gnu.org; 7 Jul 2024 17:01:50 +0000 Original-Received: from localhost ([127.0.0.1]:49062 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQVGn-0004yo-RI for submit@debbugs.gnu.org; Sun, 07 Jul 2024 13:01:50 -0400 Original-Received: from relay2-d.mail.gandi.net ([217.70.183.194]:35225) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQVGl-0004yY-Nb for 71927@debbugs.gnu.org; Sun, 07 Jul 2024 13:01:48 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id C605640002; Sun, 7 Jul 2024 17:01:34 +0000 (UTC) In-Reply-To: (Eshel Yaron's message of "Sat, 06 Jul 2024 23:13:27 +0200") X-GND-Sasl: juri@linkov.net 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:288565 Archived-At: > Actually, there's another problem with the way ibuffer-do-isearch is > currently defined via define-ibuffer-op: the BODY of the definition is a > call to multi-isearch-buffers, but the BODY is called for each marked > buffer, not once for all of them, so this command currently calls > multi-isearch-buffers repeatedly when there are multiple marked buffers. > This causes multi-isearch-setup to be called while multi-buffer Isearch > is already in progress, which unfortunately breaks regular Isearch for > the rest of the session. > > To see this effect, invoke ibuffer-do-isearch with two or more marked > buffers, quit or finish the search (e.g. type C-g), and then try regular > Isearch with C-s and repeat C-s until wrapping around. But instead of > wrapping around as expected, Emacs displays an error: > > Symbol’s function definition is void: nil > > A simple solution is to use plain defun for these commands, as follows: I agree that plain defun would be better.