From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 722 invoked by alias); 21 Feb 2011 20:47:02 -0000 Received: (qmail 714 invoked by uid 22791); 21 Feb 2011 20:47:01 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mail-iy0-f171.google.com (HELO mail-iy0-f171.google.com) (209.85.210.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 Feb 2011 20:46:57 +0000 Received: by iyf40 with SMTP id 40so2967275iyf.2 for ; Mon, 21 Feb 2011 12:46:55 -0800 (PST) Received: by 10.231.36.75 with SMTP id s11mr1472586ibd.130.1298321214743; Mon, 21 Feb 2011 12:46:54 -0800 (PST) Received: from [192.168.1.102] (50-80-38-54.client.mchsi.com [50.80.38.54]) by mx.google.com with ESMTPS id gy41sm5493904ibb.17.2011.02.21.12.46.52 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 21 Feb 2011 12:46:53 -0800 (PST) Message-ID: <4D62CF35.70502@developernotes.com> Date: Mon, 21 Feb 2011 20:47:00 -0000 From: Nick Parker User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:2.0b12pre) Gecko/20110221 Thunderbird/3.3a3pre MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: emacsclient problem References: <4D62A796.8070503@developernotes.com> <4D62CA50.5060908@cornell.edu> In-Reply-To: <4D62CA50.5060908@cornell.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2011-02/txt/msg00474.txt.bz2 On 2/21/2011 2:25 PM, Ken Brown wrote: > On 2/21/2011 12:57 PM, Nick Parker wrote: >> Hello, >> >> I am attempting to use the cygwin version of emacs and emacsclient, >> however I am running into an issue. The scenario that I am attempting >> is as follows: >> >> 1. Launching emacs from mintty (both of which were installed from the >> cygwin installer). >> 2. A simple init.el inside the .emacs.d directory that looks like this >> (http://pastie.org/1590067). >> 3. Background emacs with C-z >> 4. Launch emacsclient somefile.txt to edit the file. >> >> When I perform step 4, the command prompt doesn't appear to invoke >> emacsclient, the display does not change, and I do not see the file I am >> attempting to view. I have to issue a C-c to break the prompt back to >> normal user input. >> >> Version Information: >> mintty: 0.9.5 >> emacs: 23.2.1 >> emacsclient: 23.2 >> >> Does anyone have any suggestions on what might be the cause of this >> behavior? Should this in fact work? Any suggestions would be >> appreciated. Thanks. > > I don't see anything in the emacsclient documentation that suggest > that the emacs server should continue to run after being suspended > with C-z. Here are two alternatives that do seem to work (but see the > documentation for much more information): > > 1. Start emacs (and the emacs server) in one mintty window and run > emacsclient in another. > > 2. Start emacs with the --daemon option. > > 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 > Ken, Thank you, the --daemon option is what I was looking for, it worked perfectly. Thanks. -- Nick Parker www.developernotes.com -- 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