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#13850: Emacs for Windows: Launch better from a command prompt Date: Sat, 02 Mar 2013 09:27:17 +0200 Message-ID: <83k3pquuqy.fsf__38901.6621666544$1362209314$gmane$org@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1362209290 10141 80.91.229.3 (2 Mar 2013 07:28:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Mar 2013 07:28:10 +0000 (UTC) Cc: 13850@debbugs.gnu.org, help-emacs-windows@gnu.org To: Andrew Pennebaker Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 02 08:28:27 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 1UBgrq-0002v1-OF for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Mar 2013 08:28:26 +0100 Original-Received: from localhost ([::1]:42946 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBgrV-0005WB-Ja for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Mar 2013 02:28:05 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBgrR-0005VD-LZ for bug-gnu-emacs@gnu.org; Sat, 02 Mar 2013 02:28:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UBgrQ-0004hb-Jq for bug-gnu-emacs@gnu.org; Sat, 02 Mar 2013 02:28:01 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBgrQ-0004hX-GG for bug-gnu-emacs@gnu.org; Sat, 02 Mar 2013 02:28:00 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UBgrS-0003l7-4w for bug-gnu-emacs@gnu.org; Sat, 02 Mar 2013 02:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Mar 2013 07:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13850 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: Original-Received: via spool by 13850-submit@debbugs.gnu.org id=B13850.136220926614426 (code B ref 13850); Sat, 02 Mar 2013 07:28:02 +0000 Original-Received: (at 13850) by debbugs.gnu.org; 2 Mar 2013 07:27:46 +0000 Original-Received: from localhost ([127.0.0.1]:54535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UBgrB-0003kc-PN for submit@debbugs.gnu.org; Sat, 02 Mar 2013 02:27:46 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:65358) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UBgr8-0003kO-U9 for 13850@debbugs.gnu.org; Sat, 02 Mar 2013 02:27:44 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MJ000700ULO0600@a-mtaout22.012.net.il> for 13850@debbugs.gnu.org; Sat, 02 Mar 2013 09:27:34 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MJ0006O7VDUZR40@a-mtaout22.012.net.il>; Sat, 02 Mar 2013 09:27:31 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:72019 Archived-At: > Date: Fri, 1 Mar 2013 15:49:57 -0500 > From: Andrew Pennebaker > > Currently, Emacs ties up the Command Prompt until the user quits Emacs. In > Git Bash, you can hack around this with an ampersand (&), but the default > behavior should really be to fork a thread for Emacs and immediately return > terminal control to the user. > > Can we default the next version to this behavior? We already do: just invoke runemacs.exe rather than emacs.exe. As for forking a thread: it is a bit more complex than that. (We already start at least 2 threads at startup.) The 2 most important problems are (1) the same executable should be able to run in a text terminal session under -nw, and (2) we don't want the GUI session to have a console. runemacs.exe solves both. Any reasons not to close this bug?