delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/05/17/08:36:40

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=eg16GBxb0GHz9c3Pd2l56tH7R/HbE0IvqTpkJvGD15X
CzAj5J4cJSR0TnlwCMf7YJUj8ToeLT490sQnPbviz7kK1emDHm119393HT9d3CUi
6bkmoyYbHC9oua1apa/vr1FhO6fadHsm6JsS3dLOlZD7smKSskyUibQcvG7ofXtw
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=BgoVLH9N8yd8MXRXB3XxlqF003k=; b=ffwibViZjLSkTZRjh
31ft+MzpnRrhJyPzdyHzaPSVKiYXKs9OW3Dh3bHmQVfIzZ49kx4Tu8JGIttwPifq
Ca+rXDnCsg7J+/JKkbAgyp4SclPKikjbxfj/w8yIptL2zYutyCe23sY8krgqvByE
G+j3mQRqf9qHRokIq5+kptU/mY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: limerock02.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Message-ID: <55588B3A.8050906@cornell.edu>
Date: Sun, 17 May 2015 08:36:10 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: AW: emacs-w32 24.5.1: Crashes with --daemon and in "About Emacs"
References: <555620B6 DOT 3090000 AT cornell DOT edu> <8CBDEA451F644AEAAB3A003C80C8AA39 AT MartinsDell>
In-Reply-To: <8CBDEA451F644AEAAB3A003C80C8AA39@MartinsDell>
X-IsSubscribed: yes

On 5/17/2015 3:44 AM, Martin Anantharaman wrote:
> Ken,
>
> thanks for your quick reply. Regarding the problem with emacs --daemon I
> should have given the following background:
> 1) The commands in my listing (it was actually an attached text-file - which
> automagically got inlined into the posting) need to be executed in that
> sequence, i.e. emacs --daemon needs to be executed before executing
> emacsclient

Yes, I understood that.  And, as I said, I couldn't reproduce the problem.  The 
rest of my comment came from an effort to understand where your error message 
came from.

> 2) I use the setting (server-use-tcp t) in my .emacs init-file to switch

server-use-tcp is a variable, not a function, so (server-use-tcp t) is not valid 
elisp.  Do you mean you customized the variable server-use-tcp?  This would yield

(custom-set-variables
[...]
  '(server-use-tcp t)
[...]

> from the default socket connection-method to TCP - which allows the official
> emacsclient (which cannot use local sockets due to MinGW limitations) to
> connect as well. On the other hand emacsclient still seems to default to the
> socket-connection, so it gives an error-message "emacsclient: can't find

The server still creates a socket, even if it's using TCP, so this doesn't 
explain why emacsclient can't find the socket.

> socket; have you started the server? ..." - but then connect via TCP anyway.
> So without this setting (the default) that particular error-message would
> not appear.
>
> Can you re-produce the error now?

No, I customized server-use-tcp to t, and I still can't reproduce the problem. 
Is there something else in your .emacs that could be causing this?  Have you 
tried starting the daemon with 'emacs --daemon -Q' to test this?

> Regarding the crash in About Emacs on the second machine I did a clean
> re-install but get the same error - so it could be specific to the Windows
> XP (yes, I am ashamed to admit it) configuration on that machine. How could
> I go about analyzing this, maybe using the stackdump and/or debuginfo?

If you've installed the emacs-debuginfo package, you could try running emacs 
under gdb.  And you should run 'emacs -Q' to make sure the problem isn't 
triggered by something in your init files.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019