all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Terence Dineen <terence.dineen@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: bug#3128: emacsclient 22.3 race condition when launching emacs is required
Date: Mon, 27 Apr 2009 13:03:44 -0400	[thread overview]
Message-ID: <4e375d980904271003i89fa8d2s107df13dd5167139@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 687 bytes --]

I have emacs 22.3 installed on

$ uname -a
Linux void 2.6.9-67.0.1.ELsmp #1 SMP Fri Nov 30 11:57:43 EST 2007 x86_64
x86_64 x86_64 GNU/Linux

No emacs is running:

$ ps -e | grep emacs
$

If I invoke emacsclient at this point it does launch emacs but with an
unnecessary message on stderr and does not return (as expected since
--no-wait was not used):

$ echo $ALTERNATE_EDITOR
/sandbox/bin/emacs
$ emacsclient foo
emacsclient: connect: Connection refused

The newly launched emacs has a buffer open on foo but not as a server
buffer.

emacsclient is waiting for a done message from emacs and emacs is acting as
though it was launched by emacsclient using the --no-wait option.

Thanks.

[-- Attachment #2: Type: text/html, Size: 760 bytes --]

             reply	other threads:[~2009-04-27 17:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <stab40223n.fsf@fencepost.gnu.org>
2009-04-27 17:03 ` Terence Dineen [this message]
2009-06-21  2:27   ` bug#3128: Bug#3128: emacsclient 22.3 race condition when launching emacs is required Glenn Morris
2009-06-22 17:22     ` Terence Dineen
2009-06-22  6:55   ` bug#3128: marked as done (emacsclient 22.3 race condition when launching emacs is required) Emacs bug Tracking System

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

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

  git send-email \
    --in-reply-to=4e375d980904271003i89fa8d2s107df13dd5167139@mail.gmail.com \
    --to=terence.dineen@gmail.com \
    --cc=3128@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.