delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4D62CA50.5060908@cornell.edu> |
Date: | Mon, 21 Feb 2011 15:25:52 -0500 |
From: | Ken Brown <kbrown AT cornell DOT edu> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: emacsclient problem |
References: | <4D62A796 DOT 8070503 AT developernotes DOT com> |
In-Reply-To: | <4D62A796.8070503@developernotes.com> |
X-IsSubscribed: | yes |
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 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |