Subject: Re: bug#4702: 23.1.50; named frame switching in terminal + emacsclient

From: Chong Yidong <[email-masked]>
Date: Tue, 19 Jun 2012 14:51:29 +0800

Jose Antonio Ortega Ruiz <[email-masked]> writes:

> There seem to be several situations where, if one has more than one
> frame in a terminal-based emacs session and opens another one in a
> different terminal, the frame selected in the first terminal changes
> as
> a consequence.
>
>  (0) emacs -nw -Q -daemon
>  (1) open a new terminal and execute `emacsclient -t' (you're in frame
>  F2)
>  (2) eval (make-frame '((name . "test"))) (you're still in frame F2)
>  (3) open a *second* xterm and `emacsclient -t' in it
>  (4) the frame focused in the first terminal (opened at (1)) is now in
>      frame "test", instead of F2

Thanks for the bug report.  I've committed a fix to trunk.