Contents

Concatenative language

  • ACL
  • Ait
  • Breeze
  • Cat
  • colorForth
  • CoSy
  • Deque
  • Elymas
  • Enchilada
  • ETAC
  • Factor
  • Forth
  • Freelang
  • Joy
  • Kitten
  • Lviv
  • min
  • mjoy
  • Mlatu
  • Om
  • Onyx
  • Plorth
  • Popr
  • PostScript
  • Quackery
  • r3
  • Raven
  • Retro
  • Staapl
  • Stabel
  • Trith
  • Worst
  • xs
  • XY
  • 5th
  • 8th

Other languages

  • APL
  • C++
  • Erlang
  • FP trivia
  • Haskell
  • Io
  • Java
  • JavaScript
  • Lisp
  • ML
  • Oberon
  • RPL
  • Self
  • Slate
  • Smalltalk

Computer Science

  • Type systems
  • Language paradigms
  • Compilers
  • Interpreters
  • Garbage collection

Meta

  • Search
  • Farkup wiki format
  • People
  • Etiquette
  • Sandbox
Front Page All Articles Recent Changes Random Article

Emacs Integration

Emacs on Windows

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.

Setup emacs

Add the following to your /.emacs or other appropriate startup location:

;;; Factor
(load-file "d:/Program Files/factor/misc/fuel/fu.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.

FUEL, the Factor mode for emacs, has many advanced features. Consult misc/fuel/README for details.

Setup Factor

Finally you need to inform Factor that you want to use Emacs as your editor. 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, 22 Dec 2008 05:43:41 by slava

Latest Revisions Edit

All content is © 2008-2022 by its respective authors. By adding content to this wiki, you agree to release it under the BSD license.