This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Win32 emacs, Cygwin emacs...and PATH
- From: Iain Tuddenham <tuddenham at ntlworld dot com>
- To: Elfyn McBratney <cygwin at cygwin dot com>
- Date: Fri, 14 Feb 2003 00:40:03 +0000
- Subject: Re: Win32 emacs, Cygwin emacs...and PATH
Eric Hanchrow wrote:
| >>>>> "Elfyn" == Elfyn McBratney <elfyn-cygwin@exposure.org.uk> writes:
|
| >> I want to be able to type "emacs" and have it run my Win32
| >> emacs.
|
| Put this in your .bashrc:
|
| function emacs ()
| {
| /c/path-to/win32-emacs/emacs.exe "$@"
| }
Or
alias emacs=/c/path-to/win32-emacs/emacs.exe
so that you can invoke Cygwin Emacs when you need it using "\emacs". Or
call the function something else; or invoke Cygwin Emacs using
"/bin/emacs".
Or, if you don't use Cygwin Emacs, just uninstall it - then "emacs" will
pick up your Win32 Emacs without changing .bashrc.
Iain Tuddenham.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/