From: Tino Calancha <f92capac@gmail.com>
To: 21663@debbugs.gnu.org
Subject: bug#21663: Subject: 25.0.50; isearch-edit-string dont resume multi isearches
Date: Sun, 11 Oct 2015 13:57:51 +0900 (JST) [thread overview]
Message-ID: <alpine.LRH.2.20.1510111346050.8502@calancha-ilc.kek.jp> (raw)
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
Start fresh session:
emacs -Q
C-x C-b
M-x multi-isearch-buffer RET *scratch* RET *Buffer List* RET RET s
(Using C-s several times will search "s" on the two buffers).
M-s e
(Now C-s should keep searching the same string "s" in the two buffers,
but the string is searched just in the current buffer).
[-- Attachment #2: Type: text/plain, Size: 730 bytes --]
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 4fc9b38..5440be7 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -1086,7 +1086,10 @@ isearch-done
;; Update the ring data.
(isearch-update-ring isearch-string isearch-regexp))
- (let ((isearch-mode-end-hook-quit (and nopush (not edit))))
+ (let ((isearch-mode-end-hook-quit (and nopush (not edit)))
+ (isearch-mode-end-hook (if (and nopush edit multi-isearch-buffer-list)
+ (delq 'multi-isearch-end isearch-mode-end-hook)
+ isearch-mode-end-hook)))
(run-hooks 'isearch-mode-end-hook))
;; If there was movement, mark the starting position.
next reply other threads:[~2015-10-11 4:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-11 4:57 Tino Calancha [this message]
[not found] ` <handler.21663.B.144453929427612.ack@debbugs.gnu.org>
2015-10-12 15:25 ` bug#21663: 25.0.50; isearch-edit-string dont resume multi-isearch-files Tino Calancha
2015-10-12 20:17 ` Juri Linkov
2015-10-13 1:35 ` Tino Calancha
2015-10-13 5:18 ` bug#21663: 25.0.50; isearch-edit-string dont resume multi isearches Tino Calancha
2015-10-13 22:04 ` Juri Linkov
2015-10-14 6:48 ` Tino Calancha
2015-10-14 16:17 ` Juri Linkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LRH.2.20.1510111346050.8502@calancha-ilc.kek.jp \
--to=f92capac@gmail.com \
--cc=21663@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.