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=Jp1aTcBukH0i3EGTfih8uROvpDuQl+GZLpUOTdDHVr4 mMGOZ3VGOUpknK0kESjfqIOOThg6AipOwo39CZojXU57Fx4H5kc+0n3mzzIWxmSy DYVpe8i3iPVC2Z9vVMK8AdT2uXFsQ9LpJEtTwMxRU08WH0f5AzVRIpCyeYtvvSmI = 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=haQTzGBC2k6bmbDnXA/1Zk1Q/tU=; b=eQyQdR+cuU2TbhP2Q 5x+DepJp7uJD4Ot7XgPRBq+SPZh/96h4huDtBbx+WTFIVEixpqntec7daW+wq17O y4JZF2Jc3xtcnZ5NMav5s6OsHNBkKtMIVJKE/sLZsEY3CLDqGx9qdfdFnbswVshY X2KwwBn9pI2YljBRlfaaz8AnFg= 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.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: limerock01.mail.cornell.edu X-CornellRouted: This message has been Routed already. Message-ID: <555620B6.3090000@cornell.edu> Date: Fri, 15 May 2015 12:37:10 -0400 From: Ken Brown 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: emacs-w32 24.5.1: Crashes with --daemon and in "About Emacs" References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 5/15/2015 7:22 AM, Martin Anantharaman wrote: > - Crash in server-mode: One of the advantages of Cygwin emacs-w32 is that it > supports the server-mode via invocation with --daemon (also coming soon to > official Emacs!). But using emacsclient wihtout any options first gives an > error and then crashes emacs-w32. See attachment "emacs-test" I can't reproduce this. And I'm puzzled by the output: > $ emacsclient .shrc > emacsclient: can't find socket; have you started the server? > To start the server in Emacs, type "M-x server-start". > Waiting for Emacs... > *ERROR*: Could not open file: /dev/cons0 On my system if emacsclient can't find the socket (which only happens if there's no server running), I see the following in a Cygwin Terminal (mintty): $ emacsclient-w32 foo emacsclient-w32: can't find socket; have you started the server? To start the server in Emacs, type "M-x server-start". emacsclient-w32: No socket or alternate editor. Please use: --socket-name --server-file (or environment variable EMACS_SERVER_FILE) --alternate-editor (or environment variable ALTERNATE_EDITOR) I also don't understand why emacsclient would be trying to open /dev/cons0. Do you by any chance have EMACS_SERVER_FILE set in your environment to /dev/cons0? > - Crash in About Emacs: On another machine with (in contrast to my primary > machine) very lean installation (see attachment 3) emacs-w32 crashes when I > open the About Emacs page from the Help menu. I can't reproduce this either. I tried it in a fresh Cygwin install, just choosing emacs-w32 and its dependencies. I ran 'emacs-w32&' in a Cygwin Terminal, emacs opened in a new window, and there was no problem after clicking on "About 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