Concatenative topics
Concatenative meta
Other languages
Meta
This should be readily adaptable for other operating systems but since I've just gone through the task of getting this working on Windows XP I thought I would document the result.
Add the following to your /.emacs or other appropriate startup location:
;;; Factor (load-file "d:/Program Files/factor/misc/factor.el") (setq factor-binary "d:/Program Files/factor/factor.exe") (setq factor-image "d:/Program Files/factor/factor.image")'
Be sure to change the paths appropriately of course.
Finally you need to inform Factor that you want to use Emacs as your browser. Create or modify the .factor-rc
file in your home directory. You can find out what factor thinks is your home directory with
USE: io.files home .
and you can even have factor create a blank file in the proper location with
home "factor-rc" append-path touch-file
Edit that file and add something like:
USING: namespaces editors.emacs ; "d:/Program Files/emacs-22.3/bin/emacs.exe" \ emacsclient set-global
again, change the path appropriately.
At this point Factor should now be integrated with emacs. Invoke the following in the listener to test:
\ + edit
This revision created on Mon, 17 Nov 2008 01:09:20 by slava