From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrey Paramonov Newsgroups: gmane.emacs.bugs Subject: bug#7368: 23.2; Python interpreter buffer should never appear in separate frame Date: Thu, 11 Nov 2010 00:59:25 +0300 Message-ID: <87y690q1qa.fsf@neo.paramonovs> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1289427244 27500 80.91.229.12 (10 Nov 2010 22:14:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 10 Nov 2010 22:14:04 +0000 (UTC) To: 7368@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 10 23:13:58 2010 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.69) (envelope-from ) id 1PGIvW-000773-D2 for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Nov 2010 23:13:58 +0100 Original-Received: from localhost ([127.0.0.1]:34744 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGIvV-0004oh-NB for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Nov 2010 17:13:57 -0500 Original-Received: from [140.186.70.92] (port=39701 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGIvR-0004ln-0y for bug-gnu-emacs@gnu.org; Wed, 10 Nov 2010 17:13:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGIvP-0004x2-Qz for bug-gnu-emacs@gnu.org; Wed, 10 Nov 2010 17:13:52 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52874) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGIvP-0004wx-Nu for bug-gnu-emacs@gnu.org; Wed, 10 Nov 2010 17:13:51 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PGIdB-00048r-R0; Wed, 10 Nov 2010 16:55:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrey Paramonov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Nov 2010 21:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7368 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.128942609315911 (code B ref -1); Wed, 10 Nov 2010 21:55:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Nov 2010 21:54:53 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PGId2-00048a-RW for submit@debbugs.gnu.org; Wed, 10 Nov 2010 16:54:53 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PGId0-00048V-Bi for submit@debbugs.gnu.org; Wed, 10 Nov 2010 16:54:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGIhZ-0002uw-S9 for submit@debbugs.gnu.org; Wed, 10 Nov 2010 16:59:35 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:34472) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGIhZ-0002uT-PN for submit@debbugs.gnu.org; Wed, 10 Nov 2010 16:59:33 -0500 Original-Received: from [140.186.70.92] (port=37067 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGIhY-0007mr-IN for bug-gnu-emacs@gnu.org; Wed, 10 Nov 2010 16:59:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGIhX-0002ts-3f for bug-gnu-emacs@gnu.org; Wed, 10 Nov 2010 16:59:32 -0500 Original-Received: from mail-ey0-f169.google.com ([209.85.215.169]:35449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGIhW-0002to-O7 for bug-gnu-emacs@gnu.org; Wed, 10 Nov 2010 16:59:31 -0500 Original-Received: by eydd26 with SMTP id d26so724329eyd.0 for ; Wed, 10 Nov 2010 13:59:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:to:subject:date :message-id:mime-version:content-type; bh=h8CrfP14C2Ha8ciHbkIqsDf8Zfgq0rnBRSvb2Cc/YMA=; b=QNAR3veEWBu7kl+jb1Tzgl7aWW3CGepEVVYwB1QLKGTIVr69/v4BLt3GEDPZglzAJF k6zcBMhqARJvYFLYxHqzA9YyZJadaK52NHfAatc20jVbAWzQ6IVRnezp6/qg8NBJ8tDj /j/MIGX0K9WXY3DxcnFC/VZ62EtXb9zNdGxaw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type; b=loz3zTUyvqNF/A6rS0LGiKfiWMNLhIgG7pX4s8lVFw/KlTAWS4pF3Bp6qb027JYVfv VjKXPXNV6HxcOUJVGts+T3zmzupABAB8oR+2OSMAHDSVhk8VRMcOybkuvujrmuF//Prl FDYGlbg23G2Q2qdp2aVijCAr/nVV27jdZxXYI= Original-Received: by 10.14.127.2 with SMTP id c2mr2898997eei.3.1289426369708; Wed, 10 Nov 2010 13:59:29 -0800 (PST) Original-Received: from neo.paramonovs (aparamon.static.corbina.ru [89.179.245.94]) by mx.google.com with ESMTPS id w20sm1170729eeh.12.2010.11.10.13.59.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 10 Nov 2010 13:59:27 -0800 (PST) Original-Received: from pent by neo.paramonovs with local (Exim 4.72) (envelope-from ) id 1PGIhS-0007Xf-1P for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2010 00:59:26 +0300 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 10 Nov 2010 16:55:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:41472 Archived-At: Hello! Most of the time, python-switch-to-python splits current frame and activates Python interpreter buffer in a new window. This is handy and consistent with other interpreter modes, i.e. ESS. However, *sometimes* Python interpreter is activated in a separate frame. This is very inconvenient, especially because of "sometimes". Python interpreter buffer should always appear in the current frame, and never in separate frame. To reproduce: 0) emacs -Q 1) Create/open the following minimal example (| shows cursor pos): import os.path os.path.| 2) Press C-c C-z. Python interpreter buffer appears *in a new window*. This is correct. 3) Switch to python code buffer, press ESC-ESC-ESC. 4) Press M-Tab. Completion buffer appears in a new window. This is correct. 5) Press C-c C-z. Python interpreter buffer pops up *in a new frame*. This is incorrect. I'm ready to provide any additional info, Andrey Paramonov In GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-08-15 on raven, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10707000 configured using `configure '--build' 'i486-linux-gnu' '--build' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.2/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' '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: ru_RU.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Inferior Python Minor modes in effect: compilation-shell-minor-mode: t 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 blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Fontifying *Python*... (regexps...........) Making completion list... [2 times] Load-path shadows: /usr/share/emacs/23.2/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs/23.2/site-lisp/flim/md4 hides /usr/share/emacs/23.2/lisp/md4 /usr/share/emacs/23.2/site-lisp/flim/hex-util hides /usr/share/emacs/23.2/lisp/hex-util /usr/share/emacs/23.2/site-lisp/flim/sha1 hides /usr/share/emacs/23.2/lisp/sha1 /usr/share/emacs/23.2/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.2/lisp/textmodes/flyspell /usr/share/emacs/23.2/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.2/lisp/textmodes/ispell /usr/share/emacs/23.2/site-lisp/flim/ntlm hides /usr/share/emacs/23.2/lisp/net/ntlm /usr/share/emacs/23.2/site-lisp/flim/sasl-cram hides /usr/share/emacs/23.2/lisp/net/sasl-cram /usr/share/emacs/23.2/site-lisp/flim/sasl hides /usr/share/emacs/23.2/lisp/net/sasl /usr/share/emacs/23.2/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/23.2/lisp/net/sasl-ntlm /usr/share/emacs/23.2/site-lisp/flim/sasl-digest hides /usr/share/emacs/23.2/lisp/net/sasl-digest /usr/share/emacs/23.2/site-lisp/flim/hmac-md5 hides /usr/share/emacs/23.2/lisp/net/hmac-md5 /usr/share/emacs/23.2/site-lisp/flim/hmac-def hides /usr/share/emacs/23.2/lisp/net/hmac-def Features: (shadow sort mail-extr message sendmail regexp-opt 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 time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 sha1-el hex-util hashcash mail-utils emacsbug compile python-21 python comint ring help-mode easymenu view cyril-util tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting 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 files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs)