delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/05/14:37:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <4A2965E1.9060103@cornell.edu>
Date: Fri, 05 Jun 2009 14:37:21 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: How to run GNU Emacs from Windows icon
References: <746652D230364290B3E68BE37FA6CB50 AT corp DOT real DOT com> <h0bem8$j79$1 AT ger DOT gmane DOT org> <11A75AD176AD4FDDB6913E94D92DCB64 AT corp DOT real DOT com>
In-Reply-To: <11A75AD176AD4FDDB6913E94D92DCB64@corp.real.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 6/5/2009 11:58 AM, David Karr wrote:
>>>> C:\cygwin\bin\bash.exe --login -c "C:/cygwin/bin/emacs.exe"
>>> emacs: Terminal type cygwin is not defined.
>>> If that is not the actual type of terminal you have,
>>> use the Bourne shell command `TERM=... export TERM' (C-shell:
>>> `setenv TERM ...') to specify the correct type. It may be necessary
>>> to do `unset TERMINFO' (C-shell: `unsetenv TERMINFO') as well.
>> 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.

I have a few other suggestions if you want to keep trying to track this 
down:

1. Send cygcheck output (as an attachment) as requested at 
http://cygwin.com/problems.html

2. Try emacs -q to make sure there's nothing in your initialization 
file(s) causing the problem.

3. Try emacs 23:

   http://sourceware.org/ml/cygwin/2009-05/msg00475.html
   http://sourceware.org/ml/cygwin/2009-05/msg00635.html

Ken

--
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