X-Recipient: archive-cygwin AT delorie DOT 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=V62iskQjanBAEUTQ W4IarCp2haHfumUduBPopPrn66F7yrDp8PmOE2ZrKBKFn6PNHFGTejp/N2LnFJzP FwRlYz7mW31HWtEuw0mCsA8ktY5jgFVdXuR4r+jbc2BvZFZTDny3qygGqGQsO9OR iuIuTT9PE+2LumY58uXWJ50jphU= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=x22ZS33UacSOxPPy2H0SVh smp+4=; b=c5ttIn+k2klA4dDH6NqBV+pYY6IVRyVDtf6nasfWd/Td7UZ4ruqbrQ 5k8RtBZs98r8x49DxwFn8iXlDM62i8zngAYgyvF1RHFf5ZepUC/Y6yytRvehOGpG KwO7xhY0cSpi3FNEFO5agSBYjTQ515q2w6nsY41vCxe7S2U7pvrgM= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=cx, Cx, Hx-languages-length:1912 X-HELO: limerock03.mail.cornell.edu X-CornellRouted: This message has been Routed already. Subject: Re: Emacs 25.2.1 Fails to Start Server To: cygwin AT cygwin DOT com References: <2017728155755 DOT 692313 AT A6> <0f58d454-db32-0c65-8d9c-eaad003174d1 AT cornell DOT edu> From: Ken Brown Message-ID: Date: Tue, 1 Aug 2017 08:58:09 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <0f58d454-db32-0c65-8d9c-eaad003174d1@cornell.edu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Cornell-Gauge: Gauge=X X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-IsSubscribed: yes On 7/31/2017 7:27 PM, Erik Knowles wrote: > > Apologies for emailing directly -- I forgot to subscribe to the cygwin list so I don't have a list message to reply to. If you wouldn't mind sending your reply to the list (as a reply to my original msg?), I am now subscribed and should be able to reply to future responses through the list. > >> I wouldn't expect this to work, because of the '&'. Here's what I see >> when I run that command interactively: > > When starting the server (that is, when the server actually works) adding the "&" gets me my Bash prompt back after the server gets going. Without the "&" the server still started fine; it's just that the Bash prompt was locked until the server exited. > > On to the problem. I notice in your first example that you're using the X-11 version of Emacs. I don't have emacs-X11 installed -- I'm using (and have been for years) the terminal version. Can you try adding "-nw" to see if the terminal version works for you? I ran it from mintty, not under X11, so -nw wouldn't change anything. > On your "emacs-w32 --daemon -q" example, can you connect to that server using emacsclient-w32? From your sample it looks like the server hung (from memory, a successful startup is signalled by a message to the effect that a socket is being created). $ emacs-w32 --daemon -q Starting Emacs daemon. $ echo blah > foo $ emacsclient-w32 -c foo Waiting for Emacs... [An emacs-w32 frame opened up, visiting foo. I exited with C-x #.] > Re: The multiple cygwin1 dll's, I'm aware of the outdated one. It's at the very end of the search path so it should never be loaded (except for the program in that directory that needs it), but I did go ahead and verify (using Sysinternals' Process Explorer) that the current version is being used. OK. Are you able to start the server by doing 'M-x server-start' within emacs? 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