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: Fri, 14 Nov 2014 23:04:01 +0200 Message-ID: <83h9y1h4u6.fsf@gnu.org> References: <83oatvkemq.fsf@gnu.org> <87zjdeq8kj.fsf@gnu.org> <83bnpc48m4.fsf@gnu.org> <87sihmtfaq.fsf@gnu.org> <83oasahxss.fsf@gnu.org> <87bnoahqzr.fsf@gnu.org> <83k32xj1oc.fsf@gnu.org> <87vbmhg49i.fsf@gnu.org> <83wq6xhgk3.fsf@gnu.org> <87wq6xo62b.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1415999129 21488 80.91.229.3 (14 Nov 2014 21:05:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Nov 2014 21:05:29 +0000 (UTC) Cc: 18596@debbugs.gnu.org To: fgallina@gnu.org (=?UTF-8?Q?Fabi=C3=A1n?= Ezequiel Gallina) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 14 22:05:22 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 1XpO3T-0000mU-HS for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Nov 2014 22:05:19 +0100 Original-Received: from localhost ([::1]:37887 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpO3T-00035m-5Q for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Nov 2014 16:05:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpO3I-0002yD-Vj for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2014 16:05:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XpO3C-0000FC-4C for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2014 16:05:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35693) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpO3C-0000Ec-1s for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2014 16:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XpO3B-0003JR-OA for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2014 16:05:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Nov 2014 21:05:01 +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: X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141599909712720 (code B ref -1); Fri, 14 Nov 2014 21:05:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Nov 2014 21:04:57 +0000 Original-Received: from localhost ([127.0.0.1]:32906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XpO36-0003J5-R9 for submit@debbugs.gnu.org; Fri, 14 Nov 2014 16:04:57 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42801) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XpO35-0003Iw-Gy for submit@debbugs.gnu.org; Fri, 14 Nov 2014 16:04:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XpO2x-00007s-6z for submit@debbugs.gnu.org; Fri, 14 Nov 2014 16:04:55 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:58848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpO2x-00007m-4G for submit@debbugs.gnu.org; Fri, 14 Nov 2014 16:04:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpO2r-0002X5-7K for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2014 16:04:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XpO2b-0008Vx-MM for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2014 16:04:41 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:50246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpO2b-0008Vr-Et; Fri, 14 Nov 2014 16:04:25 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NF100L00RDE1Y00@a-mtaout22.012.net.il>; Fri, 14 Nov 2014 23:04:24 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NF100KNERV5O980@a-mtaout22.012.net.il>; Fri, 14 Nov 2014 23:04:17 +0200 (IST) In-reply-to: <87wq6xo62b.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 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:96040 > From: fgallina@gnu.org (Fabi=C3=A1n Ezequiel Gallina) > Cc: bug-gnu-emacs@gnu.org > Date: Fri, 14 Nov 2014 17:55:40 -0300 >=20 > >> > Are you saying that it is OK for the above form to hang? > >> > > >> > >> Yes, on Windows the "-i" switch is required to avoid the hang an= d M-x > >> run-python does the right thing adding it by default. > > > > I know that "M-x run-python" does that, but I think run-python it= self > > should do that, too. It's a bug for it to hang like that. > > >=20 > I don't agree, run-python will run whatever you tell it to run I told it to run, not to hang! And it doesn't hang on Unix, so it shouldn't on Windows. > and while I agree that malformed commands hanging it are not fun, > that's the very same reason why sane defaults are provided and why > the commentary section state possible problems clearly. I'm surprised you consider documenting bugs to be a solution for thos= e bugs. Bugs should be fixed, not documented. If Emacs knows that in certain situation it should invoke Python with -i, it should do that automatically. Or it should do something else to fix the hang, but leaving the hanging behavior is IMO simply wrong, and even unbecoming= . > >> We just need to fix the tests so they don't forget about "-i". > > > > That's a related, but separate problem. > > >=20 > I'll focus on that alone, I'm still not convinced on the course of > action for this one. I'm okay with any course of action, provided that the result will be that the form I provided as recipe will not hang.