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#41633: Prompts incorrect for multi-occur and multi-isearch when using fido-mode Date: Tue, 06 Oct 2020 21:36:35 +0300 Organization: LINKOV.NET Message-ID: <87sgar8amk.fsf@mail.linkov.net> References: <877C203C-84D6-4093-AC35-160A9FFCDF2D@schwartzmeyer.com> <87a6x4wxbm.fsf@linkov.net> <877ds5rxgo.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39502"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: Andrew Schwartzmeyer , 41633@debbugs.gnu.org, joaotavora@gmail.com To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 06 20:46:39 2020 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 1kPryx-000AAi-9s for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Oct 2020 20:46:39 +0200 Original-Received: from localhost ([::1]:50304 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPryw-0003yS-CK for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Oct 2020 14:46:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPrra-00034L-RM for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2020 14:39:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42594) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kPrra-00077W-Hp for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2020 14:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kPrra-0004VV-Fc for bug-gnu-emacs@gnu.org; Tue, 06 Oct 2020 14:39: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: Tue, 06 Oct 2020 18:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41633 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 41633-submit@debbugs.gnu.org id=B41633.160200949917270 (code B ref 41633); Tue, 06 Oct 2020 18:39:02 +0000 Original-Received: (at 41633) by debbugs.gnu.org; 6 Oct 2020 18:38:19 +0000 Original-Received: from localhost ([127.0.0.1]:54136 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPrqs-0004US-VS for submit@debbugs.gnu.org; Tue, 06 Oct 2020 14:38:19 -0400 Original-Received: from relay11.mail.gandi.net ([217.70.178.231]:34443) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPrqq-0004Tp-BX; Tue, 06 Oct 2020 14:38:17 -0400 Original-Received: from mail.gandi.net (m91-129-102-160.cust.tele2.ee [91.129.102.160]) (Authenticated sender: juri@linkov.net) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 07613100005; Tue, 6 Oct 2020 18:38:07 +0000 (UTC) In-Reply-To: <877ds5rxgo.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 05 Oct 2020 08:36:07 +0200") 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:189928 Archived-At: tags 41633 fixed close 41633 28.0.50 quit >> @@ -1588,7 +1588,7 @@ multi-occur--prompt >> (concat >> "Next buffer to search " >> (cond >> - ((eq read-buffer-function #'ido-read-buffer) >> + ((bound-and-true-p ido-everywhere) > > Makes sense, I think -- I think pretty much the only way to have ido > enabled in these two functions is to have ido-anywhere enabled? On the > other hand, perhaps somebody bound read-buffer-function "manually" here, > so perhaps something like > > (or (eq read-buffer-function #'ido-read-buffer) > (bound-and-true-p ido-everywhere)) > > would be slightly more correct? Ok, let's use both. So closing this again.