From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.bugs Subject: bug#549: emacsclient or emacsclientw not waiting in Windows Date: Tue, 15 Jul 2008 09:15:51 +0100 Message-ID: <487C5CB7.3050004@gnu.org> References: <5f9de3c40807142340o7954c128i3130aedcd98de3d0@mail.gmail.com> <487C53BC.4030807@gmail.com> Reply-To: Jason Rumney , 549@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1216115579 13313 80.91.229.12 (15 Jul 2008 09:52:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jul 2008 09:52:59 +0000 (UTC) Cc: Vesa Suontama To: 549@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 15 11:53:46 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KIhE8-0000fR-E2 for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Jul 2008 11:53:44 +0200 Original-Received: from localhost ([127.0.0.1]:50815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIhDG-0001fF-8O for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Jul 2008 05:52:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KIgzl-0007sM-H2 for bug-gnu-emacs@gnu.org; Tue, 15 Jul 2008 05:38:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KIgzh-0007nd-6a for bug-gnu-emacs@gnu.org; Tue, 15 Jul 2008 05:38:52 -0400 Original-Received: from [199.232.76.173] (port=54076 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIgld-0008Jr-6r for bug-gnu-emacs@gnu.org; Tue, 15 Jul 2008 05:24:17 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36819) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KIfsa-0005Fh-4R for bug-gnu-emacs@gnu.org; Tue, 15 Jul 2008 04:27:24 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6F8RGUL001841; Tue, 15 Jul 2008 01:27:16 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m6F8P5It000876; Tue, 15 Jul 2008 01:25:05 -0700 X-Loop: don@donarmstrong.com Resent-From: Jason Rumney Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Tue, 15 Jul 2008 08:25:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 549 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: wontfix Original-Received: via spool by 549-submit@emacsbugs.donarmstrong.com id=B549.121610977031966 (code B ref 549); Tue, 15 Jul 2008 08:25:05 +0000 Original-Received: (at 549) by emacsbugs.donarmstrong.com; 15 Jul 2008 08:16:10 +0000 Original-Received: from mk-outboundfilter-5.mail.uk.tiscali.com (mk-outboundfilter-5.mail.uk.tiscali.com [212.74.114.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6F8G3tQ031959 for <549@emacsbugs.donarmstrong.com>; Tue, 15 Jul 2008 01:16:05 -0700 Original-X-Trace: 57915621/mk-outboundfilter-5.mail.uk.tiscali.com/F2S/$F2S-ACCEPTED/f2s-freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkoFAK/4e0hTQxds/2dsb2JhbACBWqwP X-IronPort-AV: E=Sophos;i="4.30,365,1212361200"; d="scan'208";a="57915621" X-IP-Direction: IN Original-Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP; 15 Jul 2008 09:15:57 +0100 Original-Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id 3CE332C7; Tue, 15 Jul 2008 09:15:57 +0100 (BST) User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) In-Reply-To: <487C53BC.4030807@gmail.com> X-Enigmail-Version: 0.95.6 OpenPGP: id=8086879D X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Tue, 15 Jul 2008 05:38:51 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18726 Archived-At: >> It works like this: have emacsclient.com and emacsclient.exe, where >> new emacsclient.exe is the old emacsclientw.exe, and emacsclient.com >> is just a wrapper that calls the emacsclient and waits for it to >> finish (e.g. by using a named event, which emacsclient.com waits). >> >> The other way around could be to use "AttachConsole" etc. from >> emacsclientw (and rename it to emacsclient), but all this is just >> guessing >> as I do not know the real reason for emacsclientw. These might be good ideas if Emacs was a Windows program. But since Emacs is a cross platform program, it is better to keep emacsclient the same as other platforms, and have emacsclientw, which is built from identical source code with different compiler switches, to work around the deficiency in Windows where it insists on making a console visible when you start a console program from the GUI.