X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type; q=dns; s=default; b=AM
	ve27cYNEk9OJeO/L3vdzbIG/11zdB1th8O8PG7DeHgm4nEGdfyEWqUlht82xi+v3
	PoRMuwsQZmgin97RSygQx8hIRIxr9WR6n5H0tnATEPC/sqB0Nkuf+Vg6d2DOYnuO
	HTKhLS3GlGq+fx+Sv8MubY6VdNXBqBaPTnH1j+W+Y=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type; s=default; bh=LAu3i9uH
	3LSFHTo08skNGQJbD4s=; b=bu8nfrKiqrZnczqrV12NwF9yoTpO8RjU4EYlqMuB
	+MU2xlemgu7cdTqtUBaOnltb7GKPbszYKS9KKDiz/I7m6jTlOUKeLKIufwzPuwhb
	r26/fxq26kmlA+OY5r7VcKr3fYgOFYRdDXMbXVeTZ+tmeXqySLzOlCAInRHPVjJf
	HXc=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-qc0-f173.google.com
MIME-Version: 1.0
X-Received: by 10.224.47.8 with SMTP id l8mr9031860qaf.24.1400120330085; Wed, 14 May 2014 19:18:50 -0700 (PDT)
In-Reply-To: <537384B0.7030908@cornell.edu>
References: <CAHmJ-oW2nkwn98WRT+ZmjH3Fk5wyign-JSXEPdnVREHVbtwDJg@mail.gmail.com>	<537384B0.7030908@cornell.edu>
Date: Thu, 15 May 2014 10:18:49 +0800
Message-ID: <CAHmJ-oVMQm80G1Zowj4987Lm=K244BLsVYCNVGsVU3dxdi4+FQ@mail.gmail.com>
Subject: Re: Emacs daemon exit with clients
From: Arthur Tu <arthur.jim.tu@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

Yes, I am running emacs-w32.exe. And yes, it's specific to `emacs --daemon'.

Thanks.

On Wed, May 14, 2014 at 10:58 PM, Ken Brown <kbrown@cornell.edu> wrote:
> On 5/14/2014 1:27 AM, Arthur Tu wrote:
>>
>> I installed the latest 24.4 pretest version. I didn't do experiments
>> on v24.3 on cygwin.
>> $ emacs --version
>> GNU Emacs 24.3.90.1
>>
>>
>> Problem reproduced by these steps:
>>
>> 1. "emacs -q --daemon"    to open a daemon
>> 2. "emacsclient -c"     to open a client
>> 3. "Ctrl+x Ctrl+c"        in client window to kill the client
>> 4.  "emacsclient -c"      open another client successfully
>> 5. "Ctrl+x Ctrl+c"        in client window to kill the client again
>> 6. "emacsclient -c"      the server is not there any more, client won't
>> start
>>
>> However, on debian(testing) with emacs24.3.1, I can perform step 2 and
>> step 3 as many times as I like. The server won't shutdown without
>> commands.
>>
>> Also, I replace "emacsclient -c" with "emacsclient -c test" and
>> "Ctrl+x Ctrl+c" with "Ctrl+x #" respectively, and observe the same
>> behavior.
>>
>> Is this a bug?
>
>
> Yes.  I assume you're running emacs-w32.exe.  I can reproduce the problem
> with that build, but not with emacs-X11 running under X11.  And it doesn't
> happen if you start the server by `M-x server-start' in an existing emacs
> session; it's specific to `emacs --daemon'.
>
> I'm copying Daniel Colascione, the author of emacs-w32 (a.k.a. the cygw32
> build of emacs).  Daniel, can you help?
>
> Ken
>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

