emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange emacsclient behaviour during use of isearch


From: Stefan Monnier
Subject: Re: Strange emacsclient behaviour during use of isearch
Date: Wed, 14 Mar 2007 15:01:21 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux)

> Why not do this as with `isearch-allow-scroll' t?  I don't know
> server.el, maybe something flashy like ...

Yuck.

> (cond
>  ((minibufferp))
>  ((buffer-local-value 'isearch-mode (current-buffer))
>   (let ((isearch-point (point))
>         (new-window (split-window)))
>     ;; ... do the server-switch-buffer stuff in the new window and
>     ;; return to the old ...
>     (isearch-adjust-after-window-configuration-change isearch-point)
>  (t ...

This does not obey server-window.  Adjusting it to obey server-window will
make the code even more twisted.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]