public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: cygwin@cygwin.com
Subject: Re: Emacs 25.2.1 Fails to Start Server
Date: Tue, 01 Aug 2017 12:58:00 -0000	[thread overview]
Message-ID: <c7c1992f-7795-9406-c0d9-679ce09460d4@cornell.edu> (raw)
In-Reply-To: <0f58d454-db32-0c65-8d9c-eaad003174d1@cornell.edu>

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

           reply	other threads:[~2017-08-01 12:58 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <0f58d454-db32-0c65-8d9c-eaad003174d1@cornell.edu>]

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=c7c1992f-7795-9406-c0d9-679ce09460d4@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=cygwin@cygwin.com \
    /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.
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).