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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=hVUzFzX57C6E64ha mjrMNX0iXH82lgRq5a5MwQ/I7lZXO27GHBvGdYDUYShEh30kNAM5rIHxOt0GKgrW lT1quOF+2B12QFJIR9PgJ3wl+0H0Jy448q7LhO+EzOw5xKY9EqatoITJ+FBwY9yE hxDRIvuNPG14Oqdv4mZcQsJRbOg= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=H8x6u95ULOoC39ZAudfI5W Ek4Fo=; b=gSzuDB/hXEvDb79uSLMvwCyHVLvFqBXPPW2FKj6OaZLW3tBoIIkOF4 eSa8aTJRldpjVXM1Z4HKANI+uhyJO60rqe85nmYXYJmADdGkR85fcoXpemeYLuxn gBgaAZveywu9NgJqcmF/bSub1sImC1e2RsXtY+OHj2eWt7ehfZwNY= 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=-2.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*f:sk:9fe4ce1, H*MI:sk:9fe4ce1, H*i:sk:9fe4ce1 X-HELO: limerock01.mail.cornell.edu X-CornellRouted: This message has been Routed already. Subject: Re: Trouble running emacs on new box To: cygwin AT cygwin DOT com References: <9fe4ce1b-1f9c-41a5-6202-0b010da9edae AT gmail DOT com> From: Ken Brown Message-ID: Date: Sat, 30 Jul 2016 10:54:26 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <9fe4ce1b-1f9c-41a5-6202-0b010da9edae@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-IsSubscribed: yes On 7/29/2016 10:17 PM, David M. Karr wrote: > On 07/29/2016 07:06 PM, Ken Brown wrote: >> On 7/29/2016 4:51 PM, David Karr wrote: >>> I had Cygwin running on an old box for a while. I have a desktop >>> shortcut to run Emacs, using the following command line: >>> --------------------- >>> C:\cygwin64\bin\run2.exe --display 127.0.0.1:0.0 >>> /usr/local/bin/emacs.xml >>> ---------------- >>> >>> This was working fine. I set this up quite a while ago, so I don't >>> quite remember the circumstances of the pieces of this. >>> >>> I'm now setting up cygwin on a new box, with very similar >>> configuration. Unfortunately, setting up Cygwin is something I don't >>> do very often, and it's usually a year or more since the last time I >>> did it. I've already reviewed the FAQ and User Guide for hints. >>> >>> When I first tried this command line, it failed without any good error >>> messages. I later realized that one good reason it's failing is that >>> "/usr/local/bin/emacs.xml" doesn't exist on the new box. I looked at >>> this file on the old box, and it seems relatively simple, but is this >>> a file I'm supposed to create myself? I don't remember doing this. >> >> You have to run the script /usr/bin/make-emacs-shortcut to create that >> file. See /usr/share/doc/emacs/README.Cygwin for details. > > Ah, ok. Wouldn't it be a good idea for some of this information to be > put into the generated file as a comment? Yes, good idea. I'll do this in the next emacs release. 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