[Top][All Lists]

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

Re: emacsclient/server finished, documentation, raising frames

From: Stefan Monnier
Subject: Re: emacsclient/server finished, documentation, raising frames
Date: Tue, 07 Nov 2006 12:07:45 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux)

>> The question is also whether it should be triggered only when calling
>> `emacsclient' or also when using C-x # to switch to the next client buffer
>> (both call server-switch-buffer).

> When you use C-x # Emacs already has the focus.  The problem I'm
> discussing is that, out of the box, Emacs won't get the focus when
> sent a file to edit from emacsclient (which will usually be a CMD
> window on the foreground).

I understand that.  But a change in server-switch-buffer will affect both
cases, so we have to take it into account.

>> For what it's worth, I think we should remove server-window and change
>> server-switch-buffer to always use pop-to-buffer (i.e. get the same
>> behavior as when one set server-window to pop-to-buffer).

> Why? You're removing choices, and the one you prefer, I dislike: I
> don't like pop-to-buffer's behavior of preferring another window (I
> want server.el to put the buffer into the selected window); and
> pop-to-buffer does not do any raise-frame, so the original problem I'm
> discussing is still there.

I take your objection to mean that you agree with my proposition, at the
condition that we improve pop-to-buffer's configurability.  I would agree
with you, then,


reply via email to

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