Eric Hanchrow wrote: | >>>>> "Elfyn" == Elfyn McBratney <[EMAIL PROTECTED]> 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/