unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Vesa Suontama <vesa.suontama@supponor.tv>,
	549@emacsbugs.donarmstrong.com
Cc: bug-gnu-emacs@gnu.org
Subject: bug#549: emacsclient or emacsclientw not waiting in Windows
Date: Mon, 14 Jul 2008 17:38:56 +0200	[thread overview]
Message-ID: <487B7310.90206@gmail.com> (raw)
In-Reply-To: <000001c8e349$30b8e300$922aa900$@suontama@supponor.tv>

Vesa Suontama wrote:
> Hi,
> 
> I have a Windows Vista SP1, and when using emacsclient or emacsclientw, 
> they always return immediately with return value 1, and do not wait 
> making it useless as EDITOR for command line utilities which should wait.
> 
> I use the emacsclient from cmd.exe and not from cygwin. I also started 
> emacs with –q, and started server manually after that, so no startup 
> file should be causing this.
> 
> Is this a known issue?
> 
> Otherwise I love emacs :)
> 
> Vesa
> 
> In GNU Emacs 22.2.1 (i386-mingw-nt6.0.6001)
> 
>  of 2008-03-26 on RELEASE
> 
> Windowing system distributor `Microsoft Corp.', version 6.0.6001


I do not have Emacs 22 here. However I just tested with CVS Emacs 23, 
both unpatched and the patched version that comes with Emacs+EmacsW32. I 
saw no problem, both emacsclient and emacsclientw waited as expected.

Some notes:

- Please use -Q (uppercase), not -q (lowercase). -q will still run 
site-start.el

- If you test from a console window (running cmd.exe) then please note 
that emacsclientw can not make cmd.exe wait for it. I can't remember the 
technical terms for it but w here stands for "window, GUI". Program 
linked as GUI applications do not use a console window (by default). 
They can not write to a console and if started from a console the 
console will not wait for them.







  parent reply	other threads:[~2008-07-14 15:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <000001c8e349$30b8e300$922aa900$@suontama@supponor.tv>
2008-07-12  4:56 ` bug#549: emacsclient or emacsclientw not waiting in Windows Stefan Monnier
2008-07-12  5:05   ` Processed: " Emacs bug Tracking System
2008-07-12  7:46   ` Lennart Borgman (gmail)
2008-07-14 15:38 ` Lennart Borgman (gmail) [this message]
2008-07-15  6:40 Vesa Suontama
2008-07-15  7:37 ` Lennart Borgman (gmail)
2008-07-15  8:15   ` Jason Rumney
2008-07-15  9:49     ` Vesa Suontama
  -- strict thread matches above, loose matches on Subject: below --
2008-07-11 11:28 Vesa Suontama

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=487B7310.90206@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=549@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=vesa.suontama@supponor.tv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).