From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103022 invoked by alias); 15 May 2015 16:37:06 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 102965 invoked by uid 89); 15 May 2015 16:37:05 -0000 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 Received: from limerock01.mail.cornell.edu (HELO limerock01.mail.cornell.edu) (128.84.13.241) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 15 May 2015 16:37:04 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock01.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id t4FGb16Q028452 for ; Fri, 15 May 2015 12:37:01 -0400 Received: from [192.168.1.3] (cpe-67-249-176-138.twcny.res.rr.com [67.249.176.138]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id t4FGb0dH026013 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Fri, 15 May 2015 12:37:01 -0400 Message-ID: <555620B6.3090000@cornell.edu> Date: Fri, 15 May 2015 17:27:00 -0000 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@cygwin.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 X-SW-Source: 2015-05/txt/msg00183.txt.bz2 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