delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/23/02:58:30

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Sat, 22 May 2004 23:58:08 -0700
From: Edwin Goei <Edwin DOT Goei AT Sun DOT COM>
Subject: Re: shortcut to start xemacs in bash cygwin window
In-reply-to: <4067645D.3030100@sun.com>
To: cygwin AT cygwin DOT com
Cc: Edwin Goei <Edwin DOT Goei AT Sun DOT COM>
Message-id: <40B04B80.7000404@sun.com>
MIME-version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113
References: <406721C3 DOT 2070203 AT sun DOT com> <4067272E DOT 50400 AT acm DOT org> <Pine DOT GSO DOT 4 DOT 56 DOT 0403281825100 DOT 18236 AT slinky DOT cs DOT nyu DOT edu> <4067645D DOT 3030100 AT sun DOT com>

Edwin Goei wrote:

> Igor Pechtchanski wrote:
> 
>>
>> FWIW, you can dispense with the batch file, and simply make a shortcut to
>> "C:\cygwin\bin\bash --login -c 'cygstart /usr/bin/xemacs'"[*].  You can
>> then set the shortcut to start minimized.
>>     Igor
>> [*] I put /usr/bin/xemacs here, since xemacs is now a Cygwin package.
> 
> 
> Thanks.  I changed my shortcut and it seems to work...

Actually, it does not work the same.  I have lowercase environment 
variables set when bash starts up and cygstart seems to capitalize them. 
:-(  I don't want them captialized because I use the vars as 
abbreviations to long directory paths.  For example,

export ws=~/path/to/some/dir

I then can use $ws in xemacs.

BTW, is there a better way to handle abbreviations like this?  There are 
other disadvantages when adding a new path because it then needs to be 
added to process-environment and to all my shell-mode buffers.

-Edwin

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