Saturday 26 June 2010

Setting Up Emacs for Windows

Here is a good .el to help emacs recognize cygwin path style
http://www.emacswiki.org/cgi-bin/wiki/download/cygwin-mount.el

to enable
(require 'cygwin-mount)

(cygwin-mount-activate)
There is a problem with the PS1 variable of bash. Emacs doesn't recognize the escape characters for colours. The solution is to add a condition to the bash profile:
if [ $TERM = emacs] ; then
PS1='\u@\h:\W\n$'
fi

No comments:

Post a Comment