[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#71927: 29.4; ibuffer-do-isearch and ibuffer-do-isearch-regexp not pr
From: |
Stephen Berman |
Subject: |
bug#71927: 29.4; ibuffer-do-isearch and ibuffer-do-isearch-regexp not prompting for input |
Date: |
Thu, 04 Jul 2024 15:32:05 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
On Thu, 04 Jul 2024 15:50:56 +0300 Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Stephen Berman <stephen.berman@gmx.net>
>> Cc: Eshel Yaron <me@eshelyaron.com>, kickingvegas@gmail.com,
>> 71927@debbugs.gnu.org, basil@contovou.net, jpw@gnu.org,
>> juri@linkov.net
>> Date: Thu, 04 Jul 2024 12:06:40 +0200
>>
>> >> FWIW, AFAICT everything is working correctly, it's just that the
>> >> "Operation finished" message hides the prompt. ibuffer-do-isearch
>> >> should tell define-ibuffer-op not to display that message, somehow.
>> >
>> > I don't see how this could be considered "correct": the "Operation
>> > finished" message is supposed to be shown only after the Isearch is
>> > finished in all the marked buffer, not before. It looks like we need
>> > a function that will not return until all the buffers where searched,
>> > because that's what define-ibuffer-op expects. Don't you agree?
>>
>> The attached patch appears to DTRT, but I only tested it briefly.
>
> Thanks, but does it really make sense to change define-ibuffer-op to
> fix the functions which (evidently) use it incorrectly? I think the
> fix needs to be in the same place where the bug is.
That's what I thought, too, but I don't see a way to do that, because
define-ibuffer-op hard-codes displaying a message at the end of the
body. But in this case that message seems superfluous, in addition to
hiding the isearch prompt, because when isearch goes through the marked
buffers, it then displays its own message that the operation is
complete. So this looks like a case when define-ibuffer-op is currently
too rigid. However, I acknowledge that I don't really grok the
interaction with isearch, i.e., why the "Operation finished" message is
shown although isearch hasn't even begun. But AFAICS suppressing the
message as in the patch does allow isearch to proceed and complete as
usual.
Steve Berman
- bug#71927: 29.4; ibuffer-do-isearch and ibuffer-do-isearch-regexp not prompting for input, Charles Choi, 2024/07/03
- bug#71927: 29.4; ibuffer-do-isearch and ibuffer-do-isearch-regexp not prompting for input, Juri Linkov, 2024/07/04
- bug#71927: 29.4; ibuffer-do-isearch and ibuffer-do-isearch-regexp not prompting for input, Eli Zaretskii, 2024/07/04
- bug#71927: 29.4; ibuffer-do-isearch and ibuffer-do-isearch-regexp not prompting for input, Eshel Yaron, 2024/07/04
- bug#71927: 29.4; ibuffer-do-isearch and ibuffer-do-isearch-regexp not prompting for input, Eli Zaretskii, 2024/07/04
- bug#71927: 29.4; ibuffer-do-isearch and ibuffer-do-isearch-regexp not prompting for input, Stephen Berman, 2024/07/04
- bug#71927: 29.4; ibuffer-do-isearch and ibuffer-do-isearch-regexp not prompting for input, Eli Zaretskii, 2024/07/04
- bug#71927: 29.4; ibuffer-do-isearch and ibuffer-do-isearch-regexp not prompting for input,
Stephen Berman <=
- bug#71927: 29.4; ibuffer-do-isearch and ibuffer-do-isearch-regexp not prompting for input, Eli Zaretskii, 2024/07/04
- bug#71927: 29.4; ibuffer-do-isearch and ibuffer-do-isearch-regexp not prompting for input, Stephen Berman, 2024/07/04
- bug#71927: 29.4; ibuffer-do-isearch and ibuffer-do-isearch-regexp not prompting for input, Juri Linkov, 2024/07/04
- bug#71927: 29.4; ibuffer-do-isearch and ibuffer-do-isearch-regexp not prompting for input, Stephen Berman, 2024/07/04
- bug#71927: 29.4; ibuffer-do-isearch and ibuffer-do-isearch-regexp not prompting for input, Eli Zaretskii, 2024/07/04
- bug#71927: 29.4; ibuffer-do-isearch and ibuffer-do-isearch-regexp not prompting for input, Stephen Berman, 2024/07/04
- bug#71927: 29.4; ibuffer-do-isearch and ibuffer-do-isearch-regexp not prompting for input, Eli Zaretskii, 2024/07/04
- bug#71927: 29.4; ibuffer-do-isearch and ibuffer-do-isearch-regexp not prompting for input, Eshel Yaron, 2024/07/07
- bug#71927: 29.4; ibuffer-do-isearch and ibuffer-do-isearch-regexp not prompting for input, Juri Linkov, 2024/07/07
- bug#71927: 29.4; ibuffer-do-isearch and ibuffer-do-isearch-regexp not prompting for input, Eli Zaretskii, 2024/07/12