From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Patch to allow -nw to runemacs on w32 Date: Wed, 15 Nov 2006 15:22:00 +0000 Message-ID: <455B3098.4010307@gnu.org> References: <455B19B9.9000004@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1163604185 3857 80.91.229.2 (15 Nov 2006 15:23:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Nov 2006 15:23:05 +0000 (UTC) Cc: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 15 16:23:02 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GkMb5-0006J7-31 for ged-emacs-devel@m.gmane.org; Wed, 15 Nov 2006 16:22:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GkMb4-0002y1-7z for ged-emacs-devel@m.gmane.org; Wed, 15 Nov 2006 10:22:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GkMap-0002wE-A9 for emacs-devel@gnu.org; Wed, 15 Nov 2006 10:22:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GkMam-0002tO-U1 for emacs-devel@gnu.org; Wed, 15 Nov 2006 10:22:26 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GkMam-0002tK-O0 for emacs-devel@gnu.org; Wed, 15 Nov 2006 10:22:24 -0500 Original-Received: from [194.106.33.237] (helo=outmail.freedom2surf.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GkMam-0008DC-SH for emacs-devel@gnu.org; Wed, 15 Nov 2006 10:22:25 -0500 Original-Received: from [127.0.0.1] (i-83-67-23-108.freedom2surf.net [83.67.23.108]) by outmail.freedom2surf.net (Postfix) with ESMTP id DD1BF5294A; Wed, 15 Nov 2006 15:22:23 +0000 (GMT) User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) Original-To: Lennart Borgman In-Reply-To: <455B19B9.9000004@student.lu.se> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:62335 Archived-At: Lennart Borgman wrote: > In some situations you may want to be able to use the -nw option with > runemacs.exe. All other options to emacs can be given to runemacs, but > -nw currently gives a fatal error. The attached patch fixes this. I don't see any error, OTOH, it launches emacs in a hidden console that you cannot get at, so isn't much use. I don't see any reason why someone would want to use runemacs to launch emacs -nw, since the sole purpose of runemacs is to suppress the console window when launching emacs from an icon on Windows, so I don't think this needs fixing urgently. If we are going to fix this though, it would be better if emacs was run in the same console window rather than launching another one, as the latter may not be an option if the user is using telnet/ssh, or a full screen command prompt. Also we need to handle --no-window-system and the case where no GUI is available as well as -nw.