GNU bug report logs -
#71927
29.4; ibuffer-do-isearch and ibuffer-do-isearch-regexp not prompting for input
Previous Next
Reported by: Charles Choi <kickingvegas <at> gmail.com>
Date: Wed, 3 Jul 2024 21:26:01 UTC
Severity: normal
Found in version 29.4
Fixed in version 30.1
Done: Eshel Yaron <me <at> eshelyaron.com>
Bug is archived. No further changes may be made.
Full log
Message #35 received at 71927 <at> debbugs.gnu.org (full text, mbox):
>>> 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?
It intentionally uses 'no-recursive-edit' set to t, so ibuffer-do-isearch
correctly exits immediately while leaving isearch-mode enabled.
> The attached patch appears to DTRT, but I only tested it briefly.
> ...
> (define-ibuffer-op ibuffer-do-isearch ()
> "Perform a `isearch-forward' in marked buffers."
> (:interactive ()
> - :opstring "searched in"
> + :no-opstring t
Thanks for the patch. I confirm this is the right thing to do.
Maybe instead of :no-opstring would be better to use some special value
like :opstring 'no? But I'm not sure if this is better than :no-opstring.
This bug report was last modified 1 year and 3 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.