From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "K. Frank" Newsgroups: gmane.emacs.windows,gmane.emacs.bugs Subject: Re: Emacs for Windows: Launch better from a command prompt Date: Fri, 1 Mar 2013 17:54:13 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1362178472 7270 80.91.229.3 (1 Mar 2013 22:54:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Mar 2013 22:54:32 +0000 (UTC) To: help-emacs-windows@gnu.org, Emacs Bugs Original-X-From: help-emacs-windows-bounces+gnu-help-emacs-windows=m.gmane.org@gnu.org Fri Mar 01 23:54:54 2013 Return-path: Envelope-to: gnu-help-emacs-windows@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 1UBYqn-00082F-Dh for gnu-help-emacs-windows@m.gmane.org; Fri, 01 Mar 2013 23:54:49 +0100 Original-Received: from localhost ([::1]:52727 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBYqS-0002oz-D9 for gnu-help-emacs-windows@m.gmane.org; Fri, 01 Mar 2013 17:54:28 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBYqK-0002ou-Gk for help-emacs-windows@gnu.org; Fri, 01 Mar 2013 17:54:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UBYqJ-0007kU-41 for help-emacs-windows@gnu.org; Fri, 01 Mar 2013 17:54:20 -0500 Original-Received: from mail-qe0-f52.google.com ([209.85.128.52]:65298) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBYqE-0007jS-NC; Fri, 01 Mar 2013 17:54:14 -0500 Original-Received: by mail-qe0-f52.google.com with SMTP id s14so2323058qeb.39 for ; Fri, 01 Mar 2013 14:54:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=q4sQisUYWgTpE6/BSbAwiGqMW+3ETdjoAr0BuTTRey0=; b=rbHdMHetnUotpamGqyIt1qSgTaAvEKzAnT2vA5zQjKZhAX/6luW5bfGx7dn7LOjS1S ma+c/K0zlg/b/EJrxjy9zN0SIvdj+kqbE2/KnYWEKnqbCo2ZMKut1ZA7b10dS4L7M3vn iUyzhLLul79xnV/ZG18S7ZjqWnuF7tratc6a/R+rPdYZDvLAXaa+lzwyfT3y2SDMDLjw sSHf3iuieYPMR1gCovY6kJm55N4LHJnmBpOg4nwGMRpPGW6r9J0bIxqeZxFklgtVgCze KjlTGDjR/9tK2BHOXU3xOG61stMMDCYdxIeiwnj07TXnf1C6dMYqgq4nrH0MHuCdcNbN rB/g== X-Received: by 10.224.187.196 with SMTP id cx4mr21951259qab.35.1362178454103; Fri, 01 Mar 2013 14:54:14 -0800 (PST) Original-Received: by 10.49.38.166 with HTTP; Fri, 1 Mar 2013 14:54:13 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.128.52 X-BeenThere: help-emacs-windows@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion forum for users of the GNU Emacs port to Windows List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-emacs-windows-bounces+gnu-help-emacs-windows=m.gmane.org@gnu.org Original-Sender: help-emacs-windows-bounces+gnu-help-emacs-windows=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.windows:5716 gmane.emacs.bugs:72008 Archived-At: Hello Andrew! On Fri, Mar 1, 2013 at 3:49 PM, Andrew Pennebaker wrote: > 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. With my old version, 23.1.1, "start", the windows analog of "&", as in: start emacs works (although emacs then opens up a new, vaguely annoying console window of its own). I believe the "official" approach (at least with my old version) is to use the companion helper program, runemacs, as in: runemacs This, I believe, will do what you are asking (although it does seem to flicker a console window briefly). > Can we default the next version to this behavior? I'll let the experts answer this one. But do let me note that emacs (at least my old version) still supports the old, text-only, console mode, as in: emacs -nw ("nw" being, I believe, an abbreviation of "no window") I have no idea whether having emacs default to "detaching" itself from the console would make continuing to support "-nw" more difficult. > Cheers, > > Andrew Pennebaker > www.yellosoft.us Good luck. K. Frank