Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Sat, 22 May 2004 23:58:08 -0700 From: Edwin Goei 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 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 DOT 2070203 AT sun DOT com> <4067272E DOT 50400 AT acm DOT org> <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/