Optional Helpful Resources

Editors

Emacs

While ancient, Emacs is still a pretty powerful and convenient editor, in particular when equipped with some customization (however, it should not be used by inexperienced users since the user interface of Emacs is quite different from standard windows GUI programs). For convenience, our internal emacs configuration files are provided via SVN for developers as well. To install them, go to your home directory and do:

cd
svn co https://subversion.assembla.com/svn/vish/site-lisp
cd site-lisp
make

This will enable certain shortcut keys in emacs that ease compilation from within the editor and install an editing style that is compatible with the Vish coding convention.

Similar to Linux, Emacs is also available for Windows. The configuration files mentioned in the Linux guide can be installed under windows globally via:

cd /c/GnuWin32/Emacs
svn co https://subversion.assembla.com/svn/vish/site-lisp
cd site-lisp
make

If you like auto completion in your editor, you might like to install auto-complete for emacs:

http://cx4a.org/software/auto-complete

For usage within the MSYS bash, it is convenient to set an alias for invoking emacs from the command line:

alias emacs="/c/Program\ Files/emacs-21.3/bin/runemacs.exe"

Note that vish/bin/bashrc as described below already does this.

Notepad++

A useful editor for Windows:

http://notepad-plus-plus.org

Shell

There is a file bin/bashrc as part of the Vish SVN distribution that contains useful bash alias and functions. It can be called from ~/.bashrc or  ~/.login by including the line

.  ~/vish/bin/bashrc

This bash resource file is provided for convenience as it provides various useful aliases and a nicer shell prompt (though this is a matter of taste). Once this bash rc file has been sourced by the current shell (via the ‘.’ command), vish can be invoke by just typing “v”. The PATH will be set to the respective binary and make also all other vish-compiled binaries available, e.g. all converters.

top