Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Sat, 22 May 2004 23:58:08 -0700
From: Edwin Goei <Edwin.Goei@Sun.COM>
Subject: Re: shortcut to start xemacs in bash cygwin window
In-reply-to: <4067645D.3030100@sun.com>
To: cygwin@cygwin.com
Cc: Edwin Goei <Edwin.Goei@Sun.COM>
Message-id: <40B04B80.7000404@sun.com>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=us-ascii
Content-transfer-encoding: 7bit
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113
References: <406721C3.2070203@sun.com> <4067272E.50400@acm.org> <Pine.GSO.4.56.0403281825100.18236@slinky.cs.nyu.edu> <4067645D.3030100@sun.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/

