From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jose Antonio Ortega Ruiz Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#4702: 23.1.50; named frame switching in terminal + emacsclient Date: Mon, 12 Oct 2009 00:48:15 +0200 Message-ID: <87k4z1h7io.fsf@mithrandir.homeunix.net> Reply-To: Jose Antonio Ortega Ruiz , 4702@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1255302549 18080 80.91.229.12 (11 Oct 2009 23:09:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Oct 2009 23:09:09 +0000 (UTC) Cc: rfrancoise@debian.org To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 12 01:08:59 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mx7X1-0006zZ-OY for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Oct 2009 01:08:52 +0200 Original-Received: from localhost ([127.0.0.1]:56234 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mx7X1-0004GJ-5X for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Oct 2009 19:08:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mx7VX-0003sh-CZ for bug-gnu-emacs@gnu.org; Sun, 11 Oct 2009 19:07:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mx7VS-0003qW-QO for bug-gnu-emacs@gnu.org; Sun, 11 Oct 2009 19:07:19 -0400 Original-Received: from [199.232.76.173] (port=34524 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mx7VS-0003qP-Hi for bug-gnu-emacs@gnu.org; Sun, 11 Oct 2009 19:07:14 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43931) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mx7VR-0004MC-NS for bug-gnu-emacs@gnu.org; Sun, 11 Oct 2009 19:07:14 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9BN7AuM004228; Sun, 11 Oct 2009 16:07:10 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9BMt6Q0001197; Sun, 11 Oct 2009 15:55:06 -0700 Resent-Date: Sun, 11 Oct 2009 15:55:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Jose Antonio Ortega Ruiz Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sun, 11 Oct 2009 22:55:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4702 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125530130132507 (code B ref -1); Sun, 11 Oct 2009 22:55:06 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 11 Oct 2009 22:48:21 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9BMmJqD032504 for ; Sun, 11 Oct 2009 15:48:20 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:38892) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Mx7D8-0007C3-Qj for emacs-pretest-bug@gnu.org; Sun, 11 Oct 2009 18:48:18 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Mx7D7-0001qS-EU for emacs-pretest-bug@gnu.org; Sun, 11 Oct 2009 18:48:18 -0400 Original-Received: from ey-out-1920.google.com ([74.125.78.146]:29245) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mx7D6-0001q6-VS for emacs-pretest-bug@gnu.org; Sun, 11 Oct 2009 18:48:17 -0400 Original-Received: by ey-out-1920.google.com with SMTP id 3so7515209eyh.34 for ; Sun, 11 Oct 2009 15:48:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:to:cc:subject :date:message-id:mime-version:content-type; bh=l9r0XIA/cc3Zm3JUP1Xkje5vymKSZIeeDE7ns/X9TOM=; b=CF89CSJWz3fxWmPdbpMulXAE7IoeEi+6bJF3ElgroKsk4bPo4Fa06vvnFI5ExUvmwi LvJ2YzuytpXBElX4JBezGM5jE+8u6H9aebBiDk6ADtsnwOjfRJ27JkqKQJhSvr0btHJC zqE4dzCGS6CdwnL14edODHbHyoAabvUSGsvFE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:mime-version:content-type; b=Nc5UGgk9mtkPU+/XrxFN52gJDPis+IJ3CoI1LAQzIo3j/N5k+3Zb2vX2vN6KsbQYrG jqruK0arBN9i0fiM2YLKq0n3XX7InkT8yOH7fusz2ygcwspnZwgxu2/G5Rdv3JSZance gBRpqDQjKftGXeX+lV6ymnL0++I3Qh4ZPvetk= Original-Received: by 10.211.160.14 with SMTP id m14mr3299922ebo.30.1255301295792; Sun, 11 Oct 2009 15:48:15 -0700 (PDT) Original-Received: from mithrandir.homeunix.net (128.Red-83-43-32.dynamicIP.rima-tde.net [83.43.32.128]) by mx.google.com with ESMTPS id 7sm336522eyb.4.2009.10.11.15.48.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 11 Oct 2009 15:48:15 -0700 (PDT) Original-Received: from jao by mithrandir.homeunix.net with local (Exim 4.69) (envelope-from ) id 1Mx7D5-0007oj-QU; Mon, 12 Oct 2009 00:48:15 +0200 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 11 Oct 2009 19:07:19 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31839 gmane.emacs.pretest.bugs:25115 Archived-At: 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. You can reproce the effect in a simple way: (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 The frame jump does *not* happen if the frame you create in step (2) has no name parameter (i.e. Fn is assigned by `make-frame' internally). These frame jumps happen in other situations, but they're difficult to reproduce; they always involve some activity by a second emacsclient, and always have an explicitly name frame as destination. Also, sometimes they're provoked also by calls of the form `emacsclient -e ', instead of -t as in (3), but not in this simple case. Thanks! In GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.2) of 2009-10-10 on elegiac, modified by Debian (emacs-snapshot package, version 1:20091010-1) configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.1.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1.50/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: ( m a k e - f r a m ESC TAB ESC TAB SPC C-b C-b C-h f RET SPC DEL C-e ' ( ( n a m e SPC . SPC " t e s t " ) ) ) C-j C-x 1 C-x 5 o C-x b RET C-n C-p C-x 5 0 C-x 5 2 C-x 5 o C-x b RET C-p C-n C-p C-p C-x 5 0 C-x 5 0 C-x 5 0 C-p C-p C-x 5 0 C-x 5 2 ( s e t - f r a m e - n ESC TAB SPC " t e s t " ) C-j C-x 5 0 C-x b m e s RET C-x 5 C-g C-p C-n C-n C-p C-p C-x 5 o C-x 5 o C-x 5 0 C-x b s DEL RET ESC x o t h e r - f r a TAB RET C-x 5 o C-x 5 o C-p C-k C-p C-e C-x 5 2 C-j C-x 5 o C-x b m e s RET C-x 5 o C-x 5 o ESC x r e m p o r TAB DEL DEL DEL DEL p o r TAB RET Recent messages: ("emacs") Starting Emacs daemon. When done with this frame, type C-x 5 0 Making completion list... Complete, but not unique Type C-x 4 C-o RET to restore the other window, C-M-v to scroll help. When done with this frame, type C-x 5 0 [5 times] Load-path shadows: /usr/share/emacs/23.1.50/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs/23.1.50/site-lisp/ruby1.8-elisp/ruby-mode hides /usr/share/emacs/23.1.50/lisp/progmodes/ruby-mode Features: (shadow mail-extr message ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug sendmail regexp-opt help-fns pp time-date time help-mode easymenu view server tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gtk x-toolkit x multi-tty emacs)