4

When I terminate a Multi I-search, Emacs takes me back to the original buffer rather than the result I'm looking at.

I've tried terminating the search with RET, escape, arrow keys, and none of these have worked. What should I be doing instead?

To reproduce:

  1. Start Emacs with emacs -Q
  2. Open several buffers.
  3. M-x ibuffer
  4. Mark several buffers with m
  5. Start Multi I-search with M-s a C-s
  6. Search for something and press C-s until you're in at least the second buffer.
  7. RET returns you to the original buffer!
Wilfred Hughes
  • 6,890
  • 2
  • 29
  • 59
Chris
  • 699
  • 3
  • 13
  • Arrow keys work for me. Have you tried other key sequences for movement (`C-f`, `C-b`, etc.)? – itsjeyd Oct 09 '14 at 20:25
  • Those don't work either. – Chris Oct 09 '14 at 20:27
  • Works for me. What version of Emacs are you running? Can you reproduce the problem if you run `emacs -q`? If you run `emacs -Q`? If `emacs -q` doesn't reproduce the problem, then the problem is in your init file, and you'll need to post it, or preferably the part of it that causes the problem, to get help. – Gilles 'SO- stop being evil' Oct 09 '14 at 23:07
  • The problem is reproduced in `emacs -q` but `emacs -Q` works properly. What might that mean? – Chris Oct 10 '14 at 00:02
  • After playing around further, I see that I receive the intended behavior only **sometimes** using `emacs -Q`. Other times I receive my initial problem. I am running emacs 24.3.1. – Chris Oct 10 '14 at 00:11
  • Interesting, I can reproduce this. I end up in a recursive edit in the first buffer that was searched. – Wilfred Hughes Oct 10 '14 at 22:07

1 Answers1

3

The search returns to the original buffer when a recursive edit is used for modal searching. But multi-file search doesn't support modal isearch. This problem is fixed in Emacs 24.4 (scheduled to be released next week as I write).

link0ff
  • 1,081
  • 5
  • 14
  • 2
    "the next emacs version will be released the next week" Are you sure of that? Anyway, you should include absolute values ("as of version ...", "the problem is fixed in version ... that will be released on ..."), that will make the question and answer more useful to a future reader. – T. Verron Oct 12 '14 at 11:52
  • [Original Announcement](https://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00376.html) – wasamasa Oct 12 '14 at 12:06