From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#17542: python.el and ipython Date: Thu, 22 May 2014 21:00:08 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1400806890 7652 80.91.229.3 (23 May 2014 01:01:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 May 2014 01:01:30 +0000 (UTC) Cc: 17542@debbugs.gnu.org To: Federico Beffa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 23 03:01:23 2014 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 1WndrM-0006H9-Ay for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 May 2014 03:01:20 +0200 Original-Received: from localhost ([::1]:40374 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WndrL-0004HO-V1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 May 2014 21:01:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WndrB-0004HD-K7 for bug-gnu-emacs@gnu.org; Thu, 22 May 2014 21:01:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wndr4-0002gp-UF for bug-gnu-emacs@gnu.org; Thu, 22 May 2014 21:01:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58186) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wndr4-0002gj-QQ for bug-gnu-emacs@gnu.org; Thu, 22 May 2014 21:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wndr4-0004W1-3x for bug-gnu-emacs@gnu.org; Thu, 22 May 2014 21:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 May 2014 01:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17542 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17542-submit@debbugs.gnu.org id=B17542.140080682017289 (code B ref 17542); Fri, 23 May 2014 01:01:01 +0000 Original-Received: (at 17542) by debbugs.gnu.org; 23 May 2014 01:00:20 +0000 Original-Received: from localhost ([127.0.0.1]:57063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WndqN-0004Ul-1B for submit@debbugs.gnu.org; Thu, 22 May 2014 21:00:19 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:57098) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WndqJ-0004To-2R for 17542@debbugs.gnu.org; Thu, 22 May 2014 21:00:15 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVPO+KQe/2dsb2JhbABZgwY7gw/APYEXF3SCJQEBAQECAVYjBQsLNBIUGA0kiAQI0hkXjnoHhDgBA6kZgWqDTCE X-IPAS-Result: ArYGAIDvNVPO+KQe/2dsb2JhbABZgwY7gw/APYEXF3SCJQEBAQECAVYjBQsLNBIUGA0kiAQI0hkXjnoHhDgBA6kZgWqDTCE X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="63795211" Original-Received: from 206-248-164-30.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([206.248.164.30]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 22 May 2014 21:00:08 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id AB681AE0D2; Thu, 22 May 2014 21:00:08 -0400 (EDT) In-Reply-To: (Federico Beffa's message of "Wed, 21 May 2014 15:22:41 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) 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:89376 Archived-At: > I'm trying to set up the python-mode (python.el) to use ipython as the > interactive shell. I've added the folloging lines in my .emacs file: > (require 'python) > (setq > python-shell-interpreter "C:/Python27/python.exe" > python-shell-interpreter-args > "-i C:/Python27/Scripts/ipython-script.py console --matplotlib=tk" > ;; python-shell-interpreter-args > ;; "-i C:/Python27/Scripts/ipython-script.py console --matplotlib=qt" > python-shell-prompt-regexp "In \\[[0-9]+\\]: " > python-shell-prompt-output-regexp "Out\\[[0-9]+\\]: " > python-shell-completion-setup-code > "from IPython.core.completerlib import module_completion" > python-shell-completion-module-string-code > "';'.join(module_completion('''%s'''))\n" > python-shell-completion-string-code > "';'.join(get_ipython().Completer.all_completions('''%s'''))\n") Do you really need all that to use IPython? Can't we make it simpler? Stefan