On 3/11/07, Stefan Monnier <[EMAIL PROTECTED]> wrote:

I don't think we will be able to find a patch that can break out of isearch
for Emacs-22 (it's probably going to be too big a change).  But the fact
that not only it doesn't break out of isearch, but additionally the buffer
isn't displayed at all looks more serious.

The patch below seems to work, but you know server.el better than I
do, so perhaps you can see some downside to it.

            Juanma


Index: lisp/server.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/server.el,v
retrieving revision 1.126
diff -u -2 -r1.126 server.el
--- lisp/server.el      27 Jan 2007 19:03:43 -0000      1.126
+++ lisp/server.el      11 Mar 2007 03:12:26 -0000
@@ -405,4 +405,10 @@
      (setq string (concat prev string))
      (process-put proc :previous-string nil)))
+  (mapc #'(lambda (buffer)
+           (when (local-variable-p 'isearch-mode buffer)
+             (with-current-buffer buffer
+               (isearch-done)
+               (message nil))))
+       (buffer-list))
  (when (> (recursion-depth) 0)
    ;; We're inside a minibuffer already, so if the emacs-client is trying


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to