@@ -87,23 +87,33 @@ $ apt-get install haskell-mode
87
87
88
88
### Manual
89
89
90
- - Download and unpack the basic mode and modules into a suitable directory,
91
- e.g. ~ /lib/emacs/haskell-mode/ where ~ stands for your home directory.
90
+
91
+ - Download and unpack (for instance by by ` git clone ` ) the basic mode and modules
92
+ into a suitable directory, e.g. ` ~/lib/emacs/haskell-mode/ ` where ` ~ ` stands for
93
+ your home directory.
92
94
93
95
- If you are using Emacs 21, you need an additional library, "syntax", from
94
96
a later version of Emacs. The one you can get as
95
97
http://cvs.savannah.gnu.org/viewcvs/*checkout*/emacs/emacs/lisp/emacs-lisp/syntax.el?rev=1.16
96
98
definitely works.
97
99
98
- - Assuming you have placed the basic mode haskell-mode.el and the modules
99
- you want to use in the directory ~ /lib/emacs/haskell-mode/, add the
100
- following command to your init file (~ /.emacs):
100
+ - Assuming you have placed the basic mode (` haskell-mode.el ` ) and the other modules
101
+ you want to use in the directory ~ /lib/emacs/haskell-mode/, you need generate the
102
+ autoloads file (` haskell-site-file.el ` ) by either
103
+
104
+ - Invoking ` make all ` or ` make haskell-site-file.el ` , or
105
+
106
+ - From inside Emacs, ` M-x update-directory-autoloads ` and answering the question for
107
+ the folder with ` ~/lib/emacs/haskell-mode/ ` and the question for the output-file with
108
+ ` ~/lib/emacs/haskell-mode/haskell-site-file.el `
109
+
110
+ and then adding the following command to your init file (` ~/.emacs ` or ` ~/.emacs.d/init.el ` ):
101
111
102
112
``` lisp
103
113
(load "~/lib/emacs/haskell-mode/haskell-site-file")
104
114
```
105
115
106
- This only loads the bare-bones haskell-mode. To make it useful, you
116
+ However, this only loads the bare-bones haskell-mode. To make it useful, you
107
117
need additional modules; you can use the haskell `customize-group`
108
118
to edit the Haskell mode hook or, if you prefer manual setup, try
109
119
adding the following lines according to which modules you want to use:
0 commit comments