From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 03 00:32:29 2013 Received: (at submit) by debbugs.gnu.org; 3 Oct 2013 04:32:29 +0000 Received: from localhost ([127.0.0.1]:50940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VRaaS-0008K2-2f for submit@debbugs.gnu.org; Thu, 03 Oct 2013 00:32:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56060) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VRaaP-0008Js-7M for submit@debbugs.gnu.org; Thu, 03 Oct 2013 00:32:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRaaH-0002Bp-NU for submit@debbugs.gnu.org; Thu, 03 Oct 2013 00:32:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:45227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRaaH-0002Bl-Jf for submit@debbugs.gnu.org; Thu, 03 Oct 2013 00:32:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57746) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRaaB-0003uC-1J for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 00:32:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRaa4-00027m-KQ for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 00:32:10 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:50455) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRaa4-00027X-Ds for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 00:32:04 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjkIABK/CFFsoXM//2dsb2JhbABErF0BikSHbBdzgnsTAUsPBCEBHA1Vh3OgC6EijR9EgycDpHqBXoMTgVM X-IPAS-Result: AjkIABK/CFFsoXM//2dsb2JhbABErF0BikSHbBdzgnsTAUsPBCEBHA1Vh3OgC6EijR9EgycDpHqBXoMTgVM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="34646742" Received: from 108-161-115-63.dsl.teksavvy.com (HELO pastel.home) ([108.161.115.63]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 03 Oct 2013 00:28:41 -0400 Received: by pastel.home (Postfix, from userid 20848) id A38696DA72; Thu, 3 Oct 2013 00:32:02 -0400 (EDT) From: Stefan Monnier To: bug-gnu-emacs@gnu.org Subject: Make python.el work with IPython automatically X-debbugs-cc: =?iso-8859-1?Q?Fabi=E1n?= E. Gallina Date: Thu, 03 Oct 2013 00:32:02 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) 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). Stefan In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.20) of 2013-09-25 on pastel Bzr revision: monnier@iro.umontreal.ca-20130924221059-tqcqd1227a84jehu Windowing system distributor `The X.Org Foundation', version 11.0.11204000 System Description: Debian GNU/Linux testing (jessie) Configured using: `configure -C --enable-checking --enable-check-lisp-object-type 'CFLAGS=-Wall -g3 -O1 -Wno-pointer-sign'' Important settings: value of $LANG: fr_CH.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: InactiveMinibuffer Minor modes in effect: diff-auto-refine-mode: t shell-dirtrack-mode: t electric-pair-mode: t electric-indent-mode: t url-handler-mode: t global-reveal-mode: t reveal-mode: t auto-insert-mode: t savehist-mode: t minibuffer-electric-default-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: 1 C-e 1 4 4 C-e C-a C-SPC M-w C-y e n C-h f C-e C-x C-s C-x v = C-x C-c C-u C-x 5 1 C-s i p y t h o n C-s C-s C-a M-< C-e C-SPC C-e M-w M-x r e p - e m - b u Recent messages: Wrote /home/monnier/src/emacs/trunk/lisp/subr.el Mark saved where search started Mark set [2 times] Auto-saving...done Mark set [4 times] Saving file /home/monnier/src/emacs/trunk/lisp/subr.el... Wrote /home/monnier/src/emacs/trunk/lisp/subr.el Finding changes in /home/monnier/src/emacs/trunk/lisp/subr.el...done Mark saved where search started Load-path shadows: /home/monnier/src/emacs/elpa/packages/company/.dir-locals hides /home/monnier/src/emacs/work/lisp/gnus/.dir-locals Features: (sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils mule-diag dabbrev pcase grep etags benchmark cc-compat log-edit pcvs-util vc-sccs vc-svn vc-cvs vc-rcs vc-dir semantic/db-mode semantic/decorate/include semantic/decorate/mode semantic/decorate pulse semantic/db-find semantic/db-ref semantic/bovine/c-by semantic/lex-spp semantic/idle semantic/bovine/gcc semantic/dep semantic/bovine semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn semantic/db eieio-base semantic/ctxt semantic/format ezimage semantic/tag-ls semantic/find semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet hideif cpp cmacexp cc-mode two-column kmacro cc-fonts cc-awk cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-langs cc-vars cc-defs whitespace vc bug-reference add-log xscheme unsafep trace testcover shadow scheme re-builder profiler inf-lisp ielm pp gmm-utils ert find-func ewoc elp edebug cl-indent sgml-mode view cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs warnings cal-french diary-lib diary-loaddefs cal-move cal-menu calendar cal-loaddefs vc-dispatcher smerge-mode diff-mode conf-mode debug autorevert filenotify doc-view jka-compr image-mode dired format-spec misearch multi-isearch reftex-dcr reftex reftex-vars tex-mode compile shell pcomplete comint ansi-color ring latexenc executable copyright cus-edit cus-start cus-load wid-edit vc-bzr filecache haskell-font-lock mule-util haskell-doc imenu haskell-indent haskell-mode server noutline outline easy-mmode flyspell ispell eldoc checkdoc thingatpt help-mode advice help-fns electric url-handlers url-parse auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core gnus-util mm-util mail-prsvr password-cache url-vars reveal autoinsert proof-site proof-autoloads cl-macs gv cl cl-loaddefs cl-lib pg-vars uniquify time-date savehist minibuf-eldef disp-table finder-inf info easymenu package bbdb-autoloads agda2 vm-autoloads tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax 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 minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 03 02:03:23 2013 Received: (at submit) by debbugs.gnu.org; 3 Oct 2013 06:03:23 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 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 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 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 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 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 Message-ID: <524D0916.4020409@easy-emacs.de> Date: Thu, 03 Oct 2013 08:05:10 +0200 From: =?ISO-8859-15?Q?Andreas_R=F6hler?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: Re: bug#15510: Make python.el work with IPython automatically References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 20 14:16:06 2014 Received: (at 15510-done) by debbugs.gnu.org; 20 Jul 2014 18:16:06 +0000 Received: from localhost ([127.0.0.1]:60550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X8veX-0002n8-Nf for submit@debbugs.gnu.org; Sun, 20 Jul 2014 14:16:05 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:53450 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X8veV-0002n0-Gd for 15510-done@debbugs.gnu.org; Sun, 20 Jul 2014 14:16:04 -0400 Received: from 222-99-245-190.fibertel.com.ar ([190.245.99.222]:53330 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1X8veU-0006fu-KO for 15510-done@debbugs.gnu.org; Sun, 20 Jul 2014 14:16:03 -0400 From: fgallina@gnu.org (=?utf-8?Q?Fabi=C3=A1n?= Ezequiel Gallina) To: 15510-done@debbugs.gnu.org Subject: Date: Sun, 20 Jul 2014 15:15:58 -0300 Message-ID: <87tx6b99r5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 15510-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.0 (---) Fixed in revno 117390 in the emacs-24 branch. Fabi=C3=A1n From unknown Fri Jun 20 18:13:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 18 Aug 2014 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator