1 FUEL, Factor's Ultimate Emacs Library
2 -------------------------------------
4 FUEL provides a complete environment for your Factor coding pleasure
5 inside Emacs, including source code edition and interaction with a
6 Factor listener instance running within Emacs.
8 FUEL was started by Jose A Ortega as an extension to Ed Cavazos'
9 original factor.el code.
14 FUEL comes bundled with Factor's distribution. The folder misc/fuel
15 contains Elisp code, and there's a fuel vocabulary in extras/fuel.
17 To install FUEL, either add this line to your Emacs initialisation:
19 (load-file "<path/to/factor/installation>/misc/fuel/fu.el")
23 (add-to-list load-path "<path/to/factor/installation>/fuel")
26 If all you want is a major mode for editing Factor code with pretty
27 font colors and indentation, without running the factor listener
28 inside Emacs, you can use instead:
30 (add-to-list load-path "<path/to/factor/installation>/fuel")
31 (setq factor-mode-use-fuel nil)
32 (require 'factor-mode)
37 If you're using the default factor binary and images locations inside
38 the Factor's source tree, that should be enough to start using FUEL.
39 Editing any file with the extension .factor will put you in
40 factor-mode; try C-hm for a summary of available commands.
42 To start the listener, try M-x run-factor.
44 Many aspects of the environment can be customized:
45 M-x customize-group fuel will show you how many.
50 (Chords ending in a single letter <x> accept also C-<x> (e.g. C-cC-z is
53 * In factor source files:
55 - C-cz : switch to listener
56 - C-co : cycle between code, tests and docs factor files
58 - M-. : edit word at point in Emacs (also in listener)
60 - C-cr, C-cC-er : eval region
61 - C-M-r, C-cC-ee : eval region, extending it to definition boundaries
62 - C-M-x, C-cC-ex : eval definition around point
63 - C-ck, C-cC-ek : compile file
65 - C-cC-da : toggle autodoc mode
66 - C-cC-dd : help for word at point
67 - C-cC-ds : short help word at point
69 * In the debugger (it pops up upon eval/compilation errors):
72 - <digit> : invoke nth restart
73 - w/e/l : invoke :warnings, :errors, :linkage
76 * In the Help browser:
78 - RET : help for word at point
79 - f/b : next/previous page
80 - SPC/S-SPC : scroll up/down