|
From: Brian M. <ma...@vi...> - 2003-01-20 16:39:00
|
I've started using RubyCocoa. Wonderful program. Here's how I've hooked
it in with Emacs. This may be of use to others. Anyone have tips for me?
I mainly use Project Builder to display files and to launch builds.
When I click on a .rb file, that file is opened in Emacs (I use the
aquafied version, not the terminal version that comes with OS X. It has
syntax coloring, etc.)
I edit away. I run my unit tests with F10. I run slower tests with F9.
F6 brings Project Builder forward and makes it build and run the app.
-----------
To do all this:
- The aquafied version of Emacs has a single-click installer here:
<http://www.webweavertech.com/ovidiu/emacs.html>
- You need Project Builder from the December developer tools
release.
- You tell Project Builder to use a particular editor with the
File Type preference. I just set it to use Emacs for all files
that don't override the default. (Note that the menu entry for
Emacs refers to the Terminal version, not the Aqua version.)
- Aqua emacs doesn't contain one library that Project Builder's emacs
interface depends upon. You need to grab gnuserv-compat,
gnuserv, and devices from the Terminal emac's lisp library.
- F10 and F9 are just emacs keys that run Test::Unit within
dedicated shells.
- F6 I programmed with Keyboard Maestro
<http://www.keyboardmaestro.com>.
-----
Brian Marick
Consulting, training, contracting, and research
Focused on the intersection of testing, programming, and design
ma...@te..., ma...@vi...
www.testing.com, www.visibleworkings.com
"Act always so as to increase the number of choices." -- Heinz von
Foerster
|