From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas =?UTF-8?Q?R=C3=B6hler?= Newsgroups: gmane.emacs.bugs Subject: bug#15510: Make python.el work with IPython automatically Date: Thu, 03 Oct 2013 08:05:10 +0200 Message-ID: <524D0916.4020409@easy-emacs.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1380780263 1082 80.91.229.3 (3 Oct 2013 06:04:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Oct 2013 06:04:23 +0000 (UTC) To: 15510@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 03 08:04:25 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VRc1Q-00060D-DV for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Oct 2013 08:04:24 +0200 Original-Received: from localhost ([::1]:39995 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRc1Q-0003eD-0a for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Oct 2013 02:04:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRc1D-0003ds-PY for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 02:04:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRc14-0001a5-G8 for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 02:04:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRc14-0001a0-CO for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 02:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VRc13-00026o-P0 for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 02:04:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Oct 2013 06:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15510 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.13807802038059 (code B ref -1); Thu, 03 Oct 2013 06:04:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Oct 2013 06:03:23 +0000 Original-Received: from localhost ([127.0.0.1]:51007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VRc0Q-00025v-AZ for submit@debbugs.gnu.org; Thu, 03 Oct 2013 02:03:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39611) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VRc0M-00025j-Nm for submit@debbugs.gnu.org; Thu, 03 Oct 2013 02:03:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRc0C-0001Qz-Sw for submit@debbugs.gnu.org; Thu, 03 Oct 2013 02:03:18 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:50465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRc0C-0001Qr-Q9 for submit@debbugs.gnu.org; Thu, 03 Oct 2013 02:03:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRc05-0003OB-EQ for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 02:03:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRbzy-0001OC-4d for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 02:03:01 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.10]:58441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRbzx-0001O3-Rp for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 02:02:54 -0400 Original-Received: from purzel.sitgens (brln-4d0c137f.pool.mediaWays.net [77.12.19.127]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0Mgpo8-1VEUzz3qVM-00MnET; Thu, 03 Oct 2013 08:02:52 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: X-Provags-ID: V02:K0:VEyWesFiDPbu35AINU8XeTCG21dXLeeyiKChDPA+YM1 0eHhfIPXjJwuAprCU4BORDCKnvpDwxoqjlDteo0xPufBhMSFr3 0Mdbq8tahubQfObVUpKknitApfGM1PKxKGLNpSA/QisJNRbbTG Hg6BpMVs1ljcVxN3BMCLhx/TlVEu2SFAbgj43xH6UD5vMbOnA6 4snqwEUI6qy6m4TstKJG87GxhQHjBAoS4OaEUTSWURhd2Tcjw0 DwuoL+wCnLQBKOkH711fA9s+NjRFgJPhVPDmVuEVSVBSHyUfrj rCCXdSOoeB7VvLKw9mlPrsmo7Tto3gQI1LehjSV7pLYI+4SVMr OBuZVtLVqyZ/geEZH0Vs= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:78881 Archived-At: Am 03.10.2013 06:32, schrieb Stefan Monnier: > Package: Emacs > Version: 24.3.50 > > > I think python.el should try to automatically detect which kind of > interactive loop is running and use the corresponding invocation, so > users don't need to manually set python-shell-prompt-* and > python-shell-completion-* variables (and they can then even switch > between various interactive Python shells seamlessly). > Hi Stefan, 1+ However, you wouldn't want to send Python3 code to a running Python2, resp. IPython. So it's not about what is running, rather to make run WRT kind of code. See py-choose-shell and the related py-shell invocation.