unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrey Paramonov <cmr.aparamon@gmail.com>
To: 7368@debbugs.gnu.org
Subject: bug#7368: 23.2; Python interpreter buffer should never appear in separate frame
Date: Thu, 11 Nov 2010 00:59:25 +0300	[thread overview]
Message-ID: <87y690q1qa.fsf@neo.paramonovs> (raw)

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)





             reply	other threads:[~2010-11-10 21:59 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-10 21:59 Andrey Paramonov [this message]
2010-11-13  6:36 ` bug#7368: Testcase Андрей Парамонов
2010-11-13  8:32   ` martin rudalics
2010-11-13  8:47     ` Андрей Парамонов
2010-11-13  9:55       ` martin rudalics
2010-11-15 22:42       ` Stefan Monnier
2010-11-16 20:19         ` Андрей Парамонов
2010-11-16 21:25           ` Stefan Monnier
2010-11-17  9:46           ` martin rudalics
2010-11-17  8:57 ` bug#7368: display-buffer a softly dedicated window Андрей Парамонов
2010-11-17  9:46   ` martin rudalics
2010-11-17  9:58     ` Андрей Парамонов
2010-11-17 14:16       ` martin rudalics
2010-11-17 15:09         ` Андрей Парамонов
2010-11-17 17:13           ` martin rudalics
2010-11-17 18:55             ` Андрей Парамонов
2010-11-18  8:03               ` martin rudalics
2010-11-18  8:32                 ` Андрей Парамонов
2010-11-18  9:07                   ` martin rudalics
2010-11-18  9:40                     ` Андрей Парамонов
2010-11-18 10:27                       ` martin rudalics
2010-11-18 10:36                         ` Андрей Парамонов
2010-11-18 13:20                           ` martin rudalics
2010-11-19  6:30                             ` Андрей Парамонов
2011-07-13  2:07                               ` Glenn Morris
2011-07-13  6:24                                 ` martin rudalics
2011-07-13  6:45                                   ` Glenn Morris
2011-07-13  8:37                                     ` martin rudalics
2011-07-13 16:07                                       ` Glenn Morris
2014-12-25 10:55                                         ` martin rudalics
2010-11-18 14:18                   ` Stefan Monnier
2010-11-17 13:10   ` Stefan Monnier
2010-11-18 20:56     ` Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y690q1qa.fsf@neo.paramonovs \
    --to=cmr.aparamon@gmail.com \
    --cc=7368@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).