www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/05/23:04:10

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: How to run GNU Emacs from Windows icon
Date: Fri, 05 Jun 2009 20:03:11 -0700
Lines: 41
Message-ID: <h0cm9g$qio$1@ger.gmane.org>
References: <746652D230364290B3E68BE37FA6CB50 AT corp DOT real DOT com> <h0bem8$j79$1 AT ger DOT gmane DOT org> <11A75AD176AD4FDDB6913E94D92DCB64 AT corp DOT real DOT com>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.21 (X11/20090409)
In-Reply-To: <11A75AD176AD4FDDB6913E94D92DCB64@corp.real.com>
X-Stationery: 0.4.8.14
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

David Karr wrote:
>> -----Original Message-----
>> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf
>> Of Andrew DeFaria
>> Sent: Friday, June 05, 2009 8:47 AM
>> To: cygwin AT cygwin DOT com
>> Subject: Re: How to run GNU Emacs from Windows icon
>>
>> David Karr wrote:
>>> I now need to set up Windows desktop icons that can start these 
>>> processes. I managed to get XEmacs working, with the following 
>>> command line:
>>>
>>> C:\cygwin\bin\bash.exe --login -c C:/cygwin/bin/xemacs-21.4.22.exe
>> Why the insistence on running bash? Why not simply run Xemacs? That's 
>> what I do at work and it works fine for me.
> It may not produce any difficult symptoms with XEmacs itself, but 
> without that I don't get a normal login shell out of the box.
And why do you require a "normal login shell"? Here's what I have for my 
shortcut that starts up XEmacs: "C:\Cygwin\bin\run.exe xemacs". Nothing 
else is required. I don't need to "login". I'm logged in already. I just 
need to edit files...
>> Again, why run bash first then run emacs?
> Again, so I get a login shell. In any case, this has no effect on the 
> symptom. I tried doing this without bash, and it fails in exactly the 
> same way.
You have not defined what exactly your "symptom" is WRT xemacs. You stated:

"I managed to get XEmacs working, with the following command line:

  C:\cygwin\bin\bash.exe --login -c C:/cygwin/bin/xemacs-21.4.22.exe
"

Then went on to describe how it fails with emacs (not xemacs) because 
emacs and a problem with your terminal type. I would think that xemacs 
doesn't care as much about terminal type. Is xemacs failing with the 
same error about terminal type? What is TERM set to for you? (Me: it's 
set to cygwin).
-- 
Andrew DeFaria <http://defaria.com>
Computers make very fast, very accurate mistakes.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019