From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#18596: 25.0.50; MS-Windows needs a different default for python-shell-interpreter-args Date: Wed, 01 Oct 2014 19:50:35 +0300 Message-ID: <83egurka3o.fsf@gnu.org> References: <83oatvkemq.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1412182292 1701 80.91.229.3 (1 Oct 2014 16:51:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Oct 2014 16:51:32 +0000 (UTC) Cc: 18596@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 01 18:51:25 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 1XZN7c-00058O-As for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Oct 2014 18:51:24 +0200 Original-Received: from localhost ([::1]:56779 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZN7b-00083N-IS for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Oct 2014 12:51:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZN7R-0007uC-NW for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2014 12:51:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZN7G-0006EQ-TW for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2014 12:51:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZN7G-0006EM-PB for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2014 12:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XZN7G-0004VW-DS for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2014 12:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Oct 2014 16:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18596 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18596-submit@debbugs.gnu.org id=B18596.141218224417299 (code B ref 18596); Wed, 01 Oct 2014 16:51:02 +0000 Original-Received: (at 18596) by debbugs.gnu.org; 1 Oct 2014 16:50:44 +0000 Original-Received: from localhost ([127.0.0.1]:57607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZN6x-0004Ux-Kd for submit@debbugs.gnu.org; Wed, 01 Oct 2014 12:50:44 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:53449) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZN6u-0004Um-La for 18596@debbugs.gnu.org; Wed, 01 Oct 2014 12:50:41 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NCR00400YPCQ100@a-mtaout20.012.net.il> for 18596@debbugs.gnu.org; Wed, 01 Oct 2014 19:50:39 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NCR0045QYSEFR60@a-mtaout20.012.net.il>; Wed, 01 Oct 2014 19:50:39 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il 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:93974 Archived-At: > From: Glenn Morris > Cc: 18596@debbugs.gnu.org > Date: Wed, 01 Oct 2014 12:48:06 -0400 > > Eli Zaretskii wrote: > > > With the default value, 'run-python' hangs in accept-process-output. > > This fixes that for me: > > > > --- lisp/progmodes/python.el~0 2014-10-01 06:33:59 +0300 > > +++ lisp/progmodes/python.el 2014-10-01 18:10:48 +0300 > > @@ -1739,7 +1739,8 @@ > > :group 'python > > :safe 'stringp) > > > > -(defcustom python-shell-interpreter-args "-i" > > +(defcustom python-shell-interpreter-args > > + (if (eq system-type 'windows-nt) "-i -u" "-i") > > Should this be in emacs-24? I wasn't sure it was important enough. I can back-port (given that the maintainer agrees to the fix). > (So no-one has ever used it on MS Windows?) This is just the default value of the defcustom, one could customize it and solve the problem. I guess whoever used this did that.